Hello community, here is the log from the commit of package re2c for openSUSE:Factory checked in at 2019-08-16 15:33:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/re2c (Old) and /work/SRC/openSUSE:Factory/.re2c.new.22127 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "re2c" Fri Aug 16 15:33:12 2019 rev:36 rq:723338 version:1.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/re2c/re2c.changes 2019-03-14 14:52:22.599787827 +0100 +++ /work/SRC/openSUSE:Factory/.re2c.new.22127/re2c.changes 2019-08-16 15:33:14.953915620 +0200 @@ -1,0 +2,8 @@ +Wed Aug 14 15:37:39 UTC 2019 - Martin Pluskal <mplus...@suse.com> + +- Update to version 1.2.1: + * Lots of changes, see provided CHANGELOG +- Drop no longer needed re2c-nogenerationdatedefault.patch +- Enable profile guided optimization during build + +------------------------------------------------------------------- Old: ---- re2c-1.1.1.tar.gz re2c-nogenerationdatedefault.patch New: ---- re2c-1.2.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ re2c.spec ++++++ --- /var/tmp/diff_new_pack.oMfAQJ/_old 2019-08-16 15:33:16.941915042 +0200 +++ /var/tmp/diff_new_pack.oMfAQJ/_new 2019-08-16 15:33:16.973915033 +0200 @@ -17,14 +17,13 @@ Name: re2c -Version: 1.1.1 +Version: 1.2.1 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/ -Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.gz -Patch0: re2c-nogenerationdatedefault.patch +Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.xz BuildRequires: bison BuildRequires: gcc-c++ @@ -36,11 +35,19 @@ terms of size and speed. %prep -%autosetup -p1 +%autosetup %build %configure -make %{?_smp_mflags} V=1 +%if 0%{?do_profiling} + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1 + # do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408) + make CFLAGS="%{optflags} %{cflags_profile_generate}" check + make %{?_smp_mflags} clean + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1 +%else + make %{?_smp_mflags} CFLAGS="%{optflags}" +%endif %install %make_install @@ -49,11 +56,13 @@ make check %{?_smp_mflags} %files -%license README -%doc doc/*.ps doc/sample.bib +%license README.md %doc CHANGELOG %doc examples/ %{_bindir}/re2c %{_mandir}/man1/re2c.1%{?ext_man} +%dir %{_datadir}/re2c +%dir %{_datadir}/re2c/stdlib +%{_datadir}/re2c/stdlib/unicode_categories.re %changelog