[RFC] Alteration RPM build process for individual subproject RPMs
Shawn Wells
shawn at redhat.com
Mon Jan 21 22:46:46 UTC 2013
Currently we have a single RPM (scap-security-guide.rpm), however being
there are two subprojects within the SSG, I think it makes sense to have
individual RPMs for each component.
The patch was to big for the mailing list (because of file renaming), so
I've posted it here:
http://people.redhat.com/swells/0001-RFC-Alteration-RPM-build-process-for-individual-subp.patch
The patch:
- Alters the RPM naming scheme to "ssg-{component}," e.g.:
* ssg-eap5-0.1.0.el6.noarch.rpm && ssg-eap5-0.1.0.el6.src.rpm
* ssg-rhel6-0.1-9.el6.noarch.rpm && ssg-rhel6-0.1-9.el6.src.rpm
- Provides subproject specific Makefiles in the top directory, e.g.
Makefile.eap5 and Makefile.rhel6. This will allow each project to
have their own build processes.
$ make -f Makefile.eap5 rpm
$ make -f Makefile.rhel6 all
More information about the scap-security-guide
mailing list