Sign RPM builds.

Changed the packaging scripts to use GPG signing.

Change-Id: I380a43f090bc8fb4f30adf5b6879f02b0c0aeb68
This commit is contained in:
Douglas Mendizabal
2013-11-19 16:46:52 -06:00
parent dd55dcc599
commit bdde8f4271
2 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
#!/usr/bin/expect
spawn "./rpmbuild/build_rpm.sh"
expect "Enter pass phrase: "
send "\n"
interact

View File

@@ -9,5 +9,5 @@ echo "Building RPM version $BUILD_VERSION"
cp "dist/barbican-$BUILD_VERSION.tar.gz" rpmbuild/SOURCES
sed -e s/BUILD_VERSION/$BUILD_VERSION/g -i rpmbuild/SPECS/barbican.spec
rpmbuild -ba rpmbuild/SPECS/barbican.spec
rpmbuild -ba --sign rpmbuild/SPECS/barbican.spec
popd