]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pam_ldap/pam_ldap.nm
pam_ldap: Move to /usr.
[people/ms/ipfire-3.x.git] / pam_ldap / pam_ldap.nm
index 05a88ab1493441beedd5358a9610a72a1d0277b0..9d9154b2e7528463749053f55d6a13a63ac81624 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = pam_ldap
 version    = 186
-release    = 2
+release    = 3
 
 groups     = System/Base
 url        = http://www.padl.com/OSS/pam_ldap.html
@@ -33,9 +33,6 @@ build
        end
 
        configure_options += \
-               --sysconfdir=/etc \
-               --libdir=/%{lib} \
-               --mandir=/usr/share/man \
                --with-ldap-conf-file=/etc/pam_ldap.conf \
                --with-ldap-secret-file=/etc/pam_ldap.secret
 
@@ -64,7 +61,7 @@ build
 
        install
                # Create directory layout
-               mkdir -pv %{BUILDROOT}/{etc,%{lib}/security,%{libdir}}
+               mkdir -pv %{BUILDROOT}/{etc,%{libdir}/security}
 
                # Prevent to install an ldap.conf
                touch %{BUILDROOT}/etc/ldap.conf
@@ -82,6 +79,10 @@ end
 
 packages
        package %{name}
+               conflicts
+                       filesystem < 002
+               end
+       end
 
        package %{name}-debuginfo
                template DEBUGINFO