From b7b07858a82ee4148975265cc3c988ecf59f51084221c0f8aaa885d284e689d4 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Tue, 23 Sep 2014 16:52:48 +0000
Subject: [PATCH] Drop gpg-offline

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_mount?expand=0&rev=51
---
 pam_mount.changes |  6 ++++++
 pam_mount.spec    | 16 ++++++----------
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/pam_mount.changes b/pam_mount.changes
index 7504040..6a397f8 100644
--- a/pam_mount.changes
+++ b/pam_mount.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Tue Sep 23 16:51:52 UTC 2014 - jengelh@inai.de
+
+- Drop gpg-offline build-time requirement; this is now handled by
+  the local source validator
+
 -------------------------------------------------------------------
 Tue Aug 27 10:23:17 UTC 2013 - jengelh@inai.de
 
diff --git a/pam_mount.spec b/pam_mount.spec
index 08067f0..6a97301 100644
--- a/pam_mount.spec
+++ b/pam_mount.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package pam_mount
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,9 +36,6 @@ Patch1:         pam_mount-0.47-enable-logout-kill.dif
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
-%if 0%{?suse_version} >= 1230
-BuildRequires:  gpg-offline
-%endif
 BuildRequires:  libtool
 # LOOP64 support:
 BuildRequires:  linux-glibc-devel >= 2.6
@@ -55,16 +52,16 @@ BuildRequires:  pkgconfig(libpcre) >= 7
 BuildRequires:  pkgconfig(libxml-2.0) >= 2.6
 BuildRequires:  pkgconfig(mount) >= 2.20
 
-Requires(post):	coreutils, perl-XML-Writer, perl-XML-Parser
+Requires(post):	coreutils
+Requires(post): perl-XML-Writer
+Requires(post): perl-XML-Parser
 # -EBUSY bugs fixed (libdevmapper):
 Requires:       device-mapper >= 1.02.48
 # for mount(8) and mount.cifs:
-Requires:       util-linux
-Recommends:     cifs-mount
 Requires:       fd0ssh
 Requires:       ofl
-# for fd0ssh and ofl:
-Suggests:       hxtools >= 20090116
+Requires:       util-linux
+Recommends:     cifs-mount
 
 %description
 This module is aimed at environments with central file servers that a
@@ -101,7 +98,6 @@ setup. It supports pam_mount style plain EHD2/OpenSSL images and LUKS
 and transparent use of the OS's crypto layer.
 
 %prep
-%{?gpg_verify: %gpg_verify %{S:9}}
 %setup -q
 %patch -P 1 -p1