SHA256
1
0
forked from pool/re2c

- Update to version 1.0.2:

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=24
This commit is contained in:
Martin Pluskal
2017-09-04 12:07:19 +00:00
committed by Git OBS Bridge
parent bc874b1b9c
commit 838a17fc0e
5 changed files with 54 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package re2c
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@@ -17,7 +17,7 @@
Name: re2c
Version: 0.16
Version: 1.0.2
Release: 0
Summary: Tool for generating C-based recognizers from regular expressions
License: SUSE-Public-Domain
@@ -27,7 +27,6 @@ Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{
Patch0: re2c-nogenerationdatedefault.patch
BuildRequires: bison
BuildRequires: gcc-c++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
re2c is a tool for writing fast and flexible lexers. Unlike other such
@@ -48,14 +47,13 @@ make %{?_smp_mflags} V=1
make check %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%make_install
%files
%defattr(-,root,root,-)
%{_bindir}/re2c
%{_mandir}/man1/re2c.1*
%doc doc/*.ps doc/sample.bib
%doc README CHANGELOG
%doc examples/
%{_bindir}/re2c
%{_mandir}/man1/re2c.1%{ext_man}
%changelog