SPECS: reiser4progs.spec - put devel stuff into %{_libdir}.

pluto pluto at pld-linux.org
Thu Oct 19 22:26:19 CEST 2006


Author: pluto                        Date: Thu Oct 19 20:26:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- put devel stuff into %{_libdir}.

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

---- Diffs:

================================================================
Index: SPECS/reiser4progs.spec
diff -u SPECS/reiser4progs.spec:1.25 SPECS/reiser4progs.spec:1.26
--- SPECS/reiser4progs.spec:1.25	Mon Jul 17 12:42:23 2006
+++ SPECS/reiser4progs.spec	Thu Oct 19 22:26:14 2006
@@ -105,10 +105,19 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+for f in `ls $RPM_BUILD_ROOT/%{_lib}/*.*a`; do
+	mv $f $RPM_BUILD_ROOT%{_libdir}
+done
+for f in libreiser4 libreiser4-minimal librepair; do
+	lib=$(cd $RPM_BUILD_ROOT/%{_lib}; echo $f-1.0.so.*.*.*)
+	ln -sf /%{_lib}/$lib $RPM_BUILD_ROOT%{_libdir}/$f.so
+done
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -125,14 +134,14 @@
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) /%{_lib}/lib*.so
-/%{_lib}/lib*.la
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
 %{_includedir}/*
 %{_aclocaldir}/*.m4
 
 %files static
 %defattr(644,root,root,755)
-/%{_lib}/lib*.a
+%{_libdir}/lib*.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -140,6 +149,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2006/10/19 20:26:14  pluto
+- put devel stuff into %{_libdir}.
+
 Revision 1.25  2006/07/17 10:42:23  glen
 - undo adapter breakage
 
================================================================

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



More information about the pld-cvs-commit mailing list