From bd1bd4e4aca91edaa576279c862d39bbf0a0ed3270990beb74bdef3b96b8f841 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 11 Aug 2011 08:16:46 +0000 Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/pam_mount revision 50.0 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_mount?expand=0&rev=d834a0ac077aa2d2d64a684c2021ef49 --- pam_mount.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pam_mount.spec b/pam_mount.spec index f4e3034..e604871 100644 --- a/pam_mount.spec +++ b/pam_mount.spec @@ -16,6 +16,7 @@ # + Name: pam_mount BuildRequires: perl-XML-Parser perl-XML-Writer BuildRequires: libtool pam-devel >= 0.99 pkg-config >= 0.19 @@ -36,14 +37,14 @@ License: LGPLv2.1+ Group: System/Libraries Source: %name-%version.tar.xz Source9: %name-%version.tar.xz.asc -BuildRequires: man, xz +BuildRequires: man xz Source1: convert_pam_mount_conf.pl Source2: convert_keyhash.pl Source3: mount.crypt Source5: baselibs.conf Patch1: pam_mount-0.47-enable-logout-kill.dif -Patch2: eb20a26-utab-explain.diff -Patch3: 2f8daad-call-umount-crypt-directly.diff +Patch2: eb20a26-utab-explain.diff +Patch3: 2f8daad-call-umount-crypt-directly.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://pam-mount.sf.net/ Requires(post): coreutils, perl-XML-Writer, perl-XML-Parser From 22de1b4f0643778f027defd46fd785894158c7c8fec9d6ed86a56f686d8e196a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 30 Aug 2011 05:46:39 +0000 Subject: [PATCH 2/2] fix "error: incorrect format: missing { after %" on %post OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_mount?expand=0&rev=32 --- pam_mount.changes | 5 +++++ pam_mount.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pam_mount.changes b/pam_mount.changes index 810842a..7afd15a 100644 --- a/pam_mount.changes +++ b/pam_mount.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 30 05:45:50 UTC 2011 - jengelh@medozas.de + +- Fix "error: incorrect format: missing { after %" on run of %post + ------------------------------------------------------------------- Wed Aug 10 11:00:29 UTC 2011 - jengelh@medozas.de diff --git a/pam_mount.spec b/pam_mount.spec index e604871..a11c944 100644 --- a/pam_mount.spec +++ b/pam_mount.spec @@ -98,7 +98,7 @@ then fi if [ "$1" -gt 1 ] then - for v in `rpm -q --queryformat "%%VERSION " %name`; do + for v in `rpm -q --queryformat "%%{VERSION} " %name`; do if echo "$v" | grep -E "^0\." - ; then %_docdir/%name/examples/convert_keyhash.pl \ -i etc/security/pam_mount.conf.xml