[X2Go-Commits] buildscripts.git - master (branch) updated: ba3a2f2d37f1b7e6273181b03de43adeba157411

X2Go dev team git-admin at x2go.org
Sat Nov 30 02:02:25 CET 2013


The branch, master has been updated
       via  ba3a2f2d37f1b7e6273181b03de43adeba157411 (commit)
      from  913815ee0feb071c059235e8ae24d57ab4b8175f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ba3a2f2d37f1b7e6273181b03de43adeba157411
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Nov 30 02:01:52 2013 +0100

    run rpmsign in an unattended way

-----------------------------------------------------------------------

Summary of changes:
 bin/build-rpm-package  |    4 ++--
 bin/rpmsign-unattended |    6 ++++++
 2 files changed, 8 insertions(+), 2 deletions(-)
 create mode 100644 bin/rpmsign-unattended

The diff of changes is:
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 at x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/x86_64/*.rpm
+					rpmsign-unattended -D "%_gpg_name debian at 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 at x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/i386/*.rpm
+					rpmsign-unattended -D "%_gpg_name debian at x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/i386/*.rpm
 				fi
 			done
 		}
diff --git a/bin/rpmsign-unattended b/bin/rpmsign-unattended
new file mode 100644
index 0000000..62da087
--- /dev/null
+++ b/bin/rpmsign-unattended
@@ -0,0 +1,6 @@
+#!/usr/bin/expect -f
+  
+spawn rpmsign {*}$argv
+expect -exact "Enter pass phrase: "
+send -- "\r"
+expect eof


hooks/post-receive
-- 
buildscripts.git (X2Go packaging scripts)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "buildscripts.git" (X2Go packaging scripts).




More information about the x2go-commits mailing list