]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
pam_ldap: Make package work on x86_64.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 7 Jan 2012 15:01:44 +0000 (16:01 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 7 Jan 2012 15:01:44 +0000 (16:01 +0100)
pam_ldap/pam_ldap.nm

index fce21971c92dfda729859e8caf74d898f9a508de..05a88ab1493441beedd5358a9610a72a1d0277b0 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = pam_ldap
 version    = 186
-release    = 1
+release    = 2
 
 groups     = System/Base
 url        = http://www.padl.com/OSS/pam_ldap.html
@@ -34,7 +34,7 @@ build
 
        configure_options += \
                --sysconfdir=/etc \
-               --libdir=/lib \
+               --libdir=/%{lib} \
                --mandir=/usr/share/man \
                --with-ldap-conf-file=/etc/pam_ldap.conf \
                --with-ldap-secret-file=/etc/pam_ldap.secret
@@ -64,7 +64,7 @@ build
 
        install
                # Create directory layout
-               mkdir -pv %{BUILDROOT}/{etc,/lib/security,/usr/lib}
+               mkdir -pv %{BUILDROOT}/{etc,%{lib}/security,%{libdir}}
 
                # Prevent to install an ldap.conf
                touch %{BUILDROOT}/etc/ldap.conf