SPECS: file.spec - move libmagic to /{_lib}.
arekm
arekm at pld-linux.org
Sat Sep 3 20:02:32 CEST 2005
Author: arekm Date: Sat Sep 3 18:02:32 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- move libmagic to /{_lib}.
---- Files affected:
SPECS:
file.spec (1.109 -> 1.110)
---- Diffs:
================================================================
Index: SPECS/file.spec
diff -u SPECS/file.spec:1.109 SPECS/file.spec:1.110
--- SPECS/file.spec:1.109 Sat Sep 3 18:28:16 2005
+++ SPECS/file.spec Sat Sep 3 20:02:27 2005
@@ -274,10 +274,15 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_lib}
%{__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.*.*) \
+ $RPM_BUILD_ROOT%{_libdir}/libmagic.so
+
%if %{with python}
cd python
python setup.py install \
@@ -325,7 +330,7 @@
%files -n libmagic
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) /%{_lib}/lib*.so.*.*
%files -n libmagic-devel
%defattr(644,root,root,755)
@@ -352,6 +357,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.110 2005/09/03 18:02:27 arekm
+- move libmagic to /{_lib}.
+
Revision 1.109 2005/09/03 16:28:16 arekm
- rel 2; the lib could use stdin for data but then it closed it while it should not do that (didn't open so do not close)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/file.spec?r1=1.109&r2=1.110&f=u
More information about the pld-cvs-commit
mailing list