I am building a RPM on RHEL.After following https://fedoraproject.org/wiki/How_to_create_an_RPM_package, I put my front.tar.gz in /rpmbuild/SOURCES, and make the spec file like this:Name: frontVersion:        1.1.0Release:        1%{?dist}Summary:        The web2py webserverGroup:          Applications/InternetLicense:        GNUURL:            https://xxxSource0:        https://xxxBuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXX)#BuildRequires:Requires:       python2.6, python2.7, apache%description%prep%autosetup -n %{name}%build%configure%installrm -rf %{buildroot}install -d -m 755 %{buildroot}/var/www/cp -r . &{buildroot}/var/www/front/%cleanrm -rf %{buildroot}%files%defattr(-,root,root,-)%doc%changelogThen, I do rpmbuild -ba front.specin the /SPECS, I can see many file are copied to the /BUILDROOT/front.1.10-1.e17.x86_64/ but after that, the building process seems finished with no RPM file generated in the /RPMS directory. There was no error or warning. Seems like the bin stage is never executed.Does anyone know what could be the problem?
Building RPM results in nothing generated in RPMS directory
linux;rhel;buildroot;rpmbuild