summaryrefslogtreecommitdiff
path: root/bin/build-rpm-package
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-30 01:50:12 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-30 01:50:12 +0100
commit913815ee0feb071c059235e8ae24d57ab4b8175f (patch)
tree51711e6a0e1e68aa4230ce694673f8159f2cd3ab /bin/build-rpm-package
parent3523e5db95a3a45e2143026ce47492b3108316f4 (diff)
downloadbuildscripts-913815ee0feb071c059235e8ae24d57ab4b8175f.tar.gz
buildscripts-913815ee0feb071c059235e8ae24d57ab4b8175f.tar.bz2
buildscripts-913815ee0feb071c059235e8ae24d57ab4b8175f.zip
package signing
Diffstat (limited to 'bin/build-rpm-package')
-rwxr-xr-xbin/build-rpm-package6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index d40d849..9dc2c5b 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -201,7 +201,7 @@ build_packages() {
# modify changelog for this build
- ### TODO: add changelog entry for this automatic build
+ ### TODO: add changelog entry for this automatic build
mkdir -p $PKGDIST/$l_DIST/$l_CODENAME/{x86_64,i386}
@@ -216,11 +216,11 @@ build_packages() {
if [ "x$SKIP_ARCH" != "xx86_64" ] || [ "$IS_NOARCH" = "yes" ]; then
mock -r ${l_DIST}-${l_CODENAME}-x86_64 --result $PKGDIST/$l_DIST/$l_CODENAME/x86_64 $PKGDIST/rpmbuild/SRPMS/$PROJECT-$UPSTREAM_VERSION-$PKG_SRCRELEASE.$IS_RELEASE.git$DATE.$GITREV.$COMPONENT.src.rpm
- rpmsign --key-id=$GPG_KEY --addsign $PKGDIST/$l_DIST/$l_CODENAME/x86_64/*.rpm
+ rpmsign -D "%_gpg_name debian@x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/x86_64/*.rpm
fi
if [ "x$SKIP_ARCH" != "xi386" ] && [ "$IS_NOARCH" != "yes" ]; then
mock -r ${l_DIST}-${l_CODENAME}-i386 --result $PKGDIST/$l_DIST/$l_CODENAME/i386 $PKGDIST/rpmbuild/SRPMS/$PROJECT-$UPSTREAM_VERSION-$PKG_SRCRELEASE.$IS_RELEASE.git$DATE.$GITREV.$COMPONENT.src.rpm
- rpmsign --key-id=$GPG_KEY --addsign $PKGDIST/$l_DIST/$l_CODENAME/i386/*.rpm
+ rpmsign -D "%_gpg_name debian@x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/i386/*.rpm
fi
done
}