From e480792ce0e221e6a6adedd950e100957ecf88b97f14d75f7f16788230a91b2b Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 15 Mar 2018 10:11:50 +0000 Subject: [PATCH] - Modernise spec file with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=28 --- re2c.changes | 5 +++++ re2c.spec | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/re2c.changes b/re2c.changes index a07c945..5544718 100644 --- a/re2c.changes +++ b/re2c.changes @@ -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 diff --git a/re2c.spec b/re2c.spec index 1a9c662..d7a7464 100644 --- a/re2c.spec +++ b/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