summaryrefslogtreecommitdiff
path: root/packaging/flex.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/flex.spec')
-rw-r--r--packaging/flex.spec21
1 files changed, 7 insertions, 14 deletions
diff --git a/packaging/flex.spec b/packaging/flex.spec
index 7c33f85..3b0edfb 100644
--- a/packaging/flex.spec
+++ b/packaging/flex.spec
@@ -1,14 +1,12 @@
%define keepstatic 1
Name: flex
-Version: 2.5.37
+Version: 2.6.4
Release: 0
License: BSD-3-Clause
Summary: Fast Lexical Analyzer Generator
Url: http://flex.sourceforge.net/
Group: Development/Languages/C and C++
Source: %{name}-%{version}.tar.bz2
-Source1: lex-wrapper.sh
-Source3: baselibs.conf
Source1001: flex.manifest
BuildRequires: automake
BuildRequires: makeinfo
@@ -26,26 +24,21 @@ patterns in text.
cp %{SOURCE1001} .
%build
-autoreconf -fi
-%configure --disable-nls
-make %{?_smp_mflags}
+%reconfigure --disable-nls --disable-shared
+%{__make} %{?_smp_mflags}
%check
-%if !0%{?qemu_user_space_build:1}
-make check
-%endif
+%{__make} %{?_smp_mflags} check
%install
%make_install
-install %{SOURCE1} %{buildroot}/%{_bindir}/lex
%remove_docs
%files
%manifest %{name}.manifest
%license COPYING
%defattr(-,root,root)
-/usr/bin/flex
-/usr/bin/flex++
-/usr/bin/lex
-/usr/include/FlexLexer.h
+%{_bindir}/flex
+%{_bindir}/flex++
+%{_includedir}/FlexLexer.h
%{_libdir}/libfl.a