diff --git a/flex.changes b/flex.changes index 7e8f45f..2e73dd0 100644 --- a/flex.changes +++ b/flex.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de + +- Apply packaging guidelines (remove redundant/obsolete + tags/sections from specfile, etc.) + ------------------------------------------------------------------- Sun Dec 13 01:32:42 CET 2009 - jengelh@medozas.de diff --git a/flex.spec b/flex.spec index 63ac306..249ef84 100644 --- a/flex.spec +++ b/flex.spec @@ -15,9 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: flex BuildRequires: bison gcc-c++ help2man Url: http://flex.sourceforge.net/ @@ -25,7 +22,6 @@ License: BSD3c(or similar) Group: Development/Languages/C and C++ Requires: m4 PreReq: %install_info_prereq -AutoReqProv: on # bug437293 %ifarch ppc64 Obsoletes: flex-64bit @@ -49,14 +45,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build FLEX is a tool for generating scanners: programs that recognize lexical patterns in text. - - -Authors: --------- - Vern Paxson - Will Estes - John Millaway - %prep %setup -q %patch1 @@ -71,20 +59,18 @@ cp %{S:2} . %build autoreconf -fi %configure -make %{?jobs:-j%jobs} +make %{?_smp_mflags} + +%check make check %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT install %{S:1} $RPM_BUILD_ROOT/%{_bindir}/lex ln -s flex $RPM_BUILD_ROOT/%{_bindir}/flex++ ln -s flex.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/lex.1.gz %find_lang %{name} -%clean -rm -rf $RPM_BUILD_ROOT - %files -f %{name}.lang %defattr(-,root,root) /usr/bin/flex