SPECS: lzma.spec - upgraded to 4.999.5 snap, - added /etc/env.d/LZMA_OPT (w...

gotar gotar at pld-linux.org
Wed Oct 1 13:53:35 CEST 2008


Author: gotar                        Date: Wed Oct  1 11:53:35 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- upgraded to 4.999.5 snap,
- added /etc/env.d/LZMA_OPT (without %env_update as it's commented out
  inside and %config(noreplace,missingok) so nothing can change)

---- Files affected:
SPECS:
   lzma.spec (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: SPECS/lzma.spec
diff -u SPECS/lzma.spec:1.44 SPECS/lzma.spec:1.45
--- SPECS/lzma.spec:1.44	Tue Jul 29 20:39:10 2008
+++ SPECS/lzma.spec	Wed Oct  1 13:53:29 2008
@@ -7,13 +7,13 @@
 Summary:	LZMA Encoder/Decoder
 Summary(pl.UTF-8):	Koder/Dekoder LZMA
 Name:		lzma
-Version:	4.999.3
-Release:	0.%{snap}.3
+Version:	4.999.5
+Release:	0.%{snap}.1
 Epoch:		1
 License:	LGPL v2.1+, helper scripts on GPL v2+
 Group:		Applications/Archiving
 Source0:	http://tukaani.org/lzma/%{name}-%{version}%{snap}.tar.gz
-# Source0-md5:	23b0d73bda022964a9dfc7787c5fb918
+# Source0-md5:	db736e080858a7c34357960254dda280
 URL:		http://tukaani.org/lzma/
 BuildRequires:	rpmbuild(macros) >= 1.402
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -101,7 +101,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/%{_lib}
+install -d $RPM_BUILD_ROOT/{etc/env.d,%{_lib}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -109,6 +109,8 @@
 mv -f $RPM_BUILD_ROOT%{_libdir}/liblzma.so.* $RPM_BUILD_ROOT/%{_lib}
 ln -sf /%{_lib}/liblzma.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/liblzma.so
 
+echo '#LZMA_OPT="--threads=2"' > $RPM_BUILD_ROOT/etc/env.d/LZMA_OPT
+
 %find_lang %{name}
 
 %clean
@@ -119,6 +121,7 @@
 
 %files
 %defattr(644,root,root,755)
+%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/LZMA_OPT
 %attr(755,root,root) %{_bindir}/*lz*
 %{_mandir}/man1/lz*.1*
 
@@ -148,6 +151,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.45  2008/10/01 11:53:29  gotar
+- upgraded to 4.999.5 snap,
+- added /etc/env.d/LZMA_OPT (without %env_update as it's commented out
+  inside and %config(noreplace,missingok) so nothing can change)
+
 Revision 1.44  2008/07/29 18:39:10  arekm
 - fix symlink; rel .3
 
================================================================

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



More information about the pld-cvs-commit mailing list