Changes

From SME Server
Jump to navigationJump to search
113 bytes added ,  11:56, 20 February 2016
no edit summary
Line 100: Line 100:     
  %_signature gpg
 
  %_signature gpg
  %_gpg_path /root/.gnupg
+
  %_gpg_path /home/youruser/.gnupg
 
  %_gpg_name Foo
 
  %_gpg_name Foo
 
  %_gpgbin /usr/bin/gpg  
 
  %_gpgbin /usr/bin/gpg  
   −
* Now, you're ready to sign your custom RPM package
+
* Now, you're ready to sign your custom RPM package (with el7 you must now install rpm-sign)
    
  root@sme8rpm]# rpmbuild -ba --sign smeserver-roundcube.spec
 
  root@sme8rpm]# rpmbuild -ba --sign smeserver-roundcube.spec
 
or
 
or
 
  root@sme8rpm]# rpm --addsign smeserver-roundcube-0.9-15.rpm
 
  root@sme8rpm]# rpm --addsign smeserver-roundcube-0.9-15.rpm
 +
or
 +
root@sme8rpm]# rpm --resign smeserver-roundcube-0.9-15.rpm
    
to verify if all is ok  
 
to verify if all is ok  

Navigation menu