[pam_url] fix build on all 64-bit arches

Dan Horák sharkcz at fedoraproject.org
Thu Dec 6 09:33:38 UTC 2012


commit 1f3bb026d80effaf504d55e97db027a1f7ea0be3
Author: Dan Horák <dan at danny.cz>
Date:   Thu Dec 6 10:33:34 2012 +0100

    fix build on all 64-bit arches

 pam_url.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/pam_url.spec b/pam_url.spec
index 1b20635..016f149 100644
--- a/pam_url.spec
+++ b/pam_url.spec
@@ -1,7 +1,7 @@
 Summary:        PAM module to authenticate with HTTP servers
 Name:           pam_url
 Version:        0.3.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Epoch:          1
 License:        GPLv2
 Group:          System Environment/Base
@@ -18,10 +18,10 @@ such as totpcgi.
 %setup -q
 
 %build
-CFLAGS="%{optflags} -std=c99" make %{?_smp_mflags} all
+CFLAGS="%{optflags} -std=c99" make %{?_smp_mflags} pamlib=%{_lib}/security all
 
 %install
-make DESTDIR=%{buildroot} install
+make DESTDIR=%{buildroot} pamlib=%{_lib}/security install
 
 %files
 %defattr(-,root,root,-)
@@ -31,6 +31,9 @@ make DESTDIR=%{buildroot} install
 
 
 %changelog
+* Thu Dec 06 2012 Dan Horák <dan[at]danny.cz> - 0.3.2-2
+- fix build on all 64-bit arches
+
 * Tue Dec 04 2012 Konstantin Ryabitsev <icon at fedoraproject.org> - 0.3.2-1
 - Upstream 0.3.2 with fixes for correct pam stacking.
 


More information about the scm-commits mailing list