SPECS: file.spec - ghost soname symlink

qboosh qboosh at pld-linux.org
Thu Jan 3 12:55:03 CET 2008


Author: qboosh                       Date: Thu Jan  3 11:55:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- ghost soname symlink

---- Files affected:
SPECS:
   file.spec (1.138 -> 1.139) 

---- Diffs:

================================================================
Index: SPECS/file.spec
diff -u SPECS/file.spec:1.138 SPECS/file.spec:1.139
--- SPECS/file.spec:1.138	Mon Dec 31 09:53:29 2007
+++ SPECS/file.spec	Thu Jan  3 12:54:57 2008
@@ -277,8 +277,8 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT%{_libdir}/libmagic.so.*.* $RPM_BUILD_ROOT/%{_lib}
-ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libmagic.so.*.*) \
+mv $RPM_BUILD_ROOT%{_libdir}/libmagic.so.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libmagic.so.*.*.*) \
         $RPM_BUILD_ROOT%{_libdir}/libmagic.so
 
 %if %{with python}
@@ -332,13 +332,14 @@
 %files -n libmagic
 %defattr(644,root,root,755)
 %attr(755,root,root) /%{_lib}/libmagic.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libmagic.so.1
 
 %files -n libmagic-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libmagic.so
 %{_libdir}/libmagic.la
 %{_includedir}/magic.h
-%{_mandir}/man3/*
+%{_mandir}/man3/libmagic.3*
 
 %if %{with static_libs}
 %files -n libmagic-static
@@ -349,7 +350,7 @@
 %if %{with python}
 %files -n python-magic
 %defattr(644,root,root,755)
-%attr(755,root,root) %{py_sitedir}/*.so
+%attr(755,root,root) %{py_sitedir}/magic.so
 %{py_sitedir}/Magic_file_extensions-*.egg-info
 %endif
 
@@ -359,6 +360,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.139  2008-01-03 11:54:57  qboosh
+- ghost soname symlink
+
 Revision 1.138  2007-12-31 08:53:29  glen
 - rel 2 (1 for ac)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/file.spec?r1=1.138&r2=1.139&f=u



More information about the pld-cvs-commit mailing list