rpms/flex/devel flex.spec,1.48,1.49 flex-2.5.33-pic.patch,1.3,NONE

Štěpán Kasal (kasal) fedora-extras-commits at redhat.com
Mon Jan 14 10:27:11 UTC 2008


Author: kasal

Update of /cvs/extras/rpms/flex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29064

Modified Files:
	flex.spec 
Removed Files:
	flex-2.5.33-pic.patch 
Log Message:
- Insert the "-fPIC" on configure command-line.
- Drop the -fPIC patch.


Index: flex.spec
===================================================================
RCS file: /cvs/extras/rpms/flex/devel/flex.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- flex.spec	8 Jan 2008 15:16:43 -0000	1.48
+++ flex.spec	14 Jan 2008 10:26:35 -0000	1.49
@@ -1,7 +1,7 @@
 Summary: A tool for creating scanners (text pattern recognizers)
 Name: flex
 Version: 2.5.33
-Release: 13%{?dist}
+Release: 14%{?dist}
 License: BSD
 Group: Development/Tools
 URL: http://flex.sourceforge.net/
@@ -10,7 +10,6 @@
 Patch2: flex-2.5.33-opts.patch
 Patch3: flex-2.5.33-includedir.patch
 Patch4: flex-2.5.33-test-linedir-r.patch
-Patch5: flex-2.5.33-pic.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: m4
 BuildRequires: gettext bison m4 gawk autoconf automake gettext-devel
@@ -38,12 +37,9 @@
 %patch3 -p1
 %patch4 -p1
 ./autogen.sh
-# The -fPIC patch has to be applied after the build system is
-# re-generated.
-%patch5 -p1
 
 %build
-%configure --disable-dependency-tracking
+%configure --disable-dependency-tracking CFLAGS="-fPIC $RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
 %install
@@ -87,6 +83,10 @@
 %{_infodir}/flex.info*
 
 %changelog
+* Thu Jan 10 2008 Stepan Kasal <skasal at redhat.com> - 2.5.33-14
+- Insert the "-fPIC" on configure command-line.
+- Drop the -fPIC patch.
+
 * Tue Jan  8 2008 Petr Machata <pmachata at redhat.com> - 2.5.33-13
 - Patch with -fPIC only after the autogen.sh is run.
 


--- flex-2.5.33-pic.patch DELETED ---




More information about the fedora-extras-commits mailing list