move rpmsign to the end
This commit is contained in:
parent
6c65c774f4
commit
06f145d6a9
|
@ -173,7 +173,7 @@ mkdir LAMPro/RPM
|
||||||
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES
|
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES
|
||||||
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
||||||
cp lam-packaging/RPM/lam.nginx.conf ~/rpmbuild/SOURCES
|
cp lam-packaging/RPM/lam.nginx.conf ~/rpmbuild/SOURCES
|
||||||
rpmbuild --sign --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-fedora.spec
|
rpmbuild --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-fedora.spec
|
||||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||||
|
|
||||||
# Fedora RPM for LAM Pro
|
# Fedora RPM for LAM Pro
|
||||||
|
@ -181,7 +181,7 @@ cd LAMPro
|
||||||
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES/ldap-account-manager-$VERSION.tar.bz2
|
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES/ldap-account-manager-$VERSION.tar.bz2
|
||||||
cp ../lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
cp ../lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
||||||
cp ../lam-packaging/RPM/lam.nginx.conf ~/rpmbuild/SOURCES
|
cp ../lam-packaging/RPM/lam.nginx.conf ~/rpmbuild/SOURCES
|
||||||
rpmbuild --sign --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-fedora.spec
|
rpmbuild --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-fedora.spec
|
||||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
@ -189,7 +189,7 @@ cd ..
|
||||||
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES
|
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES
|
||||||
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
||||||
cp lam-packaging/RPM/lam.nginx.conf ~/rpmbuild/SOURCES
|
cp lam-packaging/RPM/lam.nginx.conf ~/rpmbuild/SOURCES
|
||||||
rpmbuild --sign --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-suse.spec
|
rpmbuild --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-suse.spec
|
||||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||||
|
|
||||||
# Suse RPM for LAM Pro
|
# Suse RPM for LAM Pro
|
||||||
|
@ -197,10 +197,12 @@ cd LAMPro
|
||||||
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES/ldap-account-manager-$VERSION.tar.bz2
|
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES/ldap-account-manager-$VERSION.tar.bz2
|
||||||
cp ../lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
cp ../lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
||||||
cp ../lam-packaging/RPM/lam.nginx.conf ~/rpmbuild/SOURCES
|
cp ../lam-packaging/RPM/lam.nginx.conf ~/rpmbuild/SOURCES
|
||||||
rpmbuild --sign --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-suse.spec
|
rpmbuild --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-suse.spec
|
||||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
rpmsign --addsign RPM/*.rpm LAMPro/RPM/*.rpm
|
||||||
|
|
||||||
# generate checksum files
|
# generate checksum files
|
||||||
sha256sum *.tar.bz2 >> checksums.txt
|
sha256sum *.tar.bz2 >> checksums.txt
|
||||||
cd RPM
|
cd RPM
|
||||||
|
|
Loading…
Reference in New Issue