From e70091bb8d4317ce02b5c3f41d281bc1cf14c5f3bfe0f50a6e2a86f652b96632 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 15 Dec 2011 21:01:56 +0000 Subject: [PATCH] SPDX format; fdupes OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_mount?expand=0&rev=40 --- pam_mount.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pam_mount.spec b/pam_mount.spec index 27f39f4..cc1b0ab 100644 --- a/pam_mount.spec +++ b/pam_mount.spec @@ -22,7 +22,7 @@ Name: pam_mount Summary: A PAM Module that can Mount Volumes for a User Session Version: 2.13 Release: 0 -License: LGPLv2.1+ +License: LGPL-2.1+ Group: System/Libraries URL: http://pam-mount.sf.net/ @@ -39,7 +39,7 @@ BuildRequires: perl-XML-Parser perl-XML-Writer BuildRequires: libtool pam-devel >= 0.99 # LOOP64 support: BuildRequires: linux-glibc-devel >= 2.6 -BuildRequires: man xz +BuildRequires: fdupes man xz BuildRequires: pkgconfig >= 0.19 pkgconfig(libHX) >= 3.12.1 BuildRequires: pkgconfig(libcrypto) >= 0.9.7 BuildRequires: pkgconfig(libcryptsetup) >= 1.1.2 pkgconfig(mount) >= 2.20 @@ -114,6 +114,7 @@ mkdir -p %buildroot%_sbindir/ mv %buildroot/sbin/mount.crypt %buildroot%_sbindir/ ln -s %_sbindir/mount.crypt %buildroot%_sbindir/umount.crypt install -m755 %SOURCE3 %buildroot/sbin/ +%fdupes %buildroot %post if [ -e etc/security/pam_mount.conf ]