SPECS: pam-pam_mount.spec - build fixes (symlinks creation, --disa...

alucard alucard at pld-linux.org
Sat Jan 13 16:48:09 CET 2007


Author: alucard                      Date: Sat Jan 13 15:48:09 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build fixes (symlinks creation, --disable-static instead of removing *.a)

---- Files affected:
SPECS:
   pam-pam_mount.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/pam-pam_mount.spec
diff -u SPECS/pam-pam_mount.spec:1.25 SPECS/pam-pam_mount.spec:1.26
--- SPECS/pam-pam_mount.spec:1.25	Tue Jan  9 21:15:40 2007
+++ SPECS/pam-pam_mount.spec	Sat Jan 13 16:48:04 2007
@@ -4,7 +4,7 @@
 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
@@ -76,7 +76,8 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	--disable-static
 %{__make}
 
 %install
@@ -88,9 +89,9 @@
 	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}
@@ -103,9 +104,11 @@
 %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*
@@ -122,6 +125,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2007/01/13 15:48:04  alucard
+- build fixes (symlinks creation, --disable-static instead of removing *.a)
+
 Revision 1.25  2007/01/09 20:15:40  glen
 - reverted, mount.crypt points to nowhere
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pam-pam_mount.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list