SPECS: p7zip.spec - removed outdated opt patch, pass CC/CXX

qboosh qboosh at pld-linux.org
Tue Jun 13 06:49:57 CEST 2006


Author: qboosh                       Date: Tue Jun 13 04:49:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- removed outdated opt patch, pass CC/CXX

---- Files affected:
SPECS:
   p7zip.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: SPECS/p7zip.spec
diff -u SPECS/p7zip.spec:1.29 SPECS/p7zip.spec:1.30
--- SPECS/p7zip.spec:1.29	Thu Jun  8 17:47:04 2006
+++ SPECS/p7zip.spec	Tue Jun 13 06:49:52 2006
@@ -8,7 +8,6 @@
 Group:		Applications/Archiving
 Source0:	http://dl.sourceforge.net/p7zip/%{name}_%{version}_src_all.tar.bz2
 # Source0-md5:	a5475fdfdde39dd3f8dae20efc479cb9
-Patch0:		%{name}-opt.patch
 URL:		http://p7zip.sourceforge.net/
 BuildRequires:	libstdc++-devel >= 5:4.0
 BuildRequires:	sed >= 4.0
@@ -56,9 +55,9 @@
 
 %prep
 %setup -q -n %{name}_%{version}
-#%patch0 -p1
 
 cp -f makefile.linux_x86_ppc_alpha__gcc_4.X makefile.machine
+%{__sed} -i -e 's/ -s / /' makefile.machine
 
 %{__sed} -i "s at Formats@%{_libdir}/%{name}/&@" \
 	7zip/UI/Common/ArchiverInfo.cpp
@@ -67,6 +66,8 @@
 
 %build
 %{__make} all2 \
+	CC="%{__cc} \$(ALLFLAGS)" \
+	CXX="%{__cxx} \$(ALLFLAGS)" \
 	OPTFLAGS="%{rpmcflags}"
 
 %install
@@ -105,6 +106,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2006/06/13 04:49:52  qboosh
+- removed outdated opt patch, pass CC/CXX
+
 Revision 1.29  2006/06/08 15:47:04  wolf
 - 4.42
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/p7zip.spec?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list