Author: arekm                        Date: Tue Jul 29 18:36:27 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel .2; move libs to /libXX/ as it will be used by rpm binary

---- Files affected:
SPECS:
   lzma.spec (1.42 -> 1.43) 

---- Diffs:

================================================================
Index: SPECS/lzma.spec
diff -u SPECS/lzma.spec:1.42 SPECS/lzma.spec:1.43
--- SPECS/lzma.spec:1.42        Sat Jul  5 17:01:01 2008
+++ SPECS/lzma.spec     Tue Jul 29 20:36:21 2008
@@ -1,6 +1,4 @@
 # $Revision$, $Date$
-# TODO:
-# - wait for alpha7 which will fix headers installation issue
 #
 # Conditional build:
 %bcond_without tests   # don't perform make check
@@ -10,7 +8,7 @@
 Summary(pl.UTF-8):     Koder/Dekoder LZMA
 Name:          lzma
 Version:       4.999.3
-Release:       0.%{snap}.1
+Release:       0.%{snap}.2
 Epoch:         1
 License:       LGPL v2.1+, helper scripts on GPL v2+
 Group:         Applications/Archiving
@@ -103,10 +101,14 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_lib}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+mv -f $RPM_BUILD_ROOT%{_libdir}/liblzma.so.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/liblzma.0.0.0 $RPM_BUILD_ROOT%{_libdir}/liblzma.so
+
 %find_lang %{name}
 
 %clean
@@ -124,8 +126,8 @@
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING README THANKS TODO
 %doc doc/{bugs,faq,file-format,history,lzma-intro}.txt
-%attr(755,root,root) %{_libdir}/liblzma.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/liblzma.so.0
+%attr(755,root,root) /%{_lib}/liblzma.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/liblzma.so.0
 
 %files devel
 %defattr(644,root,root,755)
@@ -146,6 +148,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2008/07/29 18:36:21  arekm
+- rel .2; move libs to /libXX/ as it will be used by rpm binary
+
 Revision 1.42  2008/07/05 15:01:01  arekm
 - up to 4.999.3; make check belongs to build not install
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lzma.spec?r1=1.42&r2=1.43&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to