Accepting request 587463 from devel:tools:compiler
- Modernise spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/587463 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=34
This commit is contained in:
commit
ba4ce8b7b6
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 15 10:11:22 UTC 2018 - mpluskal@suse.com
|
||||
|
||||
- Modernise spec file with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 9 15:02:34 UTC 2017 - aavindraa@gmail.com
|
||||
|
||||
|
18
re2c.spec
18
re2c.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package re2c
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -22,7 +22,7 @@ Release: 0
|
||||
Summary: Tool for generating C-based recognizers from regular expressions
|
||||
License: SUSE-Public-Domain
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://re2c.org/
|
||||
URL: http://re2c.org/
|
||||
Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: re2c-nogenerationdatedefault.patch
|
||||
BuildRequires: bison
|
||||
@ -36,24 +36,24 @@ applications. The generated scanners approach hand-crafted ones in
|
||||
terms of size and speed.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%check
|
||||
make check %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%check
|
||||
make check %{?_smp_mflags}
|
||||
|
||||
%files
|
||||
%license README
|
||||
%doc doc/*.ps doc/sample.bib
|
||||
%doc README CHANGELOG
|
||||
%doc CHANGELOG
|
||||
%doc examples/
|
||||
%{_bindir}/re2c
|
||||
%{_mandir}/man1/re2c.1%{ext_man}
|
||||
%{_mandir}/man1/re2c.1%{?ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user