This shows you the differences between two versions of the page.
|
building_and_signing_rpm_packages [2011/09/09 12:11] root |
building_and_signing_rpm_packages [2011/09/26 13:24] (current) root |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| # yum install rpm-build | # yum install rpm-build | ||
| + | | ||
| + | Build the needed directories. | ||
| + | |||
| + | # mkdir -p /usr/src/redhat/{BUILD,RPMS,SOURCES,SPECS,SRPMS} | ||
| ===== Create SPEC file ===== | ===== Create SPEC file ===== | ||
| Line 52: | Line 56: | ||
| %defattr(-,root,root)\\ | %defattr(-,root,root)\\ | ||
| /etc/cron.daily/hw_check\\ | /etc/cron.daily/hw_check\\ | ||
| - | |||
| - | %_signature gpg\\ | ||
| - | %_gpg_name <gpg_name>\\ | ||
| %changelog\\ | %changelog\\ | ||