SPECS: audit.spec - ghost soname symlinks

qboosh qboosh at pld-linux.org
Thu Jan 3 14:32:23 CET 2008


Author: qboosh                       Date: Thu Jan  3 13:32:22 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- ghost soname symlinks

---- Files affected:
SPECS:
   audit.spec (1.51 -> 1.52) 

---- Diffs:

================================================================
Index: SPECS/audit.spec
diff -u SPECS/audit.spec:1.51 SPECS/audit.spec:1.52
--- SPECS/audit.spec:1.51	Fri Dec 28 03:04:13 2007
+++ SPECS/audit.spec	Thu Jan  3 14:32:17 2008
@@ -184,10 +184,10 @@
 
 install -d $RPM_BUILD_ROOT/%{_lib}
 mv -f $RPM_BUILD_ROOT%{_libdir}/libaudit.so.* $RPM_BUILD_ROOT/%{_lib}
-ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libaudit.so.*.*.*) \
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libaudit.so.*.*.*) \
 	$RPM_BUILD_ROOT%{_libdir}/libaudit.so
 mv -f $RPM_BUILD_ROOT%{_libdir}/libauparse.so.* $RPM_BUILD_ROOT/%{_lib}
-ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libauparse.so.*.*.*) \
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libauparse.so.*.*.*) \
 	$RPM_BUILD_ROOT%{_libdir}/libauparse.so
 
 # We manually install this since Makefile doesn't
@@ -255,7 +255,9 @@
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) /%{_lib}/libaudit.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libaudit.so.0
 %attr(755,root,root) /%{_lib}/libauparse.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libauparse.so.0
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libaudit.conf
 
 %files libs-devel
@@ -300,6 +302,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52  2008-01-03 13:32:17  qboosh
+- ghost soname symlinks
+
 Revision 1.51  2007-12-28 02:04:13  zbyniu
 - up to 1.6.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/audit.spec?r1=1.51&r2=1.52&f=u



More information about the pld-cvs-commit mailing list