Actions
Architecture #2451
openSuggestion : integrate source in src.rpm
Pull Request:
Effort required:
Name check:
Fix check:
Regression:
Description
Hi,
in .spec file, it would be better to use a tarball instead of a directory for SOURCE.
Here an example tested with rudder-webapp to include sources in src.rpm :
in .spec file, it would be better to use a tarball instead of a directory for SOURCE.
Here an example tested with rudder-webapp to include sources in src.rpm :
- I run rpmbuild with options : --define "_topdir $(pwd)" --define 'real_version 2.4.0.alpha7' -ba SPECS/rudder-webapp.spec
- Create a tarball as the name -{real_version}.tar.gz (ie rudder-webapp-2.4.0.alpha7.tar.gz) ; maybe you can create the tarball in Makefile
- in .spec file, delete all reference to %{_sourcedir}/rudder-sources/
See the patch in attached file or .src.rpm
Files
Actions