summaryrefslogtreecommitdiff
path: root/bin/build-rpm-package
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-30 02:01:52 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-30 02:01:52 +0100
commitba3a2f2d37f1b7e6273181b03de43adeba157411 (patch)
tree053264b65a367a9298c9cabee28f89796cfe2047 /bin/build-rpm-package
parent913815ee0feb071c059235e8ae24d57ab4b8175f (diff)
downloadbuildscripts-ba3a2f2d37f1b7e6273181b03de43adeba157411.tar.gz
buildscripts-ba3a2f2d37f1b7e6273181b03de43adeba157411.tar.bz2
buildscripts-ba3a2f2d37f1b7e6273181b03de43adeba157411.zip
run rpmsign in an unattended way
Diffstat (limited to 'bin/build-rpm-package')
-rwxr-xr-xbin/build-rpm-package4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 9dc2c5b..1a4659f 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -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 -D "%_gpg_name debian@x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/x86_64/*.rpm
+ rpmsign-unattended -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 -D "%_gpg_name debian@x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/i386/*.rpm
+ rpmsign-unattended -D "%_gpg_name debian@x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/i386/*.rpm
fi
done
}