packages: file/file.spec - fix md5, older gcc fix

glen glen at pld-linux.org
Tue Jan 18 20:26:29 CET 2011


Author: glen                         Date: Tue Jan 18 19:26:29 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix md5, older gcc fix

---- Files affected:
packages/file:
   file.spec (1.174 -> 1.175) 

---- Diffs:

================================================================
Index: packages/file/file.spec
diff -u packages/file/file.spec:1.174 packages/file/file.spec:1.175
--- packages/file/file.spec:1.174	Tue Jan 18 19:56:41 2011
+++ packages/file/file.spec	Tue Jan 18 20:26:24 2011
@@ -33,8 +33,7 @@
 Release:	1
 License:	distributable
 Group:		Applications/File
-#Source0:	ftp://ftp.astron.com/pub/file/%{name}-%{version}.tar.gz
-Source0:	ftp://ftp.astron.com/pri/%{name}-%{version}.tar.gz
+Source0:	ftp://ftp.astron.com/pub/file/%{name}-%{version}.tar.gz
 # Source0-md5:	0b429063710457be2bd17a18389cb018
 Source1:	http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5:	c157a183b64156f8baafaefd9cbf04c1
@@ -53,7 +52,7 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libtool
-BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRequires:	rpmbuild(macros) >= 1.453
 %if %{with python}
 BuildRequires:	python-devel
 BuildRequires:	python-modules
@@ -258,6 +257,10 @@
 %patch9 -p1
 %patch10 -p1
 
+%if "%{cc_release}" < "3.4"
+%{__sed} -i -e 's,-Wextra,,' configure.ac
+%endif
+
 rm -f magic/Magdir/{*.orig,*~}
 
 %build
@@ -393,6 +396,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.175  2011/01/18 19:26:24  glen
+- fix md5, older gcc fix
+
 Revision 1.174  2011/01/18 18:56:41  glen
 - up to 5.05, python bindings are now pure-python
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/file/file.spec?r1=1.174&r2=1.175&f=u



More information about the pld-cvs-commit mailing list