[pam_ccreds] Fix FTBFS following mass rebuild

mbooth mbooth at fedoraproject.org
Wed Feb 20 10:31:45 UTC 2013


commit c71d379e5420e7f5f8f24c510b9d52dbfd732ed0
Author: Mat Booth <fedora at matbooth.co.uk>
Date:   Wed Feb 20 10:31:34 2013 +0000

    Fix FTBFS following mass rebuild

 pam_ccreds.spec |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/pam_ccreds.spec b/pam_ccreds.spec
index 8e5a47d..81eaf0d 100644
--- a/pam_ccreds.spec
+++ b/pam_ccreds.spec
@@ -1,7 +1,7 @@
 Summary: Pam module to cache login credentials
 Name: pam_ccreds
 Version: 10
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: GPL+
 Group: System Environment/Base
 URL: http://www.padl.com/OSS/pam_ccreds.html
@@ -10,9 +10,7 @@ Patch1: pam_ccreds-3-inst-no-root.patch
 Patch2: pam_ccreds-7-no-filename.patch
 Patch3: pam_ccreds-7-open.patch
 
-BuildRequires: automake db4-devel libgcrypt-devel pam-devel
-Requires: db4 pam
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildRequires: automake libdb-devel libgcrypt-devel pam-devel
 
 %description
 The pam_ccreds module provides a mechanism for caching
@@ -36,17 +34,12 @@ autoreconf
 make
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
 install -m 755 cc_test $RPM_BUILD_ROOT%{_sbindir}
 install -m 755 cc_dump $RPM_BUILD_ROOT%{_sbindir}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS README
 /%{_lib}/security/pam_ccreds.so
 %attr(4755,root,root) %{_sbindir}/ccreds_chkpwd
@@ -54,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_sbindir}/cc_dump
 
 %changelog
+* Wed Feb 20 2013 Mat Booth <fedora at matbooth.co.uk> - 10-7
+- Fix FTBFS following mass rebuild.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 10-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list