SPECS: lzma.spec - 4.42

wolf wolf at pld-linux.org
Sat May 27 20:46:33 CEST 2006


Author: wolf                         Date: Sat May 27 18:46:33 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 4.42

---- Files affected:
SPECS:
   lzma.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/lzma.spec
diff -u SPECS/lzma.spec:1.12 SPECS/lzma.spec:1.13
--- SPECS/lzma.spec:1.12	Sun Dec 11 11:35:28 2005
+++ SPECS/lzma.spec	Sat May 27 20:46:27 2006
@@ -2,14 +2,15 @@
 Summary:	LZMA Encoder/Decoder
 Summary(pl):	Koder/Dekoder LZMA
 Name:		lzma
-Version:	4.30
-Release:	2
+Version:	4.42
+Release:	1
 License:	CPL/LGPL
 Group:		Applications/Archiving
-Source0:	http://dl.sourceforge.net/sevenzip/%{name}430.tar.bz2
-# Source0-md5:	d29dd544ef1face2002ad9ce32c93501
+Source0:	http://puzzle.dl.sourceforge.net/sevenzip/%{name}442.tar.bz2
+# Source0-md5:	5274c2bbdac69834be636ad2eaf5bab5
 Patch0:		%{name}-quiet.patch
 Patch1:		%{name}427_zlib.patch
+Patch2:		%{name}-type-redefinition.patch
 URL:		http://www.7-zip.org/sdk.html
 BuildRequires:	gcc >= 5:3.4.0
 BuildRequires:	libstdc++-devel
@@ -64,6 +65,7 @@
 %setup -q -c
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 cd C/7zip/Compress/LZMA_Alone
@@ -71,17 +73,21 @@
 	CXX="%{__cxx}" \
 	CXX_C="%{__cc}" \
 	CFLAGS="%{rpmcflags} -fprofile-generate -c -I ../../.." \
-	LDFLAGS="%{rpmldflags}" \
+	LDFLAGS="%{rpmldflags} -fprofile-generate" \
 	LIB="-lm -lgcov"
 
 cat ../LZMA/* > test1
 cat lzma *.o > test2
-./lzma e test1 test3
-./lzma e test2 test4
-./lzma d test3 test5
-./lzma d test4 test6
-cmp test1 test5
-cmp test2 test6
+tar cf test3 ../../../../*
+./lzma e test1 test4
+./lzma e test2 test5
+./lzma e test3 test6
+./lzma d test4 test7
+./lzma d test5 test8
+./lzma d test6 test9
+cmp test1 test7
+cmp test2 test8
+cmp test3 test9
 
 %{__make} -f makefile.gcc clean
 
@@ -121,6 +127,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2006/05/27 18:46:27  wolf
+- 4.42
+
 Revision 1.12  2005/12/11 10:35:28  pluto
 - sdk licensed also on CPL terms, release 2.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lzma.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list