]> git.pld-linux.org Git - packages/pam-pam_mount.git/commitdiff
- build fixes (symlinks creation, --disable-static instead of removing *.a)
authoralucard <alucard@pld-linux.org>
Sat, 13 Jan 2007 15:48:04 +0000 (15:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pam-pam_mount.spec -> 1.26

pam-pam_mount.spec

index bb55033729339bb6fc99598f6bddd9e2fb9c97f2..0a0ed862193fd7239909462acb4c9b69297ad567 100644 (file)
@@ -3,7 +3,7 @@ Summary:        A PAM module that can mount remote volumes for a user session
 Summary(pl):   Modu³ PAM, pozwalaj±cy montowaæ zdalne zasoby na czas sesji u¿ytkownika
 Name:          pam-%{modulename}
 Version:       0.18
-Release:       1
+Release:       2
 Epoch:         0
 License:       LGPL
 Group:         Base
@@ -75,7 +75,8 @@ loopbacku, ale mo
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       --disable-static
 %{__make}
 
 %install
@@ -87,9 +88,9 @@ install -d $RPM_BUILD_ROOT{/etc/security,/sbin}
        DESTDIR=$RPM_BUILD_ROOT
 
 install config/pam_mount.conf $RPM_BUILD_ROOT/etc/security
-ln -sf %{_bindir}/mount.crypt $RPM_BUILD_ROOT/sbin
+ln -sf /sbin/mount.crypt $RPM_BUILD_ROOT/%{_bindir}/mount.crypt
 
-rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_mount.{la,a}
+rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_mount.la
 
 # void code on non-OpenBSD, besides broken
 rm -f $RPM_BUILD_ROOT{%{_bindir}/mount_ehd,%{_mandir}/man8/mount_ehd.8}
@@ -102,9 +103,11 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS ChangeLog FAQ NEWS README TODO
 %attr(755,root,root) /%{_lib}/security/pam_mount.so
 %config(noreplace) %verify(not md5 mtime size) /etc/security/pam_mount.conf
+%attr(755,root,root) /sbin/mount.crypt
 %attr(755,root,root) /sbin/umount.crypt
 %attr(755,root,root) %{_bindir}/autoehd
 %attr(755,root,root) %{_bindir}/mkehd
+%attr(755,root,root) %{_bindir}/mount.crypt
 %attr(755,root,root) %{_bindir}/passwdehd
 %attr(755,root,root) %{_sbindir}/pmvarrun
 %{_mandir}/man1/mkehd.1*
This page took 0.062151 seconds and 4 git commands to generate.