User Tools

Site Tools


building_and_signing_rpm_packages

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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\\
building_and_signing_rpm_packages.1315570300.txt.gz ยท Last modified: 2011/09/09 12:11 by root