From 045503c1cd02531c7e5519834b32c56b2d2c24f61724e1d3bc886888b74eb5e4 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Mon, 19 Sep 2011 20:50:48 +0000 Subject: [PATCH] Accepting request 83643 from devel:tools:compiler - Apply packaging guidelines (remove redundant/obsolete tags/sections from specfile, etc.) - Put %check into its own section (forwarded request 83526 from jengelh) OBS-URL: https://build.opensuse.org/request/show/83643 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flex?expand=0&rev=16 --- flex.changes | 6 ++++++ flex.spec | 20 +++----------------- 2 files changed, 9 insertions(+), 17 deletions(-) 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