- Remove wrong use of @includedir@ in Makefile.in.
- Spec cleanups. - Related: #225758
This commit is contained in:
parent
2d25a59536
commit
6b16be6aba
12
flex-2.5.33-includedir.patch
Normal file
12
flex-2.5.33-includedir.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urp flex-2.5.33/Makefile.in flex-2.5.33-pm/Makefile.in
|
||||||
|
--- flex-2.5.33/Makefile.in 2007-05-30 10:57:18.000000000 +0200
|
||||||
|
+++ flex-2.5.33-pm/Makefile.in 2007-05-30 10:57:11.000000000 +0200
|
||||||
|
@@ -291,7 +291,7 @@ SUBDIRS = \
|
||||||
|
|
||||||
|
|
||||||
|
localedir = $(datadir)/locale
|
||||||
|
-AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I@includedir@ -I$(top_srcdir)/intl
|
||||||
|
+AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl
|
||||||
|
AM_CFLAGS = -fPIC
|
||||||
|
|
||||||
|
# Run GNU indent on sources. Don't run this unless all the sources compile cleanly.
|
13
flex.spec
13
flex.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A tool for creating scanners (text pattern recognizers)
|
Summary: A tool for creating scanners (text pattern recognizers)
|
||||||
Name: flex
|
Name: flex
|
||||||
Version: 2.5.33
|
Version: 2.5.33
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://flex.sourceforge.net/
|
URL: http://flex.sourceforge.net/
|
||||||
@ -9,9 +9,10 @@ Source: flex-%{version}.tar.bz2
|
|||||||
Patch0: flex-2.5.33-pic.patch
|
Patch0: flex-2.5.33-pic.patch
|
||||||
Patch1: flex-2.5.33-yy.patch
|
Patch1: flex-2.5.33-yy.patch
|
||||||
Patch2: flex-2.5.33-opts.patch
|
Patch2: flex-2.5.33-opts.patch
|
||||||
|
Patch3: flex-2.5.33-includedir.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires: m4
|
Requires: m4
|
||||||
BuildRequires: gettext info bison m4
|
BuildRequires: gettext bison m4
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
|
|
||||||
@ -34,10 +35,11 @@ application development.
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-dependency-tracking
|
%configure --disable-dependency-tracking
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -80,6 +82,11 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_infodir}/flex.info*
|
%{_infodir}/flex.info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 22 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-9
|
||||||
|
- Remove wrong use of @includedir@ in Makefile.in.
|
||||||
|
- Spec cleanups.
|
||||||
|
- Related: #225758
|
||||||
|
|
||||||
* Fri Jun 22 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-8
|
* Fri Jun 22 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-8
|
||||||
- Don't emit yy-prefixed variables in C++ mode. Thanks Srinivas Aji.
|
- Don't emit yy-prefixed variables in C++ mode. Thanks Srinivas Aji.
|
||||||
- Related: #242742
|
- Related: #242742
|
||||||
|
Loading…
Reference in New Issue
Block a user