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
This commit is contained in:
parent
90547900a4
commit
045503c1cd
@ -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
|
Sun Dec 13 01:32:42 CET 2009 - jengelh@medozas.de
|
||||||
|
|
||||||
|
20
flex.spec
20
flex.spec
@ -15,9 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: flex
|
Name: flex
|
||||||
BuildRequires: bison gcc-c++ help2man
|
BuildRequires: bison gcc-c++ help2man
|
||||||
Url: http://flex.sourceforge.net/
|
Url: http://flex.sourceforge.net/
|
||||||
@ -25,7 +22,6 @@ License: BSD3c(or similar)
|
|||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: m4
|
Requires: m4
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
AutoReqProv: on
|
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: flex-64bit
|
Obsoletes: flex-64bit
|
||||||
@ -49,14 +45,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
FLEX is a tool for generating scanners: programs that recognize lexical
|
FLEX is a tool for generating scanners: programs that recognize lexical
|
||||||
patterns in text.
|
patterns in text.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Vern Paxson <vern@ee.lbl.gov>
|
|
||||||
Will Estes <wlestes@uncg.edu>
|
|
||||||
John Millaway <millaway@acm.org>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1
|
%patch1
|
||||||
@ -71,20 +59,18 @@ cp %{S:2} .
|
|||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
%configure
|
%configure
|
||||||
make %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
install %{S:1} $RPM_BUILD_ROOT/%{_bindir}/lex
|
install %{S:1} $RPM_BUILD_ROOT/%{_bindir}/lex
|
||||||
ln -s flex $RPM_BUILD_ROOT/%{_bindir}/flex++
|
ln -s flex $RPM_BUILD_ROOT/%{_bindir}/flex++
|
||||||
ln -s flex.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/lex.1.gz
|
ln -s flex.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/lex.1.gz
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/bin/flex
|
/usr/bin/flex
|
||||||
|
Loading…
Reference in New Issue
Block a user