commit flex for openSUSE:Factory
Hello community, here is the log from the commit of package flex for openSUSE:Factory checked in at 2019-08-27 12:00:07 Comparing /work/SRC/openSUSE:Factory/flex (Old) and /work/SRC/openSUSE:Factory/.flex.new.7948 (New) Package is "flex" Tue Aug 27 12:00:07 2019 rev:34 rq:724214 version:2.6.4 Changes: --- /work/SRC/openSUSE:Factory/flex/flex.changes2017-09-20 17:04:42.812933988 +0200 +++ /work/SRC/openSUSE:Factory/.flex.new.7948/flex.changes 2019-08-27 12:00:08.999661260 +0200 @@ -1,0 +2,5 @@ +Wed Aug 14 14:37:36 UTC 2019 - Martin Pluskal + +- Enable profile guided optimization during build + +--- Other differences: -- ++ flex.spec ++ --- /var/tmp/diff_new_pack.aBKgwf/_old 2019-08-27 12:00:10.263661086 +0200 +++ /var/tmp/diff_new_pack.aBKgwf/_new 2019-08-27 12:00:10.271661085 +0200 @@ -1,7 +1,7 @@ # # spec file for package flex # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,12 +23,12 @@ Summary:Fast Lexical Analyzer Generator License:BSD-3-Clause Group: Development/Languages/C and C++ -Url:http://flex.sourceforge.net/ +URL:http://flex.sourceforge.net/ Source: https://github.com/westes/flex/releases/download/v%{version}/flex-%{version}.tar.gz Source1:lex-wrapper.sh Source2:README.SUSE Source3:baselibs.conf -Patch: use-extensions.patch +Patch0: use-extensions.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -39,7 +39,6 @@ Requires: m4 Requires(post): %{install_info_prereq} Requires(pre): %{install_info_prereq} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description FLEX is a tool for generating scanners: programs that recognize lexical @@ -68,18 +67,24 @@ %prep %setup -q -%patch -p1 +%patch0 -p1 %build autoreconf -fi %configure \ --docdir=%{_docdir}/%{name} -make %{?_smp_mflags} +%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 %check -%if !0%{?qemu_user_space_build:1} make %{?_smp_mflags} check -%endif %install %make_install @@ -100,25 +105,25 @@ %postun -n libfl%{somajor} -p /sbin/ldconfig %files -f %{name}.lang -%defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING NEWS ONEWS README.md THANKS +%license COPYING +%doc AUTHORS ChangeLog NEWS ONEWS README.md THANKS %{_bindir}/flex %{_bindir}/flex++ %{_bindir}/lex -%{_mandir}/man1/flex.1%{ext_man} -%{_mandir}/man1/lex.1%{ext_man} +%{_mandir}/man1/flex.1%{?ext_man} +%{_mandir}/man1/lex.1%{?ext_man} %{_infodir}/flex* %{_docdir}/%{name} %files -n libfl-devel -%defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING NEWS ONEWS README.md THANKS +%license COPYING +%doc AUTHORS ChangeLog NEWS ONEWS README.md THANKS %{_includedir}/FlexLexer.h %{_libdir}/libfl.so %files -n libfl%{somajor} -%defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING NEWS ONEWS README.md THANKS +%license COPYING +%doc AUTHORS ChangeLog NEWS ONEWS README.md THANKS %{_libdir}/libfl.so.%{somajor}* %changelog
commit flex for openSUSE:Factory
Hello community, here is the log from the commit of package flex for openSUSE:Factory checked in at 2017-09-20 17:04:40 Comparing /work/SRC/openSUSE:Factory/flex (Old) and /work/SRC/openSUSE:Factory/.flex.new (New) Package is "flex" Wed Sep 20 17:04:40 2017 rev:33 rq:523403 version:2.6.4 Changes: --- /work/SRC/openSUSE:Factory/flex/flex.changes2017-08-24 17:38:26.722324504 +0200 +++ /work/SRC/openSUSE:Factory/.flex.new/flex.changes 2017-09-20 17:04:42.812933988 +0200 @@ -1,0 +2,5 @@ +Mon Sep 11 19:12:56 UTC 2017 - jeng...@inai.de + +- Fix RPM categories. + +--- Other differences: -- ++ flex.spec ++ --- /var/tmp/diff_new_pack.nOeNfT/_old 2017-09-20 17:04:43.532832647 +0200 +++ /var/tmp/diff_new_pack.nOeNfT/_new 2017-09-20 17:04:43.536832084 +0200 @@ -58,7 +58,7 @@ %package -n libfl%{somajor} Summary:Libraries for flex -Group: Development/Languages/C and C++ +Group: System/Libraries %description -n libfl%{somajor} FLEX is a tool for generating scanners: programs that recognize lexical
commit flex for openSUSE:Factory
Hello community, here is the log from the commit of package flex for openSUSE:Factory checked in at 2017-08-24 17:38:23 Comparing /work/SRC/openSUSE:Factory/flex (Old) and /work/SRC/openSUSE:Factory/.flex.new (New) Package is "flex" Thu Aug 24 17:38:23 2017 rev:32 rq:513180 version:2.6.4 Changes: --- /work/SRC/openSUSE:Factory/flex/flex.changes2017-07-12 19:30:02.166903558 +0200 +++ /work/SRC/openSUSE:Factory/.flex.new/flex.changes 2017-08-24 17:38:26.722324504 +0200 @@ -1,0 +2,6 @@ +Mon Jul 31 12:12:19 UTC 2017 - sch...@suse.de + +- use-extensions.patch: add AC_USE_SYSTEM_EXTENSIONS to get missing + declaration + +--- New: use-extensions.patch Other differences: -- ++ flex.spec ++ --- /var/tmp/diff_new_pack.O1ChYn/_old 2017-08-24 17:38:27.654193309 +0200 +++ /var/tmp/diff_new_pack.O1ChYn/_new 2017-08-24 17:38:27.654193309 +0200 @@ -28,7 +28,12 @@ Source1:lex-wrapper.sh Source2:README.SUSE Source3:baselibs.conf +Patch: use-extensions.patch +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gcc-c++ +BuildRequires: help2man +BuildRequires: libtool BuildRequires: m4 Requires: libfl-devel = %{version} Requires: m4 @@ -63,8 +68,10 @@ %prep %setup -q +%patch -p1 %build +autoreconf -fi %configure \ --docdir=%{_docdir}/%{name} make %{?_smp_mflags} ++ use-extensions.patch ++ Index: flex-2.6.4/configure.ac === --- flex-2.6.4.orig/configure.ac +++ flex-2.6.4/configure.ac @@ -27,6 +27,7 @@ AC_INIT([the fast lexical analyser generator],[2.6.4],[flex-h...@lists.sourceforge.net],[flex]) AC_CONFIG_SRCDIR([src/scan.l]) AC_CONFIG_AUX_DIR([build-aux]) +AC_USE_SYSTEM_EXTENSIONS LT_INIT AM_INIT_AUTOMAKE([1.11.3 -Wno-portability foreign check-news std-options dist-lzip parallel-tests subdir-objects]) AC_CONFIG_HEADER([src/config.h])
commit flex for openSUSE:Factory
Hello community, here is the log from the commit of package flex for openSUSE:Factory checked in at 2017-07-12 19:29:59 Comparing /work/SRC/openSUSE:Factory/flex (Old) and /work/SRC/openSUSE:Factory/.flex.new (New) Package is "flex" Wed Jul 12 19:29:59 2017 rev:31 rq:507762 version:2.6.4 Changes: --- /work/SRC/openSUSE:Factory/flex/flex.changes2017-03-03 17:36:21.362476569 +0100 +++ /work/SRC/openSUSE:Factory/.flex.new/flex.changes 2017-07-12 19:30:02.166903558 +0200 @@ -1,0 +2,29 @@ +Mon Jul 3 10:08:31 UTC 2017 - mplus...@suse.com + +- Explicitly require m4 and library devel package +- Do not ship static library + +--- +Sun Jun 25 19:34:29 UTC 2017 - astie...@suse.com + +- flex 2.6.4: + * Some minor performance enhancements + * honor user defined yy_* macros again +- includes changes from 2.6.3: + * several bug fixes resolved problems introduced in recent flex +versions regarding processing of comments, literals and various +quoting scenarios. + * fix buffer overflow through long path (bsc#1026047) +- includes changes from 2.6.2: + * a segfalt involving yyrestart(NULL) has been fixed + * flex should now handle quoting when mixed with m4 processing +correctly + * flex handles `[[' and `]]' correctly + * flex no longer generates non-ANSI code + * more compilation warnings were squashed in generated scanners + * prevented a buffer overflow that could occur when input buffers + were the exact wrong size +- drop flex-2.6.1-fPIC.patch +- build the shared library and split libfl + +--- Old: flex-2.6.1-fPIC.patch flex-2.6.1.tar.xz New: flex-2.6.4.tar.gz Other differences: -- ++ flex.spec ++ --- /var/tmp/diff_new_pack.Rqwyjs/_old 2017-07-12 19:30:03.798673324 +0200 +++ /var/tmp/diff_new_pack.Rqwyjs/_new 2017-07-12 19:30:03.802672760 +0200 @@ -16,44 +16,57 @@ # +%define somajor 2 Name: flex -# -Version:2.6.1 +Version:2.6.4 Release:0 Summary:Fast Lexical Analyzer Generator License:BSD-3-Clause Group: Development/Languages/C and C++ Url:http://flex.sourceforge.net/ -Source: https://github.com/westes/flex/releases/download/v%{version}/flex-%{version}.tar.xz +Source: https://github.com/westes/flex/releases/download/v%{version}/flex-%{version}.tar.gz Source1:lex-wrapper.sh Source2:README.SUSE Source3:baselibs.conf -Patch1: flex-2.6.1-fPIC.patch -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: bison BuildRequires: gcc-c++ -BuildRequires: help2man -BuildRequires: libtool -BuildRequires: makeinfo +BuildRequires: m4 +Requires: libfl-devel = %{version} Requires: m4 -Requires(pre): %{install_info_prereq} Requires(post): %{install_info_prereq} +Requires(pre): %{install_info_prereq} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description FLEX is a tool for generating scanners: programs that recognize lexical patterns in text. +%package -n libfl-devel +Summary:Development files for flex +Group: Development/Languages/C and C++ +Requires: libfl%{somajor} = %{version} + +%description -n libfl-devel +FLEX is a tool for generating scanners: programs that recognize lexical +patterns in text. + +This package contains files required to build programs with flex libraries. + +%package -n libfl%{somajor} +Summary:Libraries for flex +Group: Development/Languages/C and C++ + +%description -n libfl%{somajor} +FLEX is a tool for generating scanners: programs that recognize lexical +patterns in text. + +This package contains libraries for using flex. + %prep %setup -q -%patch1 -p1 %build -autoreconf -fiv %configure \ - --docdir=%{_docdir}/%{name} \ - --disable-shared + --docdir=%{_docdir}/%{name} make %{?_smp_mflags} %check @@ -63,12 +76,11 @@ %install %make_install +find %{buildroot} -type f \( -name '*.a' -o -name '*.la' \) -delete -print install -D -p -m 0755 %{SOURCE1} %{buildroot}/%{_bindir}/lex install -D -p -m 0644 %{SOURCE2} %{buildroot}/%{_docdir}/flex/README.SUSE ln -s flex.1%{ext_man} %{buildroot}/%{_mandir}/man1/lex.1%{ext_man} -find %{buildroot} -type f -name "*.la" -delete -print - %find_lang %{name} %post @@ -77,16 +89,29 @@ %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} +%post -n libfl%{somajor} -p /sbin/ldconfig +%postun -n libfl%{somajor} -p /sbin/ldconfig + %files -f %{name}.lang %defattr(-,root,root) +%doc AUTHORS ChangeLog COPYING NEWS ONEWS README.md THANKS %{_bindir}/flex
commit flex for openSUSE:Factory
Hello community, here is the log from the commit of package flex for openSUSE:Factory checked in at 2017-03-03 17:36:20 Comparing /work/SRC/openSUSE:Factory/flex (Old) and /work/SRC/openSUSE:Factory/.flex.new (New) Package is "flex" Fri Mar 3 17:36:20 2017 rev:30 rq:455444 version:2.6.1 Changes: --- /work/SRC/openSUSE:Factory/flex/flex.changes2016-07-18 21:16:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.flex.new/flex.changes 2017-03-03 17:36:21.362476569 +0100 @@ -1,0 +2,5 @@ +Tue Feb 7 14:05:38 UTC 2017 - dims...@opensuse.org + +- Fix de-registration of the info files. + +--- Other differences: -- ++ flex.spec ++ --- /var/tmp/diff_new_pack.JKzVvM/_old 2017-03-03 17:36:22.034381628 +0100 +++ /var/tmp/diff_new_pack.JKzVvM/_new 2017-03-03 17:36:22.038381062 +0100 @@ -1,7 +1,7 @@ # # spec file for package flex # -# 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 @@ -75,7 +75,7 @@ %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %preun -%install_info_delete --info-dir=%{_infodir} %%{_infodir}/%{name}.info%{ext_info} +%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %files -f %{name}.lang %defattr(-,root,root)
commit flex for openSUSE:Factory
Hello community, here is the log from the commit of package flex for openSUSE:Factory checked in at 2016-07-18 21:16:47 Comparing /work/SRC/openSUSE:Factory/flex (Old) and /work/SRC/openSUSE:Factory/.flex.new (New) Package is "flex" Changes: --- /work/SRC/openSUSE:Factory/flex/flex.changes2016-05-12 09:32:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.flex.new/flex.changes 2016-07-18 21:16:49.0 +0200 @@ -1,0 +2,5 @@ +Thu Jul 14 09:00:23 UTC 2016 - mplus...@suse.com + +- Small spec file cleanup + +--- Other differences: -- ++ flex.spec ++ --- /var/tmp/diff_new_pack.WSX4ox/_old 2016-07-18 21:16:51.0 +0200 +++ /var/tmp/diff_new_pack.WSX4ox/_new 2016-07-18 21:16:51.0 +0200 @@ -29,6 +29,7 @@ Source2:README.SUSE Source3:baselibs.conf Patch1: flex-2.6.1-fPIC.patch +BuildRequires: autoconf BuildRequires: automake BuildRequires: bison BuildRequires: gcc-c++ @@ -36,7 +37,8 @@ BuildRequires: libtool BuildRequires: makeinfo Requires: m4 -PreReq: %{install_info_prereq} +Requires(pre): %{install_info_prereq} +Requires(post): %{install_info_prereq} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -48,7 +50,7 @@ %patch1 -p1 %build -autoreconf -fi +autoreconf -fiv %configure \ --docdir=%{_docdir}/%{name} \ --disable-shared @@ -60,32 +62,31 @@ %endif %install -make %{?_smp_mflags} DESTDIR=%{buildroot} install -install %{SOURCE1} %{buildroot}/%{_bindir}/lex -ln -s flex.1.gz %{buildroot}/%{_mandir}/man1/lex.1.gz -cp %{SOURCE2} %{buildroot}/%{_docdir}/%{name} +%make_install +install -D -p -m 0755 %{SOURCE1} %{buildroot}/%{_bindir}/lex +install -D -p -m 0644 %{SOURCE2} %{buildroot}/%{_docdir}/flex/README.SUSE +ln -s flex.1%{ext_man} %{buildroot}/%{_mandir}/man1/lex.1%{ext_man} -find %{buildroot} -name *.la -delete +find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} -%files -f %{name}.lang +%post +%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} +%preun +%install_info_delete --info-dir=%{_infodir} %%{_infodir}/%{name}.info%{ext_info} + +%files -f %{name}.lang %defattr(-,root,root) %{_bindir}/flex %{_bindir}/flex++ %{_bindir}/lex %{_includedir}/FlexLexer.h %{_libdir}/libfl.a -%{_mandir}/man1/flex.1.gz -%{_mandir}/man1/lex.1.gz +%{_mandir}/man1/flex.1%{ext_man} +%{_mandir}/man1/lex.1%{ext_man} %{_infodir}/flex* %{_docdir}/%{name} -%post -%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz - -%preun -%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz - %changelog
commit flex for openSUSE:Factory
Hello community, here is the log from the commit of package flex for openSUSE:Factory checked in at 2016-05-12 09:32:05 Comparing /work/SRC/openSUSE:Factory/flex (Old) and /work/SRC/openSUSE:Factory/.flex.new (New) Package is "flex" Changes: --- /work/SRC/openSUSE:Factory/flex/flex.changes2015-02-22 17:19:43.0 +0100 +++ /work/SRC/openSUSE:Factory/.flex.new/flex.changes 2016-05-12 09:32:07.0 +0200 @@ -1,0 +2,15 @@ +Tue Apr 26 09:26:03 UTC 2016 - idon...@suse.com + +- Update to version 2.6.1 + * A number of compiler warnings have been remedied. + * Line directives should now work as expected and be absent when +that is expected. + * Resolved github issues #53, #54, #55, #61. + * Resolved sf bugs #128, #129, #155, #160, #184, #187, #195. +- Refresh flex-2.5.34-fPIC.patch -> flex-2.6.1-fPIC.patch +- Drop upstream patches: config-guess-sub-update.patch, + flex-2.5.37-bison-2.6.1-1.patch, flex-compatible-with-bison3.patch, + flex-yyleng.patch +- Drop unneeded patch flex-2.5.37-notex.patch + +--- Old: config-guess-sub-update.patch flex-2.5.34-fPIC.patch flex-2.5.37-bison-2.6.1-1.patch flex-2.5.37-notex.patch flex-2.5.37.tar.bz2 flex-compatible-with-bison3.patch flex-yyleng.patch New: flex-2.6.1-fPIC.patch flex-2.6.1.tar.xz Other differences: -- ++ flex.spec ++ --- /var/tmp/diff_new_pack.CeX44G/_old 2016-05-12 09:32:08.0 +0200 +++ /var/tmp/diff_new_pack.CeX44G/_new 2016-05-12 09:32:08.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package flex # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,38 +17,26 @@ Name: flex -BuildRequires: automake -BuildRequires: bison -BuildRequires: gcc-c++ -BuildRequires: help2man -BuildRequires: makeinfo -Url:http://flex.sourceforge.net/ -Requires: m4 -PreReq: %install_info_prereq -# bug437293 -%ifarch ppc64 -Obsoletes: flex-64bit -%endif # -Version:2.5.37 +Version:2.6.1 Release:0 Summary:Fast Lexical Analyzer Generator License:BSD-3-Clause Group: Development/Languages/C and C++ -Source: http://prdownloads.sourceforge.net/flex/flex-%{version}.tar.bz2 +Url:http://flex.sourceforge.net/ +Source: https://github.com/westes/flex/releases/download/v%{version}/flex-%{version}.tar.xz Source1:lex-wrapper.sh Source2:README.SUSE Source3:baselibs.conf -Patch1: flex-2.5.34-fPIC.patch -# PATCH-FIX-OPENSUSE Remove tex dependency, info is enough for us, we don't need pdf - co...@suse.de -Patch2: flex-2.5.37-notex.patch -# PATCH-FIX-UPSTREAM fix tests for new bison -Patch3: http://www.linuxfromscratch.org/patches/lfs/7.2/flex-2.5.37-bison-2.6.1-1.patch -# PATCH-FIX-UPSTREAM flex-2.5.37-bison3.patch m...@suse.com - fix tests for bison3 -Patch4: flex-compatible-with-bison3.patch -Patch5: config-guess-sub-update.patch -# PATCH-FIX-UPSTREAM fix type of yyleng as mandated by POSIX (flex bug #187) -Patch6: flex-yyleng.patch +Patch1: flex-2.6.1-fPIC.patch +BuildRequires: automake +BuildRequires: bison +BuildRequires: gcc-c++ +BuildRequires: help2man +BuildRequires: libtool +BuildRequires: makeinfo +Requires: m4 +PreReq: %{install_info_prereq} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -57,46 +45,47 @@ %prep %setup -q -%patch1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -%patch6 -p1 +%patch1 -p1 %build autoreconf -fi -%configure --docdir=%{_docdir}/%{name} +%configure \ +--docdir=%{_docdir}/%{name} \ +--disable-shared make %{?_smp_mflags} %check %if !0%{?qemu_user_space_build:1} -make check +make %{?_smp_mflags} check %endif %install -make install DESTDIR=$RPM_BUILD_ROOT -install %{S:1} $RPM_BUILD_ROOT/%{_bindir}/lex -ln -s flex.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/lex.1.gz -cp %{S:2} $RPM_BUILD_ROOT/%{_docdir}/%{name} +make %{?_smp_mflags} DESTDIR=%{buildroot} install +install %{SOURCE1} %{buildroot}/%{_bindir}/lex +ln -s flex.1.gz %{buildroot}/%{_mandir}/man1/lex.1.gz +cp %{SOURCE2} %{buildroot}/%{_docdir}/%{name} + +find %{buildroot} -name *.la -delete + %find_lang %{name} %files -f %{name}.lang + %defattr(-,root,root) -/usr/bin/flex -/usr/bin/flex++ -/usr/bin/lex -/usr/include/FlexLexer.h +%{_bindir}/flex +%{_bindir}/flex++ +%{_bindir}/lex
commit flex for openSUSE:Factory
Hello community, here is the log from the commit of package flex for openSUSE:Factory checked in at 2015-02-22 17:19:41 Comparing /work/SRC/openSUSE:Factory/flex (Old) and /work/SRC/openSUSE:Factory/.flex.new (New) Package is flex Changes: --- /work/SRC/openSUSE:Factory/flex/flex.changes2015-01-08 23:01:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.flex.new/flex.changes 2015-02-22 17:19:43.0 +0100 @@ -1,0 +2,6 @@ +Sun Feb 15 17:45:41 UTC 2015 - sch...@linux-m68k.org + +- flex-yyleng.patch: fix type of yyleng to be int as mandated by POSIX. + Fixes perl-SystemPerl, for example. + +--- New: flex-yyleng.patch Other differences: -- ++ flex.spec ++ --- /var/tmp/diff_new_pack.dIfadB/_old 2015-02-22 17:19:44.0 +0100 +++ /var/tmp/diff_new_pack.dIfadB/_new 2015-02-22 17:19:44.0 +0100 @@ -47,6 +47,8 @@ # PATCH-FIX-UPSTREAM flex-2.5.37-bison3.patch m...@suse.com - fix tests for bison3 Patch4: flex-compatible-with-bison3.patch Patch5: config-guess-sub-update.patch +# PATCH-FIX-UPSTREAM fix type of yyleng as mandated by POSIX (flex bug #187) +Patch6: flex-yyleng.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -60,6 +62,7 @@ %patch3 -p1 %patch4 -p1 %patch5 +%patch6 -p1 %build autoreconf -fi ++ flex-yyleng.patch ++ Index: flex-2.5.37/gen.c === --- flex-2.5.37.orig/gen.c +++ flex-2.5.37/gen.c @@ -1516,11 +1516,11 @@ void make_tables () if (yymore_used !yytext_is_array) { indent_puts (YY_G(yytext_ptr) -= YY_G(yy_more_len); \\); indent_puts - (yyleng = (size_t) (yy_cp - YY_G(yytext_ptr)); \\); + (yyleng = (int) (yy_cp - YY_G(yytext_ptr)); \\); } else - indent_puts (yyleng = (size_t) (yy_cp - yy_bp); \\); + indent_puts (yyleng = (int) (yy_cp - yy_bp); \\); /* Now also deal with copying yytext_ptr to yytext if needed. */ skelout (); /* %% [3.0] - break point in skel */ Index: flex-2.5.37/scan.c === --- flex-2.5.37.orig/scan.c +++ flex-2.5.37/scan.c @@ -158,7 +158,7 @@ typedef struct yy_buffer_state *YY_BUFFE typedef size_t yy_size_t; #endif -extern yy_size_t yyleng; +extern int yyleng; extern FILE *yyin, *yyout; @@ -272,7 +272,7 @@ static YY_BUFFER_STATE * yy_buffer_stack /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ -yy_size_t yyleng; +int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; @@ -356,7 +356,7 @@ static void yy_fatal_error (yyconst char #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ (yytext_ptr) -= (yy_more_len); \ - yyleng = (size_t) (yy_cp - (yytext_ptr)); \ + yyleng = (int) (yy_cp - (yytext_ptr)); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; @@ -2036,7 +2036,7 @@ FILE *yyget_out (void ); void yyset_out (FILE * out_str ); -yy_size_t yyget_leng (void ); +int yyget_leng (void ); char *yyget_text (void ); @@ -4968,7 +4968,7 @@ FILE *yyget_out (void) /** Get the length of the current token. * */ -yy_size_t yyget_leng (void) +int yyget_leng (void) { return yyleng; } Index: flex-2.5.37/skel.c === --- flex-2.5.37.orig/skel.c +++ flex-2.5.37/skel.c @@ -536,7 +536,7 @@ const char *skel[] = { #endif, , %if-not-reentrant, - extern yy_size_t yyleng;, + extern int yyleng;, %endif, , %if-c-only, @@ -712,7 +712,7 @@ const char *skel[] = { /* yy_hold_char holds the character lost when yytext is formed. */, static char yy_hold_char;, static yy_size_t yy_n_chars;/* number of characters read into yy_ch_buf */, - yy_size_t yyleng;, + int yyleng;, , /* Points to current character in buffer. */, static char *yy_c_buf_p = (char *) 0;, @@ -875,7 +875,7 @@ const char *skel[] = { YY_BUFFER_STATE * yy_buffer_stack; /** Stack as an array. */, char yy_hold_char;, yy_size_t yy_n_chars;, - yy_size_t yyleng_r;, + int yyleng_r;, char *yy_c_buf_p;, int yy_init;, int yy_start;, @@ -1012,7 +1012,7 @@ const char *skel[] = { , m4_ifdef( [[M4_YY_NO_GET_LENG]],,, [[, - yy_size_t yyget_leng M4_YY_PARAMS( M4_YY_PROTO_ONLY_ARG );, + int
commit flex for openSUSE:Factory
Hello community, here is the log from the commit of package flex for openSUSE:Factory checked in at 2015-01-08 23:01:02 Comparing /work/SRC/openSUSE:Factory/flex (Old) and /work/SRC/openSUSE:Factory/.flex.new (New) Package is flex Changes: --- /work/SRC/openSUSE:Factory/flex/flex.changes2013-03-22 11:01:45.0 +0100 +++ /work/SRC/openSUSE:Factory/.flex.new/flex.changes 2015-01-08 23:01:04.0 +0100 @@ -1,0 +2,6 @@ +Mon Jan 5 11:35:08 UTC 2015 - m...@suse.com + +- Add flex-compatible-with-bison3.patch + * fix tests with bison3, see http://sourceforge.net/p/flex/flex/ci/c376be574e99b5f64a7dad71cfc7c0b1f71b747b/ + +--- New: flex-compatible-with-bison3.patch Other differences: -- ++ flex.spec ++ --- /var/tmp/diff_new_pack.NbZJP1/_old 2015-01-08 23:01:05.0 +0100 +++ /var/tmp/diff_new_pack.NbZJP1/_new 2015-01-08 23:01:05.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package flex # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -44,7 +44,9 @@ Patch2: flex-2.5.37-notex.patch # PATCH-FIX-UPSTREAM fix tests for new bison Patch3: http://www.linuxfromscratch.org/patches/lfs/7.2/flex-2.5.37-bison-2.6.1-1.patch -Patch4: config-guess-sub-update.patch +# PATCH-FIX-UPSTREAM flex-2.5.37-bison3.patch m...@suse.com - fix tests for bison3 +Patch4: flex-compatible-with-bison3.patch +Patch5: config-guess-sub-update.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -56,7 +58,8 @@ %patch1 %patch2 -p1 %patch3 -p1 -%patch4 +%patch4 -p1 +%patch5 %build autoreconf -fi ++ flex-compatible-with-bison3.patch ++ --- flex-2.5.37.orig/tests/test-bison-yylloc/parser.y +++ flex-2.5.37/tests/test-bison-yylloc/parser.y @@ -22,6 +22,7 @@ */ %parse-param { void* scanner } +%lex-param { void* scanner } /* How to compile: @@ -34,7 +35,6 @@ #include config.h #define YYERROR_VERBOSE 1 -#define YYLEX_PARAM scanner extern int testget_lineno(void*); @@ -52,7 +52,7 @@ int process_text(char* s) { %} -%pure_parser +%pure-parser %union { int lineno; --- flex-2.5.37.orig/tests/test-bison-yylval/parser.y +++ flex-2.5.37/tests/test-bison-yylval/parser.y @@ -26,6 +26,7 @@ bison --defines --output-file=parser.c --name-prefix=test parser.y */ %parse-param { void* scanner } +%lex-param { void* scanner } %{ #include stdio.h #include stdlib.h @@ -33,7 +34,6 @@ #include config.h #define YYERROR_VERBOSE 1 -#define YYLEX_PARAM scanner /* A dummy function. A check against seg-faults in yylval-str. */ @@ -49,7 +49,7 @@ int process_text(char* s) { %} -%pure_parser +%pure-parser %union { long unused; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit flex for openSUSE:Factory
Hello community, here is the log from the commit of package flex for openSUSE:Factory checked in at 2013-03-22 11:01:43 Comparing /work/SRC/openSUSE:Factory/flex (Old) and /work/SRC/openSUSE:Factory/.flex.new (New) Package is flex, Maintainer is mma...@suse.com Changes: --- /work/SRC/openSUSE:Factory/flex/flex.changes2012-10-18 21:18:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.flex.new/flex.changes 2013-03-22 11:01:45.0 +0100 @@ -1,0 +2,6 @@ +Mon Feb 18 16:51:32 UTC 2013 - sch...@suse.de + +- config-guess-sub-update.patch: + Update config.guess/sub for aarch64 + +--- New: config-guess-sub-update.patch Other differences: -- ++ flex.spec ++ --- /var/tmp/diff_new_pack.6eVnr6/_old 2013-03-22 11:01:46.0 +0100 +++ /var/tmp/diff_new_pack.6eVnr6/_new 2013-03-22 11:01:46.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package flex # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -44,6 +44,7 @@ Patch2: flex-2.5.37-notex.patch # PATCH-FIX-UPSTREAM fix tests for new bison Patch3: http://www.linuxfromscratch.org/patches/lfs/7.2/flex-2.5.37-bison-2.6.1-1.patch +Patch4: config-guess-sub-update.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -55,6 +56,7 @@ %patch1 %patch2 -p1 %patch3 -p1 +%patch4 %build autoreconf -fi ++ config-guess-sub-update.patch ++ 1417 lines (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit flex for openSUSE:Factory
Hello community, here is the log from the commit of package flex for openSUSE:Factory checked in at 2011-12-12 16:56:37 Comparing /work/SRC/openSUSE:Factory/flex (Old) and /work/SRC/openSUSE:Factory/.flex.new (New) Package is flex, Maintainer is mma...@suse.com Changes: --- /work/SRC/openSUSE:Factory/flex/flex.changes2011-10-04 16:56:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.flex.new/flex.changes 2011-12-12 17:00:20.0 +0100 @@ -1,0 +2,5 @@ +Fri Dec 2 15:41:49 UTC 2011 - co...@suse.com + +- add automake as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ flex.spec ++ --- /var/tmp/diff_new_pack.gsD7Ab/_old 2011-12-12 17:00:40.0 +0100 +++ /var/tmp/diff_new_pack.gsD7Ab/_new 2011-12-12 17:00:40.0 +0100 @@ -15,12 +15,13 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: flex -BuildRequires: bison gcc-c++ help2man +BuildRequires: automake +BuildRequires: bison +BuildRequires: gcc-c++ +BuildRequires: help2man Url:http://flex.sourceforge.net/ -License:BSD3c(or similar) +License:BSD-3-Clause Group: Development/Languages/C and C++ Requires: m4 PreReq: %install_info_prereq @@ -30,7 +31,7 @@ %endif # Version:2.5.35 -Release:46 +Release:0 Summary:Fast Lexical Analyzer Generator Source: %{name}-%{version}.tar.bz2 Source1:lex-wrapper.sh -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit flex for openSUSE:Factory
Hello community, here is the log from the commit of package flex for openSUSE:Factory checked in at Mon Sep 19 22:50:51 CEST 2011. --- flex/flex.changes 2009-12-13 01:32:56.0 +0100 +++ /mounts/work_src_done/STABLE/flex/flex.changes 2011-09-19 02:15:07.0 +0200 @@ -1,0 +2,6 @@ +Sun Sep 18 17:17:12 UTC 2011 - jeng...@medozas.de + +- Apply packaging guidelines (remove redundant/obsolete + tags/sections from specfile, etc.) + +--- Package does not exist at destination yet. Using Fallback flex Destination is flex calling whatdependson for head-i586 Other differences: -- ++ flex.spec ++ --- /var/tmp/diff_new_pack.5LJMrR/_old 2011-09-19 22:50:46.0 +0200 +++ /var/tmp/diff_new_pack.5LJMrR/_new 2011-09-19 22:50:46.0 +0200 @@ -15,9 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: flex BuildRequires: bison gcc-c++ help2man Url:http://flex.sourceforge.net/ @@ -25,7 +22,6 @@ Group: Development/Languages/C and C++ Requires: m4 PreReq: %install_info_prereq -AutoReqProv:on # bug437293 %ifarch ppc64 Obsoletes: flex-64bit @@ -49,14 +45,6 @@ FLEX is a tool for generating scanners: programs that recognize lexical patterns in text. - - -Authors: - -Vern Paxson v...@ee.lbl.gov -Will Estes wles...@uncg.edu -John Millaway milla...@acm.org - %prep %setup -q %patch1 @@ -71,20 +59,18 @@ %build autoreconf -fi %configure -make %{?jobs:-j%jobs} +make %{?_smp_mflags} + +%check make check %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT install %{S:1} $RPM_BUILD_ROOT/%{_bindir}/lex ln -s flex $RPM_BUILD_ROOT/%{_bindir}/flex++ ln -s flex.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/lex.1.gz %find_lang %{name} -%clean -rm -rf $RPM_BUILD_ROOT - %files -f %{name}.lang %defattr(-,root,root) /usr/bin/flex Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org