From 8babbcd1623eacb361687fb864999c02d76c47b5 Mon Sep 17 00:00:00 2001 From: roland Date: Sat, 22 Jan 2005 07:11:02 +0000 Subject: [PATCH 001/136] Set up to use the "make download" machinery. --- Makefile | 3 +++ mirrors | 1 + upstream | 1 + upstream-key.gpg | 28 ++++++++++++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 mirrors create mode 100644 upstream create mode 100644 upstream-key.gpg diff --git a/Makefile b/Makefile index 94c9972..db207f5 100644 --- a/Makefile +++ b/Makefile @@ -3,4 +3,7 @@ NAME := bison SPECFILE = $(firstword $(wildcard *.spec)) +# Check the right flavor of signature file for ftp.gnu.org site. +UPSTREAM_CHECKS = sig + include ../common/Makefile.common diff --git a/mirrors b/mirrors new file mode 100644 index 0000000..7aaad0b --- /dev/null +++ b/mirrors @@ -0,0 +1 @@ +http://ftp.gnu.org/gnu/bison diff --git a/upstream b/upstream new file mode 100644 index 0000000..8edd080 --- /dev/null +++ b/upstream @@ -0,0 +1 @@ +bison-2.0.tar.gz diff --git a/upstream-key.gpg b/upstream-key.gpg new file mode 100644 index 0000000..0840349 --- /dev/null +++ b/upstream-key.gpg @@ -0,0 +1,28 @@ +pub 1024D/69A4726B 2003-08-07 Paul Eggert + Key fingerprint = 0977 7580 951C E87F 0F3C 83B5 D61E CB34 69A4 726B +sub 1024g/19F945E3 2003-08-07 [expires: 2004-08-06] + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.2.4 (GNU/Linux) + +mQGiBD8yt+oRBADkmVuWjrl0k0lrYOdaczAslirKeiayAd8868d7V6GzfFc/HES4 +tFhi+okVybTAUJ6i4oKmIV0c5pNyzZ3TErHYFb40RP0FgW39SMgAIQ/H/kBMSjrq +jQNQi9TsXolNc2v+8rkYGRkR20PiIUwKxeZvgB6tyMNFTb9/NrwqNM+E2wCgobBp +1S/UnaRfYRt+CYH91TTTPWUD/jW/S9ddc0yXOwx2f99f+gIJ6KIQmRihP3LvTdlf +vWwv1M8y9uWteXP11rcmvdRryL40irKP3gUnBHo7h3+vicTlG/YV0lvVPzo12mgO +6yEO1eJmxYYkqeQ4Tzy95SG1xuoEYK6daOHPAZTBdoUCHJXaJhxbllPSgx6F0taT +S4u9BADgXDuE1lduOsQeIa8LadO7MtRdCC+lpuh6OErNnHgVCBnOJzIWY6Vtw0mZ +nvKvwQCTbgwC5ZF2VdcfKfnNsz1Uc/tie7bGo4rz1CnHMokRT6+CMpkSg0+8CAFM +LSYIZP0Bs4YCD1XxoVef/3xqULSzY9tEc0hB/eCOfuXCFiHbuLQcUGF1bCBFZ2dl +cnQgPGVnZ2VydEBnbnUub3JnPohdBBMRAgAdBQI/MrfrBQkB4TOABQsHCgMEAxUD +AgMWAgECF4AACgkQ1h7LNGmkcmsIhwCdEqoVFmJzghAzkqwDlO+zO8vwNZMAn13H +cKAWAkQ1XttffFpQ4g63o5CYuQENBD8yt+0QBACVjyAOjVJIv/H7mCYAIdx1mF+U +BOIZzEKsJnqIR+8DZvDsmY6dvkvDEETlMlE3D+mH+CuNylDsHChDKBVTonrKsPdl +woVjkh2lQ5x67U929cNpJ3O5+Y3DxiANj1NPV3rgUePO/HxqFnRZdWtw6kXcnDgQ +ELVhB2ngzU1Jxfu9YwADBgP/UkK5GfBuhqY/5UessEZNs2vzRoVe/jsj4AF0zUfO +37FbUllURV+3bK6knN6L/l77mDGh/oHqBr4drewxWN9EQMB8lhKHVunazmQ7kTcZ +O8xnZQubASTnM6Hd7OL4wJAcpVyQOBaVsPDOf0vlqCHX+xj1T+mxJPhqZrHqmJeV +j2iITAQYEQIADAUCPzK37QUJAeEzgAAKCRDWHss0aaRya+jOAJ96m9tB9UFY36ou +H9CzH0gE60M9mACfXqEHT1kDN+s5z64kiKr0lNe3+9E= +=ur9y +-----END PGP PUBLIC KEY BLOCK----- From d72328928f5cf87f8763f7178edf76020cee7e2f Mon Sep 17 00:00:00 2001 From: roland Date: Sat, 22 Jan 2005 07:11:02 +0000 Subject: [PATCH 002/136] Set up to use the "make download" machinery. --- Makefile | 5 ++++- mirrors | 1 + upstream | 1 + upstream-key.gpg | 28 ++++++++++++++++++++++++++++ 4 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 mirrors create mode 100644 upstream create mode 100644 upstream-key.gpg diff --git a/Makefile b/Makefile index 94c9972..3cb3d82 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ # Makefile for source rpm: bison -# $Id$ +# $Id: Makefile,v 1.1 2004/09/09 03:30:13 cvsdist Exp $ NAME := bison SPECFILE = $(firstword $(wildcard *.spec)) +# Check the right flavor of signature file for ftp.gnu.org site. +UPSTREAM_CHECKS = sig + include ../common/Makefile.common diff --git a/mirrors b/mirrors new file mode 100644 index 0000000..7aaad0b --- /dev/null +++ b/mirrors @@ -0,0 +1 @@ +http://ftp.gnu.org/gnu/bison diff --git a/upstream b/upstream new file mode 100644 index 0000000..8edd080 --- /dev/null +++ b/upstream @@ -0,0 +1 @@ +bison-2.0.tar.gz diff --git a/upstream-key.gpg b/upstream-key.gpg new file mode 100644 index 0000000..0840349 --- /dev/null +++ b/upstream-key.gpg @@ -0,0 +1,28 @@ +pub 1024D/69A4726B 2003-08-07 Paul Eggert + Key fingerprint = 0977 7580 951C E87F 0F3C 83B5 D61E CB34 69A4 726B +sub 1024g/19F945E3 2003-08-07 [expires: 2004-08-06] + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.2.4 (GNU/Linux) + +mQGiBD8yt+oRBADkmVuWjrl0k0lrYOdaczAslirKeiayAd8868d7V6GzfFc/HES4 +tFhi+okVybTAUJ6i4oKmIV0c5pNyzZ3TErHYFb40RP0FgW39SMgAIQ/H/kBMSjrq +jQNQi9TsXolNc2v+8rkYGRkR20PiIUwKxeZvgB6tyMNFTb9/NrwqNM+E2wCgobBp +1S/UnaRfYRt+CYH91TTTPWUD/jW/S9ddc0yXOwx2f99f+gIJ6KIQmRihP3LvTdlf +vWwv1M8y9uWteXP11rcmvdRryL40irKP3gUnBHo7h3+vicTlG/YV0lvVPzo12mgO +6yEO1eJmxYYkqeQ4Tzy95SG1xuoEYK6daOHPAZTBdoUCHJXaJhxbllPSgx6F0taT +S4u9BADgXDuE1lduOsQeIa8LadO7MtRdCC+lpuh6OErNnHgVCBnOJzIWY6Vtw0mZ +nvKvwQCTbgwC5ZF2VdcfKfnNsz1Uc/tie7bGo4rz1CnHMokRT6+CMpkSg0+8CAFM +LSYIZP0Bs4YCD1XxoVef/3xqULSzY9tEc0hB/eCOfuXCFiHbuLQcUGF1bCBFZ2dl +cnQgPGVnZ2VydEBnbnUub3JnPohdBBMRAgAdBQI/MrfrBQkB4TOABQsHCgMEAxUD +AgMWAgECF4AACgkQ1h7LNGmkcmsIhwCdEqoVFmJzghAzkqwDlO+zO8vwNZMAn13H +cKAWAkQ1XttffFpQ4g63o5CYuQENBD8yt+0QBACVjyAOjVJIv/H7mCYAIdx1mF+U +BOIZzEKsJnqIR+8DZvDsmY6dvkvDEETlMlE3D+mH+CuNylDsHChDKBVTonrKsPdl +woVjkh2lQ5x67U929cNpJ3O5+Y3DxiANj1NPV3rgUePO/HxqFnRZdWtw6kXcnDgQ +ELVhB2ngzU1Jxfu9YwADBgP/UkK5GfBuhqY/5UessEZNs2vzRoVe/jsj4AF0zUfO +37FbUllURV+3bK6knN6L/l77mDGh/oHqBr4drewxWN9EQMB8lhKHVunazmQ7kTcZ +O8xnZQubASTnM6Hd7OL4wJAcpVyQOBaVsPDOf0vlqCHX+xj1T+mxJPhqZrHqmJeV +j2iITAQYEQIADAUCPzK37QUJAeEzgAAKCRDWHss0aaRya+jOAJ96m9tB9UFY36ou +H9CzH0gE60M9mACfXqEHT1kDN+s5z64kiKr0lNe3+9E= +=ur9y +-----END PGP PUBLIC KEY BLOCK----- From 5e361b88bd6157cc0055714dc64909dec11db7b1 Mon Sep 17 00:00:00 2001 From: roland Date: Tue, 15 Mar 2005 00:44:46 +0000 Subject: [PATCH 003/136] Bump for gcc4 rebuild. --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 51ce448..bda3f2a 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.0 -Release: 4 +Release: 5 License: GPL Group: Development/Tools #Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -80,6 +80,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Mar 14 2005 Roland McGrath - 2.0-5 +- rebuilt + * Thu Jan 6 2005 Roland McGrath - 2.0-4 - update upstream URLs, add doc files (#144346) From f34e1935d5b915514dba5265c4b3ac214135d5b8 Mon Sep 17 00:00:00 2001 From: roland Date: Tue, 15 Mar 2005 00:44:46 +0000 Subject: [PATCH 004/136] Bump for gcc4 rebuild. --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 51ce448..bda3f2a 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.0 -Release: 4 +Release: 5 License: GPL Group: Development/Tools #Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -80,6 +80,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Mar 14 2005 Roland McGrath - 2.0-5 +- rebuilt + * Thu Jan 6 2005 Roland McGrath - 2.0-4 - update upstream URLs, add doc files (#144346) From 1dd1351c0409028aa7d5efdf2b3a4293eb293a8e Mon Sep 17 00:00:00 2001 From: roland Date: Fri, 8 Apr 2005 03:40:57 +0000 Subject: [PATCH 005/136] Add %check section. --- bison.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index bda3f2a..1b93781 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.0 -Release: 5 +Release: 6 License: GPL Group: Development/Tools #Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -44,6 +44,10 @@ simple programs to supply minimal support for the generated parsers. %configure make +%check +make check +#make maintainer-check + %install rm -rf $RPM_BUILD_ROOT %makeinstall @@ -80,6 +84,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Thu Apr 7 2005 Roland McGrath - 2.0-6 +- run test suite in %%check + * Mon Mar 14 2005 Roland McGrath - 2.0-5 - rebuilt From 1734016eb1caebbb4d826697de6874d173608e91 Mon Sep 17 00:00:00 2001 From: roland Date: Fri, 8 Apr 2005 03:40:57 +0000 Subject: [PATCH 006/136] Add %check section. --- bison.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index bda3f2a..1b93781 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.0 -Release: 5 +Release: 6 License: GPL Group: Development/Tools #Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -44,6 +44,10 @@ simple programs to supply minimal support for the generated parsers. %configure make +%check +make check +#make maintainer-check + %install rm -rf $RPM_BUILD_ROOT %makeinstall @@ -80,6 +84,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Thu Apr 7 2005 Roland McGrath - 2.0-6 +- run test suite in %%check + * Mon Mar 14 2005 Roland McGrath - 2.0-5 - rebuilt From 2b7635275655191e26f21d3c735feb7c24348dca Mon Sep 17 00:00:00 2001 From: roland Date: Sat, 15 Oct 2005 00:43:37 +0000 Subject: [PATCH 007/136] New upstream version 2.1 --- .cvsignore | 2 +- bison.spec | 27 ++++++++++++++++++++++----- sources | 2 +- upstream | 2 +- upstream-key.gpg | 34 +++++++++++++++++++++++++++------- 5 files changed, 52 insertions(+), 15 deletions(-) diff --git a/.cvsignore b/.cvsignore index 8edd080..807af01 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -bison-2.0.tar.gz +bison-2.1.tar.bz2 diff --git a/bison.spec b/bison.spec index 1b93781..3e3c1de 100644 --- a/bison.spec +++ b/bison.spec @@ -1,11 +1,10 @@ Summary: A GNU general-purpose parser generator. Name: bison -Version: 2.0 -Release: 6 +Version: 2.1 +Release: 1 License: GPL Group: Development/Tools -#Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 -Source: http://ftp.gnu.org/gnu/bison/bison-%{version}.tar.gz +Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 Url: http://www.gnu.org/software/bison/ Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root @@ -37,6 +36,16 @@ using Bison, you might want to link with this library. This library is required by all Bison-generated parsers, but may be employed by simple programs to supply minimal support for the generated parsers. +%package runtime +Summary: Runtime support files used by Bison-generated parsers +Group: Development/Libraries + +%description runtime +The bison-runtime package contains files used at runtime by parsers +that Bison generates. Packages whose binaries contain parsers +generated by Bison should depend on bison-runtime to ensure that +these files are available. + %prep %setup -q @@ -57,6 +66,7 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc rm -f $RPM_BUILD_ROOT/%{_infodir}/dir %find_lang %{name} +%find_lang %{name}-runtime gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* @@ -70,11 +80,14 @@ fi %files -f %{name}.lang %defattr(-,root,root) -%doc AUTHORS ChangeLog NEWS OChangeLog README REFERENCES THANKS TODO doc/FAQ +%doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO doc/FAQ %{_mandir}/*/bison* %{_datadir}/bison %{_infodir}/bison.info* %{_bindir}/bison +%{_datadir}/aclocal/bison*.m4 + +%files -f %{name}-runtime.lang runtime %files devel %defattr(-,root,root) @@ -84,6 +97,10 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri Oct 14 2005 Roland McGrath - 2.1-1 +- New upstream version 2.1 +- New subpackage bison-runtime for i18n support files used by parsers. + * Thu Apr 7 2005 Roland McGrath - 2.0-6 - run test suite in %%check diff --git a/sources b/sources index 2aadfe5..24f9734 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c17f964fd5504b88b07a183420de25e3 bison-2.0.tar.gz +ef3110077462b1140b2ae612626e8486 bison-2.1.tar.bz2 diff --git a/upstream b/upstream index 8edd080..807af01 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -bison-2.0.tar.gz +bison-2.1.tar.bz2 diff --git a/upstream-key.gpg b/upstream-key.gpg index 0840349..7e88f82 100644 --- a/upstream-key.gpg +++ b/upstream-key.gpg @@ -1,9 +1,5 @@ -pub 1024D/69A4726B 2003-08-07 Paul Eggert - Key fingerprint = 0977 7580 951C E87F 0F3C 83B5 D61E CB34 69A4 726B -sub 1024g/19F945E3 2003-08-07 [expires: 2004-08-06] - -----BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.2.4 (GNU/Linux) +Version: GnuPG v1.4.1 (GNU/Linux) mQGiBD8yt+oRBADkmVuWjrl0k0lrYOdaczAslirKeiayAd8868d7V6GzfFc/HES4 tFhi+okVybTAUJ6i4oKmIV0c5pNyzZ3TErHYFb40RP0FgW39SMgAIQ/H/kBMSjrq @@ -23,6 +19,30 @@ ELVhB2ngzU1Jxfu9YwADBgP/UkK5GfBuhqY/5UessEZNs2vzRoVe/jsj4AF0zUfO 37FbUllURV+3bK6knN6L/l77mDGh/oHqBr4drewxWN9EQMB8lhKHVunazmQ7kTcZ O8xnZQubASTnM6Hd7OL4wJAcpVyQOBaVsPDOf0vlqCHX+xj1T+mxJPhqZrHqmJeV j2iITAQYEQIADAUCPzK37QUJAeEzgAAKCRDWHss0aaRya+jOAJ96m9tB9UFY36ou -H9CzH0gE60M9mACfXqEHT1kDN+s5z64kiKr0lNe3+9E= -=ur9y +H9CzH0gE60M9mACfXqEHT1kDN+s5z64kiKr0lNe3+9GZAaIEQuEYHxEEAP1h6Eyn +sdMRGwx3/tlUoeHFjVe7fkN/JzlL5Z6oao+Y/Yf2ESBg/XB0/8FaS7CTQMHKChip +a9Wivp+GiqzKCewULYLApLUS5WO+xJ8wGPIShIUh33Vups7rR7JGqQ98pxbTk8E/ +36zRUH6R6g0H9DPZbUxKZDWELKKSegYu3FQ7AKCpqJc9Vq8GTgFflXlGYffSENVk +CwP/VMH3PtBfPRgwqiUrydXT95zogct+RivNzwzIsKxi+0w1BhYdCLNgXD7TA3lT +QsgLytskVer1T1dmp6bwH5ZW05iTzSOQqq8EI4sA5AYq5JIvUmIRYKg5R+LGuDxP +8Ruvw53NSE1hLtsC+qiQxHqcDK+t2vf8nSU7bcom92OuDZoD/3JEYfumdlrt/BR/ +Vv/dqG9kKLCoXNbuV+X4Aq8RTSOszopBUc+TJIqZNaAq13n4XUDqznhmlWq0d5x2 +CWQimDQzMn/2vjacJ/MNTdxcw+7s/rjnFy/LBWT/cRuUxgk3B+wlDHp4z5V1HLWF +ed49y4OHWxF7qvONM3ccwABW/xnvtCBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVj +bGEuZWR1PohkBBMRAgAkBQJC4RgfAhsDBQkFo5qABgsJCAcDAgMVAgMDFgIBAh4B +AheAAAoJELk/YMa1xM4TocEAoI6ngp3vBGXrLRkFFibu5kNbFoIvAKClFUC21RFB +xrC1eZoD2/df9IG/pLkCDQRC4RguEAgAutFBZGkpmjmVPG16cZDdXcAEEyKxse+s +W3ftiv/h8x2cvEmy8x3A2tuCWf5gSJ3viawdkAp5w9d42IoC4O3COF3B7nRpR6FU +6o193OXLrJhNjmBV5iGgyLZfkxuA686J7BP2yxUSzwJjAhyk1S+70sg3cygMLDT0 +EsID1n0Y5HWFHP5DkfNhIh0Kh4gqsCQBytO8cD/hsVSSbz+9ttDSV/LIzcCUgkJe +O5HkxSnd/3CYB2FBIzlM0XIWvEoZ/z6shroIySIGZlxnbZXFO//nVEC4EHQ7JKyj +7X+HvH2lumkjSnX51X0hmqBjeRvFK2gIu59DyZRTHiXtXE4Mdy+kXwADBQf+Ptps +V+WJ1BuemoEmaDgNCuO+JxH1D04/ux7PXCxZKU1+k4vtwdDPXSDpWxpGD8XWgN9C +if06GWHejBTgTRQoy4ygiBAo8B/vUQZdBL80z6rUuIOVg/EBUDiJV0Pz6Z7dwKfv +Bb2+F8flhqJDdPLs6VxYddd5ZemXbBBe2KanIsyP7Pk586sTzuU7PMTcEMcizkzg +HiMTY8zBd8+dBM7hn30/NORLsEfJpf+E4eC72TpJK4ZRfZpk03rMWBoZFziCfxjL +XUOB44tQK0yn53vreX1jcc5urmI4z7j7yD3sypkYCwn7gpwyxPB9A6zDf9HyvWpf +um6/jkof6fvV+OcRrYhPBBgRAgAPBQJC4RguAhsMBQkFo5qAAAoJELk/YMa1xM4T +y7QAmgPizj1fRazw/BFTyStLPjUAFXNlAKCnTTwKv96JkWTxcIILLfibPRmnFw== +=rfoO -----END PGP PUBLIC KEY BLOCK----- From 60135eed1e35850a95e0813a5e109b919bd9088f Mon Sep 17 00:00:00 2001 From: roland Date: Sat, 15 Oct 2005 00:43:37 +0000 Subject: [PATCH 008/136] New upstream version 2.1 --- .cvsignore | 2 +- bison.spec | 27 ++++++++++++++++++++++----- sources | 2 +- upstream | 2 +- upstream-key.gpg | 34 +++++++++++++++++++++++++++------- 5 files changed, 52 insertions(+), 15 deletions(-) diff --git a/.cvsignore b/.cvsignore index 8edd080..807af01 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -bison-2.0.tar.gz +bison-2.1.tar.bz2 diff --git a/bison.spec b/bison.spec index 1b93781..3e3c1de 100644 --- a/bison.spec +++ b/bison.spec @@ -1,11 +1,10 @@ Summary: A GNU general-purpose parser generator. Name: bison -Version: 2.0 -Release: 6 +Version: 2.1 +Release: 1 License: GPL Group: Development/Tools -#Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 -Source: http://ftp.gnu.org/gnu/bison/bison-%{version}.tar.gz +Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 Url: http://www.gnu.org/software/bison/ Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root @@ -37,6 +36,16 @@ using Bison, you might want to link with this library. This library is required by all Bison-generated parsers, but may be employed by simple programs to supply minimal support for the generated parsers. +%package runtime +Summary: Runtime support files used by Bison-generated parsers +Group: Development/Libraries + +%description runtime +The bison-runtime package contains files used at runtime by parsers +that Bison generates. Packages whose binaries contain parsers +generated by Bison should depend on bison-runtime to ensure that +these files are available. + %prep %setup -q @@ -57,6 +66,7 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc rm -f $RPM_BUILD_ROOT/%{_infodir}/dir %find_lang %{name} +%find_lang %{name}-runtime gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* @@ -70,11 +80,14 @@ fi %files -f %{name}.lang %defattr(-,root,root) -%doc AUTHORS ChangeLog NEWS OChangeLog README REFERENCES THANKS TODO doc/FAQ +%doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO doc/FAQ %{_mandir}/*/bison* %{_datadir}/bison %{_infodir}/bison.info* %{_bindir}/bison +%{_datadir}/aclocal/bison*.m4 + +%files -f %{name}-runtime.lang runtime %files devel %defattr(-,root,root) @@ -84,6 +97,10 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri Oct 14 2005 Roland McGrath - 2.1-1 +- New upstream version 2.1 +- New subpackage bison-runtime for i18n support files used by parsers. + * Thu Apr 7 2005 Roland McGrath - 2.0-6 - run test suite in %%check diff --git a/sources b/sources index 2aadfe5..24f9734 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c17f964fd5504b88b07a183420de25e3 bison-2.0.tar.gz +ef3110077462b1140b2ae612626e8486 bison-2.1.tar.bz2 diff --git a/upstream b/upstream index 8edd080..807af01 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -bison-2.0.tar.gz +bison-2.1.tar.bz2 diff --git a/upstream-key.gpg b/upstream-key.gpg index 0840349..7e88f82 100644 --- a/upstream-key.gpg +++ b/upstream-key.gpg @@ -1,9 +1,5 @@ -pub 1024D/69A4726B 2003-08-07 Paul Eggert - Key fingerprint = 0977 7580 951C E87F 0F3C 83B5 D61E CB34 69A4 726B -sub 1024g/19F945E3 2003-08-07 [expires: 2004-08-06] - -----BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.2.4 (GNU/Linux) +Version: GnuPG v1.4.1 (GNU/Linux) mQGiBD8yt+oRBADkmVuWjrl0k0lrYOdaczAslirKeiayAd8868d7V6GzfFc/HES4 tFhi+okVybTAUJ6i4oKmIV0c5pNyzZ3TErHYFb40RP0FgW39SMgAIQ/H/kBMSjrq @@ -23,6 +19,30 @@ ELVhB2ngzU1Jxfu9YwADBgP/UkK5GfBuhqY/5UessEZNs2vzRoVe/jsj4AF0zUfO 37FbUllURV+3bK6knN6L/l77mDGh/oHqBr4drewxWN9EQMB8lhKHVunazmQ7kTcZ O8xnZQubASTnM6Hd7OL4wJAcpVyQOBaVsPDOf0vlqCHX+xj1T+mxJPhqZrHqmJeV j2iITAQYEQIADAUCPzK37QUJAeEzgAAKCRDWHss0aaRya+jOAJ96m9tB9UFY36ou -H9CzH0gE60M9mACfXqEHT1kDN+s5z64kiKr0lNe3+9E= -=ur9y +H9CzH0gE60M9mACfXqEHT1kDN+s5z64kiKr0lNe3+9GZAaIEQuEYHxEEAP1h6Eyn +sdMRGwx3/tlUoeHFjVe7fkN/JzlL5Z6oao+Y/Yf2ESBg/XB0/8FaS7CTQMHKChip +a9Wivp+GiqzKCewULYLApLUS5WO+xJ8wGPIShIUh33Vups7rR7JGqQ98pxbTk8E/ +36zRUH6R6g0H9DPZbUxKZDWELKKSegYu3FQ7AKCpqJc9Vq8GTgFflXlGYffSENVk +CwP/VMH3PtBfPRgwqiUrydXT95zogct+RivNzwzIsKxi+0w1BhYdCLNgXD7TA3lT +QsgLytskVer1T1dmp6bwH5ZW05iTzSOQqq8EI4sA5AYq5JIvUmIRYKg5R+LGuDxP +8Ruvw53NSE1hLtsC+qiQxHqcDK+t2vf8nSU7bcom92OuDZoD/3JEYfumdlrt/BR/ +Vv/dqG9kKLCoXNbuV+X4Aq8RTSOszopBUc+TJIqZNaAq13n4XUDqznhmlWq0d5x2 +CWQimDQzMn/2vjacJ/MNTdxcw+7s/rjnFy/LBWT/cRuUxgk3B+wlDHp4z5V1HLWF +ed49y4OHWxF7qvONM3ccwABW/xnvtCBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVj +bGEuZWR1PohkBBMRAgAkBQJC4RgfAhsDBQkFo5qABgsJCAcDAgMVAgMDFgIBAh4B +AheAAAoJELk/YMa1xM4TocEAoI6ngp3vBGXrLRkFFibu5kNbFoIvAKClFUC21RFB +xrC1eZoD2/df9IG/pLkCDQRC4RguEAgAutFBZGkpmjmVPG16cZDdXcAEEyKxse+s +W3ftiv/h8x2cvEmy8x3A2tuCWf5gSJ3viawdkAp5w9d42IoC4O3COF3B7nRpR6FU +6o193OXLrJhNjmBV5iGgyLZfkxuA686J7BP2yxUSzwJjAhyk1S+70sg3cygMLDT0 +EsID1n0Y5HWFHP5DkfNhIh0Kh4gqsCQBytO8cD/hsVSSbz+9ttDSV/LIzcCUgkJe +O5HkxSnd/3CYB2FBIzlM0XIWvEoZ/z6shroIySIGZlxnbZXFO//nVEC4EHQ7JKyj +7X+HvH2lumkjSnX51X0hmqBjeRvFK2gIu59DyZRTHiXtXE4Mdy+kXwADBQf+Ptps +V+WJ1BuemoEmaDgNCuO+JxH1D04/ux7PXCxZKU1+k4vtwdDPXSDpWxpGD8XWgN9C +if06GWHejBTgTRQoy4ygiBAo8B/vUQZdBL80z6rUuIOVg/EBUDiJV0Pz6Z7dwKfv +Bb2+F8flhqJDdPLs6VxYddd5ZemXbBBe2KanIsyP7Pk586sTzuU7PMTcEMcizkzg +HiMTY8zBd8+dBM7hn30/NORLsEfJpf+E4eC72TpJK4ZRfZpk03rMWBoZFziCfxjL +XUOB44tQK0yn53vreX1jcc5urmI4z7j7yD3sypkYCwn7gpwyxPB9A6zDf9HyvWpf +um6/jkof6fvV+OcRrYhPBBgRAgAPBQJC4RguAhsMBQkFo5qAAAoJELk/YMa1xM4T +y7QAmgPizj1fRazw/BFTyStLPjUAFXNlAKCnTTwKv96JkWTxcIILLfibPRmnFw== +=rfoO -----END PGP PUBLIC KEY BLOCK----- From eb37b37dd9acb433bd5a0a8a74b4826d7ccc68f0 Mon Sep 17 00:00:00 2001 From: roland Date: Sat, 15 Oct 2005 00:45:56 +0000 Subject: [PATCH 009/136] Description fixes. --- bison.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bison.spec b/bison.spec index 3e3c1de..cd2b249 100644 --- a/bison.spec +++ b/bison.spec @@ -33,7 +33,7 @@ Group: Development/Libraries The bison-devel package contains the -ly library sometimes used by programs using Bison-generated parsers. If you are developing programs using Bison, you might want to link with this library. This library -is required by all Bison-generated parsers, but may be employed by +is not required by all Bison-generated parsers, but may be employed by simple programs to supply minimal support for the generated parsers. %package runtime @@ -44,7 +44,8 @@ Group: Development/Libraries The bison-runtime package contains files used at runtime by parsers that Bison generates. Packages whose binaries contain parsers generated by Bison should depend on bison-runtime to ensure that -these files are available. +these files are available. See the Internationalization in the +Bison manual section for more information. %prep %setup -q From 114f9f4bc7241a1fd0a03883e423ad16801cc1e5 Mon Sep 17 00:00:00 2001 From: roland Date: Sat, 15 Oct 2005 00:45:56 +0000 Subject: [PATCH 010/136] Description fixes. --- bison.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bison.spec b/bison.spec index 3e3c1de..cd2b249 100644 --- a/bison.spec +++ b/bison.spec @@ -33,7 +33,7 @@ Group: Development/Libraries The bison-devel package contains the -ly library sometimes used by programs using Bison-generated parsers. If you are developing programs using Bison, you might want to link with this library. This library -is required by all Bison-generated parsers, but may be employed by +is not required by all Bison-generated parsers, but may be employed by simple programs to supply minimal support for the generated parsers. %package runtime @@ -44,7 +44,8 @@ Group: Development/Libraries The bison-runtime package contains files used at runtime by parsers that Bison generates. Packages whose binaries contain parsers generated by Bison should depend on bison-runtime to ensure that -these files are available. +these files are available. See the Internationalization in the +Bison manual section for more information. %prep %setup -q From a00a2e3148de6c8cba3d21a2ee4d52450e789ed2 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 9 Dec 2005 22:39:47 +0000 Subject: [PATCH 011/136] gcc update bump --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index cd2b249..31e6da5 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.1 -Release: 1 +Release: 1.1 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -98,6 +98,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri Dec 09 2005 Jesse Keating +- rebuilt + * Fri Oct 14 2005 Roland McGrath - 2.1-1 - New upstream version 2.1 - New subpackage bison-runtime for i18n support files used by parsers. From e970bf56dff2fdb645392fc975a256df03dbd22a Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 9 Dec 2005 22:39:47 +0000 Subject: [PATCH 012/136] gcc update bump --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index cd2b249..31e6da5 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.1 -Release: 1 +Release: 1.1 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -98,6 +98,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri Dec 09 2005 Jesse Keating +- rebuilt + * Fri Oct 14 2005 Roland McGrath - 2.1-1 - New upstream version 2.1 - New subpackage bison-runtime for i18n support files used by parsers. From a7b544b8fcde26120e32a334bc283a2a02bf099b Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 7 Feb 2006 11:09:29 +0000 Subject: [PATCH 013/136] bump for new gcc/glibc --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 31e6da5..afc4ad9 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.1 -Release: 1.1 +Release: 1.2 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -98,6 +98,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Tue Feb 07 2006 Jesse Keating - 2.1-1.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + * Fri Dec 09 2005 Jesse Keating - rebuilt From cb640cadcfcb3a59f2593ecaf5a539a32f6c25b6 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 7 Feb 2006 11:09:29 +0000 Subject: [PATCH 014/136] bump for new gcc/glibc --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 31e6da5..afc4ad9 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.1 -Release: 1.1 +Release: 1.2 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -98,6 +98,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Tue Feb 07 2006 Jesse Keating - 2.1-1.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + * Fri Dec 09 2005 Jesse Keating - rebuilt From 24491699a4a8dd0435703781e89b2ac838a68e66 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Sat, 11 Feb 2006 02:08:38 +0000 Subject: [PATCH 015/136] bump for bug in double-long on ppc(64) --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index afc4ad9..ce8acb9 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.1 -Release: 1.2 +Release: 1.2.1 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -98,6 +98,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri Feb 10 2006 Jesse Keating - 2.1-1.2.1 +- bump again for double-long bug on ppc(64) + * Tue Feb 07 2006 Jesse Keating - 2.1-1.2 - rebuilt for new gcc4.1 snapshot and glibc changes From 08ec52cb5afe9143697c37993b1ec9e533d7a8fd Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Sat, 11 Feb 2006 02:08:38 +0000 Subject: [PATCH 016/136] bump for bug in double-long on ppc(64) --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index afc4ad9..ce8acb9 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.1 -Release: 1.2 +Release: 1.2.1 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -98,6 +98,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri Feb 10 2006 Jesse Keating - 2.1-1.2.1 +- bump again for double-long bug on ppc(64) + * Tue Feb 07 2006 Jesse Keating - 2.1-1.2 - rebuilt for new gcc4.1 snapshot and glibc changes From 92c5f559aefa499cd8cb7873545ff77243cd839e Mon Sep 17 00:00:00 2001 From: roland Date: Tue, 2 May 2006 03:29:05 +0000 Subject: [PATCH 017/136] Fix K&R parser definition when it has no arguments (#190376). --- bison.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/bison.spec b/bison.spec index ce8acb9..c4fb765 100644 --- a/bison.spec +++ b/bison.spec @@ -1,15 +1,17 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.1 -Release: 1.2.1 +Release: 2 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 -Url: http://www.gnu.org/software/bison/ +URL: http://www.gnu.org/software/bison/ Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root Requires: m4 >= 1.4 +Patch1: bison-2.1-m4_map.patch + %description Bison is a general purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a C program to @@ -50,6 +52,8 @@ Bison manual section for more information. %prep %setup -q +%patch1 -p1 + %build %configure make @@ -98,6 +102,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon May 1 2006 Roland McGrath - 2.1-3 +- Fix K&R parser definition when it has no arguments (#190376). + * Fri Feb 10 2006 Jesse Keating - 2.1-1.2.1 - bump again for double-long bug on ppc(64) From d488a5ee72f5c6dcc1cea9771931b4a41e1b4ba2 Mon Sep 17 00:00:00 2001 From: roland Date: Tue, 2 May 2006 03:29:05 +0000 Subject: [PATCH 018/136] Fix K&R parser definition when it has no arguments (#190376). --- bison.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/bison.spec b/bison.spec index ce8acb9..c4fb765 100644 --- a/bison.spec +++ b/bison.spec @@ -1,15 +1,17 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.1 -Release: 1.2.1 +Release: 2 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 -Url: http://www.gnu.org/software/bison/ +URL: http://www.gnu.org/software/bison/ Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root Requires: m4 >= 1.4 +Patch1: bison-2.1-m4_map.patch + %description Bison is a general purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a C program to @@ -50,6 +52,8 @@ Bison manual section for more information. %prep %setup -q +%patch1 -p1 + %build %configure make @@ -98,6 +102,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon May 1 2006 Roland McGrath - 2.1-3 +- Fix K&R parser definition when it has no arguments (#190376). + * Fri Feb 10 2006 Jesse Keating - 2.1-1.2.1 - bump again for double-long bug on ppc(64) From 808882d9c30afd6a5d996e2ed02c20f359f58a86 Mon Sep 17 00:00:00 2001 From: roland Date: Tue, 2 May 2006 03:32:56 +0000 Subject: [PATCH 019/136] oops --- bison.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index c4fb765..48fd529 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.1 -Release: 2 +Release: 3 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 From 6a238aea1c0f7c509a608f7e927ff0abb5690b3f Mon Sep 17 00:00:00 2001 From: roland Date: Tue, 2 May 2006 03:32:56 +0000 Subject: [PATCH 020/136] oops --- bison.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index c4fb765..48fd529 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.1 -Release: 2 +Release: 3 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 From 680eca10150b3929d93d34472e93c99c8e365a4e Mon Sep 17 00:00:00 2001 From: roland Date: Mon, 22 May 2006 08:18:32 +0000 Subject: [PATCH 021/136] Import bison-2.2 tarball from upstream. --- .cvsignore | 2 +- sources | 2 +- upstream | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 807af01..52f7677 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -bison-2.1.tar.bz2 +bison-2.2.tar.bz2 diff --git a/sources b/sources index 24f9734..5bb3f76 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ef3110077462b1140b2ae612626e8486 bison-2.1.tar.bz2 +e345a5d021db850f06ce49eba78af027 bison-2.2.tar.bz2 diff --git a/upstream b/upstream index 807af01..52f7677 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -bison-2.1.tar.bz2 +bison-2.2.tar.bz2 From cb5050ef1d83de06a73a1d5dc0a1726153e8e7e9 Mon Sep 17 00:00:00 2001 From: roland Date: Mon, 22 May 2006 08:18:32 +0000 Subject: [PATCH 022/136] Import bison-2.2 tarball from upstream. --- .cvsignore | 2 +- sources | 2 +- upstream | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 807af01..52f7677 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -bison-2.1.tar.bz2 +bison-2.2.tar.bz2 diff --git a/sources b/sources index 24f9734..5bb3f76 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ef3110077462b1140b2ae612626e8486 bison-2.1.tar.bz2 +e345a5d021db850f06ce49eba78af027 bison-2.2.tar.bz2 diff --git a/upstream b/upstream index 807af01..52f7677 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -bison-2.1.tar.bz2 +bison-2.2.tar.bz2 From d280d6f0c4ff22eb2417ed1a1ee98ef86a916362 Mon Sep 17 00:00:00 2001 From: roland Date: Mon, 22 May 2006 08:25:38 +0000 Subject: [PATCH 023/136] New upstream version 2.2 --- bison.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/bison.spec b/bison.spec index 48fd529..e303b8d 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison -Version: 2.1 -Release: 3 +Version: 2.2 +Release: 1 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -10,8 +10,6 @@ Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root Requires: m4 >= 1.4 -Patch1: bison-2.1-m4_map.patch - %description Bison is a general purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a C program to @@ -52,8 +50,6 @@ Bison manual section for more information. %prep %setup -q -%patch1 -p1 - %build %configure make @@ -85,7 +81,7 @@ fi %files -f %{name}.lang %defattr(-,root,root) -%doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO doc/FAQ +%doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO %{_mandir}/*/bison* %{_datadir}/bison %{_infodir}/bison.info* @@ -102,6 +98,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon May 22 2006 Roland McGrath - 2.2-1 +- New upstream version 2.2 + * Mon May 1 2006 Roland McGrath - 2.1-3 - Fix K&R parser definition when it has no arguments (#190376). From c1714584bae978cd5d07b8732ff7c61c898789a7 Mon Sep 17 00:00:00 2001 From: roland Date: Mon, 22 May 2006 08:25:38 +0000 Subject: [PATCH 024/136] New upstream version 2.2 --- bison.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/bison.spec b/bison.spec index 48fd529..e303b8d 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison -Version: 2.1 -Release: 3 +Version: 2.2 +Release: 1 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -10,8 +10,6 @@ Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root Requires: m4 >= 1.4 -Patch1: bison-2.1-m4_map.patch - %description Bison is a general purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a C program to @@ -52,8 +50,6 @@ Bison manual section for more information. %prep %setup -q -%patch1 -p1 - %build %configure make @@ -85,7 +81,7 @@ fi %files -f %{name}.lang %defattr(-,root,root) -%doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO doc/FAQ +%doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO %{_mandir}/*/bison* %{_datadir}/bison %{_infodir}/bison.info* @@ -102,6 +98,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon May 22 2006 Roland McGrath - 2.2-1 +- New upstream version 2.2 + * Mon May 1 2006 Roland McGrath - 2.1-3 - Fix K&R parser definition when it has no arguments (#190376). From d0f8865fd33845f5a248b9fb3151269c6fb356bc Mon Sep 17 00:00:00 2001 From: roland Date: Wed, 7 Jun 2006 20:14:05 +0000 Subject: [PATCH 025/136] Update to bison-2.3 release --- .cvsignore | 2 +- bison-2.3.tar.bz2.sig | Bin 0 -> 65 bytes bison.spec | 5 ++++- sources | 2 +- upstream | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 bison-2.3.tar.bz2.sig diff --git a/.cvsignore b/.cvsignore index 52f7677..4980d5b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -bison-2.2.tar.bz2 +bison-2.3.tar.bz2 diff --git a/bison-2.3.tar.bz2.sig b/bison-2.3.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000..cdd10e6ac2139a0abe220e87e8e28bd26dfd7b93 GIT binary patch literal 65 zcmV-H0KWf-KLZ5-M1$i0xj$gWwZzU75dt{(0H030sP&<^W~s)zT(r6*Yuf3DP>%qd X2+}w#x(6d3-?PLUW({)Hx@G|b_39oD literal 0 HcmV?d00001 diff --git a/bison.spec b/bison.spec index e303b8d..c8945f8 100644 --- a/bison.spec +++ b/bison.spec @@ -1,6 +1,6 @@ Summary: A GNU general-purpose parser generator. Name: bison -Version: 2.2 +Version: 2.3 Release: 1 License: GPL Group: Development/Tools @@ -98,6 +98,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jun 7 2006 Roland McGrath - 2.3-1 +- New upstream version 2.3 + * Mon May 22 2006 Roland McGrath - 2.2-1 - New upstream version 2.2 diff --git a/sources b/sources index 5bb3f76..fbbd0f9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e345a5d021db850f06ce49eba78af027 bison-2.2.tar.bz2 +c18640c6ec31a169d351e3117ecce3ec bison-2.3.tar.bz2 diff --git a/upstream b/upstream index 52f7677..4980d5b 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -bison-2.2.tar.bz2 +bison-2.3.tar.bz2 From ccbd0d8befef756dcdf7a4f399f47557e5274cf1 Mon Sep 17 00:00:00 2001 From: roland Date: Wed, 7 Jun 2006 20:14:05 +0000 Subject: [PATCH 026/136] Update to bison-2.3 release --- .cvsignore | 2 +- bison-2.3.tar.bz2.sig | Bin 0 -> 65 bytes bison.spec | 5 ++++- sources | 2 +- upstream | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 bison-2.3.tar.bz2.sig diff --git a/.cvsignore b/.cvsignore index 52f7677..4980d5b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -bison-2.2.tar.bz2 +bison-2.3.tar.bz2 diff --git a/bison-2.3.tar.bz2.sig b/bison-2.3.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000..cdd10e6ac2139a0abe220e87e8e28bd26dfd7b93 GIT binary patch literal 65 zcmV-H0KWf-KLZ5-M1$i0xj$gWwZzU75dt{(0H030sP&<^W~s)zT(r6*Yuf3DP>%qd X2+}w#x(6d3-?PLUW({)Hx@G|b_39oD literal 0 HcmV?d00001 diff --git a/bison.spec b/bison.spec index e303b8d..c8945f8 100644 --- a/bison.spec +++ b/bison.spec @@ -1,6 +1,6 @@ Summary: A GNU general-purpose parser generator. Name: bison -Version: 2.2 +Version: 2.3 Release: 1 License: GPL Group: Development/Tools @@ -98,6 +98,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jun 7 2006 Roland McGrath - 2.3-1 +- New upstream version 2.3 + * Mon May 22 2006 Roland McGrath - 2.2-1 - New upstream version 2.2 diff --git a/sources b/sources index 5bb3f76..fbbd0f9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e345a5d021db850f06ce49eba78af027 bison-2.2.tar.bz2 +c18640c6ec31a169d351e3117ecce3ec bison-2.3.tar.bz2 diff --git a/upstream b/upstream index 52f7677..4980d5b 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -bison-2.2.tar.bz2 +bison-2.3.tar.bz2 From 5406575567874ad094827073ed203362947a34db Mon Sep 17 00:00:00 2001 From: roland Date: Wed, 7 Jun 2006 23:07:22 +0000 Subject: [PATCH 027/136] Add BuildRequires on m4. --- bison.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index c8945f8..54a08fa 100644 --- a/bison.spec +++ b/bison.spec @@ -1,13 +1,14 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 1 +Release: 2 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 URL: http://www.gnu.org/software/bison/ Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: m4 >= 1.4 Requires: m4 >= 1.4 %description @@ -98,6 +99,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jun 7 2006 Roland McGrath - 2.3-2 +- Add BuildRequires on m4. + * Wed Jun 7 2006 Roland McGrath - 2.3-1 - New upstream version 2.3 From 2d9db338a464aef750bda5e12641ffbd5ad21108 Mon Sep 17 00:00:00 2001 From: roland Date: Wed, 7 Jun 2006 23:07:22 +0000 Subject: [PATCH 028/136] Add BuildRequires on m4. --- bison.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index c8945f8..54a08fa 100644 --- a/bison.spec +++ b/bison.spec @@ -1,13 +1,14 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 1 +Release: 2 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 URL: http://www.gnu.org/software/bison/ Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: m4 >= 1.4 Requires: m4 >= 1.4 %description @@ -98,6 +99,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jun 7 2006 Roland McGrath - 2.3-2 +- Add BuildRequires on m4. + * Wed Jun 7 2006 Roland McGrath - 2.3-1 - New upstream version 2.3 From d61b1288e60f8e7a68406251ae8ead48ae08937b Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 12 Jul 2006 05:26:54 +0000 Subject: [PATCH 029/136] bumped for rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 54a08fa..f8ce240 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 2 +Release: 2.1 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -99,6 +99,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jul 12 2006 Jesse Keating - 2.3-2.1 +- rebuild + * Wed Jun 7 2006 Roland McGrath - 2.3-2 - Add BuildRequires on m4. From 909372f86683357fafc14f9e09f3ee3186360b6c Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 12 Jul 2006 05:26:54 +0000 Subject: [PATCH 030/136] bumped for rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 54a08fa..f8ce240 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 2 +Release: 2.1 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -99,6 +99,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jul 12 2006 Jesse Keating - 2.3-2.1 +- rebuild + * Wed Jun 7 2006 Roland McGrath - 2.3-2 - Add BuildRequires on m4. From e5dec5b28385fcf8233a876749e601ba333e74aa Mon Sep 17 00:00:00 2001 From: roland Date: Sun, 21 Jan 2007 23:39:54 +0000 Subject: [PATCH 031/136] - Canonicalize post/preun use of install-info. - Resolves: 223679 --- bison.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/bison.spec b/bison.spec index f8ce240..b9f891d 100644 --- a/bison.spec +++ b/bison.spec @@ -1,15 +1,16 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 2.1 +Release: 3 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 URL: http://www.gnu.org/software/bison/ -Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root BuildRequires: m4 >= 1.4 Requires: m4 >= 1.4 +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info %description Bison is a general purpose parser generator that converts a grammar @@ -73,11 +74,11 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %post -/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." +/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : %preun if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." + /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : fi %files -f %{name}.lang @@ -99,6 +100,10 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jan 21 2007 Roland McGrath - 2.3-3 +- Canonicalize post/preun use of install-info. +- Resolves: 223679 + * Wed Jul 12 2006 Jesse Keating - 2.3-2.1 - rebuild From 1629dbe526be040d2ce80e37ffe2f346ecc4e56f Mon Sep 17 00:00:00 2001 From: roland Date: Sun, 21 Jan 2007 23:39:54 +0000 Subject: [PATCH 032/136] - Canonicalize post/preun use of install-info. - Resolves: 223679 --- bison.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/bison.spec b/bison.spec index f8ce240..b9f891d 100644 --- a/bison.spec +++ b/bison.spec @@ -1,15 +1,16 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 2.1 +Release: 3 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 URL: http://www.gnu.org/software/bison/ -Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root BuildRequires: m4 >= 1.4 Requires: m4 >= 1.4 +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info %description Bison is a general purpose parser generator that converts a grammar @@ -73,11 +74,11 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %post -/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." +/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : %preun if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." + /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : fi %files -f %{name}.lang @@ -99,6 +100,10 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jan 21 2007 Roland McGrath - 2.3-3 +- Canonicalize post/preun use of install-info. +- Resolves: 223679 + * Wed Jul 12 2006 Jesse Keating - 2.3-2.1 - rebuild From 77b13fccde3a51594fe6b1b468a19b3984b14133 Mon Sep 17 00:00:00 2001 From: roland Date: Sun, 21 Jan 2007 23:42:08 +0000 Subject: [PATCH 033/136] Use dist tag. --- bison.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index b9f891d..c52db63 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 3 +Release: 3%{?dist} License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 From eb323c00a13814ee057dccf068925794711b4d60 Mon Sep 17 00:00:00 2001 From: roland Date: Sun, 21 Jan 2007 23:42:08 +0000 Subject: [PATCH 034/136] Use dist tag. --- bison.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index b9f891d..c52db63 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 3 +Release: 3%{?dist} License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 From 3e48cc7f6243a261491906f4ac3f36d696c1e43d Mon Sep 17 00:00:00 2001 From: roland Date: Tue, 28 Aug 2007 17:43:17 +0000 Subject: [PATCH 035/136] Update License: tag and rebuild --- bison.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bison.spec b/bison.spec index c52db63..3fe1b9f 100644 --- a/bison.spec +++ b/bison.spec @@ -1,8 +1,8 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 3%{?dist} -License: GPL +Release: 4%{?dist} +License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 URL: http://www.gnu.org/software/bison/ @@ -100,6 +100,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Tue Aug 28 2007 Roland McGrath - 2.3-4 +- Canonicalize License tag. + * Sun Jan 21 2007 Roland McGrath - 2.3-3 - Canonicalize post/preun use of install-info. - Resolves: 223679 From 20cd11006ec1c6bd94fdea89728f3305b87d1b31 Mon Sep 17 00:00:00 2001 From: roland Date: Tue, 28 Aug 2007 17:43:17 +0000 Subject: [PATCH 036/136] Update License: tag and rebuild --- bison.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bison.spec b/bison.spec index c52db63..3fe1b9f 100644 --- a/bison.spec +++ b/bison.spec @@ -1,8 +1,8 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 3%{?dist} -License: GPL +Release: 4%{?dist} +License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 URL: http://www.gnu.org/software/bison/ @@ -100,6 +100,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Tue Aug 28 2007 Roland McGrath - 2.3-4 +- Canonicalize License tag. + * Sun Jan 21 2007 Roland McGrath - 2.3-3 - Canonicalize post/preun use of install-info. - Resolves: 223679 From c53f5532c31c06764ae56f3537fb2d839348d87a Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 15 Oct 2007 18:38:35 +0000 Subject: [PATCH 037/136] makefile update to properly grab makefile.common --- Makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index db207f5..9a22653 100644 --- a/Makefile +++ b/Makefile @@ -6,4 +6,19 @@ SPECFILE = $(firstword $(wildcard *.spec)) # Check the right flavor of signature file for ftp.gnu.org site. UPSTREAM_CHECKS = sig -include ../common/Makefile.common +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attempt a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) From b9487a5d03451c23b0f63cf51e6fd2577945bf53 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 15 Oct 2007 18:38:35 +0000 Subject: [PATCH 038/136] makefile update to properly grab makefile.common --- Makefile | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3cb3d82..768674f 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,24 @@ # Makefile for source rpm: bison -# $Id: Makefile,v 1.1 2004/09/09 03:30:13 cvsdist Exp $ +# $Id: Makefile,v 1.2 2005/01/22 07:11:02 roland Exp $ NAME := bison SPECFILE = $(firstword $(wildcard *.spec)) # Check the right flavor of signature file for ftp.gnu.org site. UPSTREAM_CHECKS = sig -include ../common/Makefile.common +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attempt a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) From 7f4fb4fa7c580d8cbcb8587a92853ba0e2484517 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 19 Feb 2008 19:53:29 +0000 Subject: [PATCH 039/136] - Autorebuild for GCC 4.3 --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 3fe1b9f..f442390 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -100,6 +100,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Tue Feb 19 2008 Fedora Release Engineering - 2.3-5 +- Autorebuild for GCC 4.3 + * Tue Aug 28 2007 Roland McGrath - 2.3-4 - Canonicalize License tag. From 7cffe6092d7ea19161546495ad1b7da4093d84cb Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 19 Feb 2008 19:53:29 +0000 Subject: [PATCH 040/136] - Autorebuild for GCC 4.3 --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 3fe1b9f..f442390 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -100,6 +100,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Tue Feb 19 2008 Fedora Release Engineering - 2.3-5 +- Autorebuild for GCC 4.3 + * Tue Aug 28 2007 Roland McGrath - 2.3-4 - Canonicalize License tag. From ccc92c3fe973559842fff44e3476de2df30776bb Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Mon, 15 Sep 2008 13:17:57 +0000 Subject: [PATCH 041/136] Cleanup per merge review --- bison.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/bison.spec b/bison.spec index f442390..376be5a 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ -Summary: A GNU general-purpose parser generator. +Summary: A GNU general-purpose parser generator Name: bison Version: 2.3 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -81,6 +81,8 @@ if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : fi +# The distribution contains also source files. These are used by m4 +# when the target parser file is generated. %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO @@ -100,6 +102,12 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Sep 15 2008 Petr Machata - 2.3-6 +- Merge review: + - Drop terminating dot from Summary + - Escape macros inadvertently left in changelog + - Explain why are there source files in the main package + * Tue Feb 19 2008 Fedora Release Engineering - 2.3-5 - Autorebuild for GCC 4.3 @@ -148,7 +156,7 @@ rm -rf $RPM_BUILD_ROOT - update upstream URLs, add doc files (#144346) * Thu Jan 6 2005 Roland McGrath - 2.0-3 -- missing %defattr for subpackage +- missing %%defattr for subpackage * Thu Jan 6 2005 Roland McGrath - 2.0-2 - split liby.a into bison-devel package From 59c03ee6dacd18593e37461a9c341a5b49b14fb5 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Mon, 15 Sep 2008 13:17:57 +0000 Subject: [PATCH 042/136] Cleanup per merge review --- bison.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/bison.spec b/bison.spec index f442390..376be5a 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ -Summary: A GNU general-purpose parser generator. +Summary: A GNU general-purpose parser generator Name: bison Version: 2.3 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -81,6 +81,8 @@ if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : fi +# The distribution contains also source files. These are used by m4 +# when the target parser file is generated. %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO @@ -100,6 +102,12 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Sep 15 2008 Petr Machata - 2.3-6 +- Merge review: + - Drop terminating dot from Summary + - Escape macros inadvertently left in changelog + - Explain why are there source files in the main package + * Tue Feb 19 2008 Fedora Release Engineering - 2.3-5 - Autorebuild for GCC 4.3 @@ -148,7 +156,7 @@ rm -rf $RPM_BUILD_ROOT - update upstream URLs, add doc files (#144346) * Thu Jan 6 2005 Roland McGrath - 2.0-3 -- missing %defattr for subpackage +- missing %%defattr for subpackage * Thu Jan 6 2005 Roland McGrath - 2.0-2 - split liby.a into bison-devel package From c1a1cdd1ee85fffa65682b5ccc41c6500d15f5f3 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Mon, 15 Sep 2008 15:21:02 +0000 Subject: [PATCH 043/136] More merge review changes. --- bison.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bison.spec b/bison.spec index 376be5a..a94392a 100644 --- a/bison.spec +++ b/bison.spec @@ -38,6 +38,16 @@ using Bison, you might want to link with this library. This library is not required by all Bison-generated parsers, but may be employed by simple programs to supply minimal support for the generated parsers. +# -ly is kept static. It only contains two symbols: main and yyerror, +# and both of these are extremely simple (couple lines of C total). +# It doesn't really pay off to introduce a shared library for that. +# +# Therefore -devel subpackage could have been created as -static, but +# the split was done in Jan 2005, which predates current guidelines. +# Besides there is logic to that: the library is devel in the sense +# that the generated parser could be distributed together with other +# sources, and only bison-devel would be necessary to wrap the build. + %package runtime Summary: Runtime support files used by Bison-generated parsers Group: Development/Libraries From 6c7ed391873c24f336f2048da29894dbe504d21e Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Mon, 15 Sep 2008 15:21:02 +0000 Subject: [PATCH 044/136] More merge review changes. --- bison.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bison.spec b/bison.spec index 376be5a..a94392a 100644 --- a/bison.spec +++ b/bison.spec @@ -38,6 +38,16 @@ using Bison, you might want to link with this library. This library is not required by all Bison-generated parsers, but may be employed by simple programs to supply minimal support for the generated parsers. +# -ly is kept static. It only contains two symbols: main and yyerror, +# and both of these are extremely simple (couple lines of C total). +# It doesn't really pay off to introduce a shared library for that. +# +# Therefore -devel subpackage could have been created as -static, but +# the split was done in Jan 2005, which predates current guidelines. +# Besides there is logic to that: the library is devel in the sense +# that the generated parser could be distributed together with other +# sources, and only bison-devel would be necessary to wrap the build. + %package runtime Summary: Runtime support files used by Bison-generated parsers Group: Development/Libraries From 57e649a2b4828cbffcfed2773736a5127769efb0 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Thu, 20 Nov 2008 14:33:52 +0000 Subject: [PATCH 045/136] - Rebase to 2.4 - Resolves: #471183 --- .cvsignore | 2 +- bison-2.4-reap_subpipe.patch | 87 ++++++++++++++++++++++++++++++++++++ bison.spec | 13 ++++-- sources | 2 +- 4 files changed, 99 insertions(+), 5 deletions(-) create mode 100644 bison-2.4-reap_subpipe.patch diff --git a/.cvsignore b/.cvsignore index 4980d5b..45e50f0 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -bison-2.3.tar.bz2 +bison-2.4.tar.bz2 diff --git a/bison-2.4-reap_subpipe.patch b/bison-2.4-reap_subpipe.patch new file mode 100644 index 0000000..3f72c3e --- /dev/null +++ b/bison-2.4-reap_subpipe.patch @@ -0,0 +1,87 @@ +diff -urp bison-2.4-pm/lib/subpipe.c bison-2.4/lib/subpipe.c +--- bison-2.4-pm/lib/subpipe.c 2008-07-14 10:56:12.000000000 +0200 ++++ bison-2.4/lib/subpipe.c 2008-11-20 14:37:42.000000000 +0100 +@@ -143,7 +143,9 @@ create_subpipe (char const * const *argv + } + + +-/* Wait for the subprocess to exit. */ ++/* Wait for the subprocess to exit. PROGRAM==NULL means errors ++ shouldn't be emitted, typically becuase we are reaping the subpipe ++ in response to some other error. */ + + void + reap_subpipe (pid_t pid, char const *program) +@@ -151,11 +153,14 @@ reap_subpipe (pid_t pid, char const *pro + #if HAVE_WAITPID || defined waitpid + int wstatus; + if (waitpid (pid, &wstatus, 0) < 0) +- error (EXIT_FAILURE, errno, "waitpid"); ++ { ++ if (program) ++ error (EXIT_FAILURE, errno, "waitpid"); ++ } + else + { + int status = WIFEXITED (wstatus) ? WEXITSTATUS (wstatus) : -1; +- if (status) ++ if (status && program) + error (EXIT_FAILURE, 0, + _(status == 126 + ? "subsidiary program `%s' could not be invoked" +diff -urp bison-2.4-pm/src/output.c bison-2.4/src/output.c +--- bison-2.4-pm/src/output.c 2008-11-02 19:09:10.000000000 +0100 ++++ bison-2.4/src/output.c 2008-11-20 14:39:08.000000000 +0100 +@@ -467,6 +467,21 @@ prepare_actions (void) + | Call the skeleton parser. | + `---------------------------*/ + ++static pid_t pid = 0; ++ ++/* Clean up opened pipe. */ ++static void ++die (void) ++{ ++ static int dying = 0; ++ if (pid && !dying) ++ { ++ dying = 1; ++ reap_subpipe (pid, NULL); ++ pid = 0; ++ } ++} ++ + static void + output_skeleton (void) + { +@@ -474,7 +489,6 @@ output_skeleton (void) + FILE *out; + int filter_fd[2]; + char const *argv[9]; +- pid_t pid; + + /* Compute the names of the package data dir and skeleton files. */ + char const m4sugar[] = "m4sugar/m4sugar.m4"; +@@ -586,6 +600,7 @@ output_skeleton (void) + scan_skel (in); + xfclose (in); + reap_subpipe (pid, m4); ++ pid = 0; + timevar_pop (TV_M4); + } + +@@ -653,6 +669,14 @@ prepare (void) + void + output (void) + { ++ /* Register shutdown handler. */ ++ static int registered = 0; ++ if (!registered) ++ { ++ registered = 1; ++ atexit (die); ++ } ++ + obstack_init (&format_obstack); + + prepare_symbols (); diff --git a/bison.spec b/bison.spec index a94392a..5af8a48 100644 --- a/bison.spec +++ b/bison.spec @@ -1,13 +1,14 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 2.3 -Release: 6%{?dist} +Version: 2.4 +Release: 1%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 +Patch1: bison-2.4-reap_subpipe.patch URL: http://www.gnu.org/software/bison/ BuildRoot: %{_tmppath}/%{name}-root -BuildRequires: m4 >= 1.4 +BuildRequires: m4 >= 1.4 java-1.6.0-openjdk-devel Requires: m4 >= 1.4 Requires(post): /sbin/install-info Requires(preun): /sbin/install-info @@ -61,6 +62,7 @@ Bison manual section for more information. %prep %setup -q +%patch1 -p1 %build %configure @@ -77,6 +79,7 @@ rm -rf $RPM_BUILD_ROOT # Remove unpackaged files. rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc rm -f $RPM_BUILD_ROOT/%{_infodir}/dir +rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc* %find_lang %{name} %find_lang %{name}-runtime @@ -112,6 +115,10 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Nov 12 2008 Petr Machata - 2.4-1 +- Rebase to 2.4 +- Resolves: #471183 + * Mon Sep 15 2008 Petr Machata - 2.3-6 - Merge review: - Drop terminating dot from Summary diff --git a/sources b/sources index fbbd0f9..8d8cebd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c18640c6ec31a169d351e3117ecce3ec bison-2.3.tar.bz2 +f95cc7d7f5290157a23216391dec610d bison-2.4.tar.bz2 From 04f3d2917a270bcdd4da8e040a40af06b921337e Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Thu, 20 Nov 2008 14:33:52 +0000 Subject: [PATCH 046/136] - Rebase to 2.4 - Resolves: #471183 --- .cvsignore | 2 +- bison-2.4-reap_subpipe.patch | 87 ++++++++++++++++++++++++++++++++++++ bison.spec | 13 ++++-- sources | 2 +- 4 files changed, 99 insertions(+), 5 deletions(-) create mode 100644 bison-2.4-reap_subpipe.patch diff --git a/.cvsignore b/.cvsignore index 4980d5b..45e50f0 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -bison-2.3.tar.bz2 +bison-2.4.tar.bz2 diff --git a/bison-2.4-reap_subpipe.patch b/bison-2.4-reap_subpipe.patch new file mode 100644 index 0000000..3f72c3e --- /dev/null +++ b/bison-2.4-reap_subpipe.patch @@ -0,0 +1,87 @@ +diff -urp bison-2.4-pm/lib/subpipe.c bison-2.4/lib/subpipe.c +--- bison-2.4-pm/lib/subpipe.c 2008-07-14 10:56:12.000000000 +0200 ++++ bison-2.4/lib/subpipe.c 2008-11-20 14:37:42.000000000 +0100 +@@ -143,7 +143,9 @@ create_subpipe (char const * const *argv + } + + +-/* Wait for the subprocess to exit. */ ++/* Wait for the subprocess to exit. PROGRAM==NULL means errors ++ shouldn't be emitted, typically becuase we are reaping the subpipe ++ in response to some other error. */ + + void + reap_subpipe (pid_t pid, char const *program) +@@ -151,11 +153,14 @@ reap_subpipe (pid_t pid, char const *pro + #if HAVE_WAITPID || defined waitpid + int wstatus; + if (waitpid (pid, &wstatus, 0) < 0) +- error (EXIT_FAILURE, errno, "waitpid"); ++ { ++ if (program) ++ error (EXIT_FAILURE, errno, "waitpid"); ++ } + else + { + int status = WIFEXITED (wstatus) ? WEXITSTATUS (wstatus) : -1; +- if (status) ++ if (status && program) + error (EXIT_FAILURE, 0, + _(status == 126 + ? "subsidiary program `%s' could not be invoked" +diff -urp bison-2.4-pm/src/output.c bison-2.4/src/output.c +--- bison-2.4-pm/src/output.c 2008-11-02 19:09:10.000000000 +0100 ++++ bison-2.4/src/output.c 2008-11-20 14:39:08.000000000 +0100 +@@ -467,6 +467,21 @@ prepare_actions (void) + | Call the skeleton parser. | + `---------------------------*/ + ++static pid_t pid = 0; ++ ++/* Clean up opened pipe. */ ++static void ++die (void) ++{ ++ static int dying = 0; ++ if (pid && !dying) ++ { ++ dying = 1; ++ reap_subpipe (pid, NULL); ++ pid = 0; ++ } ++} ++ + static void + output_skeleton (void) + { +@@ -474,7 +489,6 @@ output_skeleton (void) + FILE *out; + int filter_fd[2]; + char const *argv[9]; +- pid_t pid; + + /* Compute the names of the package data dir and skeleton files. */ + char const m4sugar[] = "m4sugar/m4sugar.m4"; +@@ -586,6 +600,7 @@ output_skeleton (void) + scan_skel (in); + xfclose (in); + reap_subpipe (pid, m4); ++ pid = 0; + timevar_pop (TV_M4); + } + +@@ -653,6 +669,14 @@ prepare (void) + void + output (void) + { ++ /* Register shutdown handler. */ ++ static int registered = 0; ++ if (!registered) ++ { ++ registered = 1; ++ atexit (die); ++ } ++ + obstack_init (&format_obstack); + + prepare_symbols (); diff --git a/bison.spec b/bison.spec index a94392a..5af8a48 100644 --- a/bison.spec +++ b/bison.spec @@ -1,13 +1,14 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 2.3 -Release: 6%{?dist} +Version: 2.4 +Release: 1%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 +Patch1: bison-2.4-reap_subpipe.patch URL: http://www.gnu.org/software/bison/ BuildRoot: %{_tmppath}/%{name}-root -BuildRequires: m4 >= 1.4 +BuildRequires: m4 >= 1.4 java-1.6.0-openjdk-devel Requires: m4 >= 1.4 Requires(post): /sbin/install-info Requires(preun): /sbin/install-info @@ -61,6 +62,7 @@ Bison manual section for more information. %prep %setup -q +%patch1 -p1 %build %configure @@ -77,6 +79,7 @@ rm -rf $RPM_BUILD_ROOT # Remove unpackaged files. rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc rm -f $RPM_BUILD_ROOT/%{_infodir}/dir +rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc* %find_lang %{name} %find_lang %{name}-runtime @@ -112,6 +115,10 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Nov 12 2008 Petr Machata - 2.4-1 +- Rebase to 2.4 +- Resolves: #471183 + * Mon Sep 15 2008 Petr Machata - 2.3-6 - Merge review: - Drop terminating dot from Summary diff --git a/sources b/sources index fbbd0f9..8d8cebd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c18640c6ec31a169d351e3117ecce3ec bison-2.3.tar.bz2 +f95cc7d7f5290157a23216391dec610d bison-2.4.tar.bz2 From 12e15d5fc6fff2fdf22c7a8dc7b10cfade675f51 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Thu, 20 Nov 2008 14:35:29 +0000 Subject: [PATCH 047/136] And force-tag doesn't work anymore. --- bison.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bison.spec b/bison.spec index 5af8a48..b6394c2 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -115,7 +115,7 @@ fi rm -rf $RPM_BUILD_ROOT %changelog -* Wed Nov 12 2008 Petr Machata - 2.4-1 +* Wed Nov 12 2008 Petr Machata - 2.4-2 - Rebase to 2.4 - Resolves: #471183 From c58a535b2c95017377243f60d8eecac87d61ef90 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Thu, 20 Nov 2008 14:35:29 +0000 Subject: [PATCH 048/136] And force-tag doesn't work anymore. --- bison.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bison.spec b/bison.spec index 5af8a48..b6394c2 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -115,7 +115,7 @@ fi rm -rf $RPM_BUILD_ROOT %changelog -* Wed Nov 12 2008 Petr Machata - 2.4-1 +* Wed Nov 12 2008 Petr Machata - 2.4-2 - Rebase to 2.4 - Resolves: #471183 From 97fd4650499d1e46f49112e365585cbf31e7d193 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Sun, 28 Dec 2008 16:44:51 +0000 Subject: [PATCH 049/136] Rebase to 2.4.1 --- .cvsignore | 1 + bison-2.4.1.tar.bz2.sig | Bin 0 -> 65 bytes bison.spec | 8 ++++++-- sources | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 bison-2.4.1.tar.bz2.sig diff --git a/.cvsignore b/.cvsignore index 45e50f0..4c5ae6e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ bison-2.4.tar.bz2 +bison-2.4.1.tar.bz2 diff --git a/bison-2.4.1.tar.bz2.sig b/bison-2.4.1.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000..189ff8fb878f252a11ea967d6fb880ab768fc266 GIT binary patch literal 65 zcmV-H0KWf-KLZ5-NkNiRAWQJ+@g=?U5dxo(0G~tQ)z0) - 2.4.1-1 +- Rebase to 2.4.1 +- Resolves: #478348 + * Wed Nov 12 2008 Petr Machata - 2.4-2 - Rebase to 2.4 - Resolves: #471183 diff --git a/sources b/sources index 8d8cebd..5112b04 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f95cc7d7f5290157a23216391dec610d bison-2.4.tar.bz2 +84e80a2a192c1a4c02d43fbf2bcc4ca4 bison-2.4.1.tar.bz2 From 6d1ed1ba2d96bf09063f913186591ff1d1d1233c Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Sun, 28 Dec 2008 16:44:51 +0000 Subject: [PATCH 050/136] Rebase to 2.4.1 --- .cvsignore | 1 + bison-2.4.1.tar.bz2.sig | Bin 0 -> 65 bytes bison.spec | 8 ++++++-- sources | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 bison-2.4.1.tar.bz2.sig diff --git a/.cvsignore b/.cvsignore index 45e50f0..4c5ae6e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ bison-2.4.tar.bz2 +bison-2.4.1.tar.bz2 diff --git a/bison-2.4.1.tar.bz2.sig b/bison-2.4.1.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000..189ff8fb878f252a11ea967d6fb880ab768fc266 GIT binary patch literal 65 zcmV-H0KWf-KLZ5-NkNiRAWQJ+@g=?U5dxo(0G~tQ)z0) - 2.4.1-1 +- Rebase to 2.4.1 +- Resolves: #478348 + * Wed Nov 12 2008 Petr Machata - 2.4-2 - Rebase to 2.4 - Resolves: #471183 diff --git a/sources b/sources index 8d8cebd..5112b04 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f95cc7d7f5290157a23216391dec610d bison-2.4.tar.bz2 +84e80a2a192c1a4c02d43fbf2bcc4ca4 bison-2.4.1.tar.bz2 From dfa03d7b40199b1e207354311ffd64503423a155 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Sun, 28 Dec 2008 18:05:21 +0000 Subject: [PATCH 051/136] Drop obsolet 2.3 signature. --- bison-2.3.tar.bz2.sig | Bin 65 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 bison-2.3.tar.bz2.sig diff --git a/bison-2.3.tar.bz2.sig b/bison-2.3.tar.bz2.sig deleted file mode 100644 index cdd10e6ac2139a0abe220e87e8e28bd26dfd7b93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 65 zcmV-H0KWf-KLZ5-M1$i0xj$gWwZzU75dt{(0H030sP&<^W~s)zT(r6*Yuf3DP>%qd X2+}w#x(6d3-?PLUW({)Hx@G|b_39oD From 51e98caf82d510687b225953a77a26f0d75633c1 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Sun, 28 Dec 2008 18:05:21 +0000 Subject: [PATCH 052/136] Drop obsolet 2.3 signature. --- bison-2.3.tar.bz2.sig | Bin 65 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 bison-2.3.tar.bz2.sig diff --git a/bison-2.3.tar.bz2.sig b/bison-2.3.tar.bz2.sig deleted file mode 100644 index cdd10e6ac2139a0abe220e87e8e28bd26dfd7b93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 65 zcmV-H0KWf-KLZ5-M1$i0xj$gWwZzU75dt{(0H030sP&<^W~s)zT(r6*Yuf3DP>%qd X2+}w#x(6d3-?PLUW({)Hx@G|b_39oD From 1f39a128446c5876b361aa6929766fd4a764a09e Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 24 Feb 2009 04:48:24 +0000 Subject: [PATCH 053/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 4fa97f7..a881fdf 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.4.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -115,6 +115,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Feb 23 2009 Fedora Release Engineering - 2.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Sun Dec 28 2008 Petr Machata - 2.4.1-1 - Rebase to 2.4.1 - Resolves: #478348 From 281f6d8bc187ed6dd6e58b9ea8e15e7cbf36a1d0 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 24 Feb 2009 04:48:24 +0000 Subject: [PATCH 054/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 4fa97f7..a881fdf 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.4.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -115,6 +115,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Feb 23 2009 Fedora Release Engineering - 2.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Sun Dec 28 2008 Petr Machata - 2.4.1-1 - Rebase to 2.4.1 - Resolves: #478348 From bf8a0c0eac548c4dd658806d6559663d1c921c32 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 24 Jul 2009 18:05:29 +0000 Subject: [PATCH 055/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index a881fdf..9e67045 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.4.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -115,6 +115,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jul 24 2009 Fedora Release Engineering - 2.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Mon Feb 23 2009 Fedora Release Engineering - 2.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild From 2ebb743ed5f2ad2c0f9992d18173531ec9cc09cf Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 24 Jul 2009 18:05:29 +0000 Subject: [PATCH 056/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index a881fdf..9e67045 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.4.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -115,6 +115,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jul 24 2009 Fedora Release Engineering - 2.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Mon Feb 23 2009 Fedora Release Engineering - 2.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild From 6ac195f36c1f9fb9c992216608a6bbc3ecfc0641 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Mon, 24 Aug 2009 12:11:09 +0000 Subject: [PATCH 057/136] - Fix installation with --excludedocs - Resolves: #515939 --- bison.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/bison.spec b/bison.spec index 9e67045..13afe7a 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.4.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -87,11 +87,15 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc* gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %post -/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : +if [ -f %{_infodir}/bison.info.gz ]; then # for --excludedocs + /sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : +fi %preun if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : + if [ -f %{_infodir}/bison.info.gz ]; then # for --excludedocs + /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : + fi fi # The distribution contains also source files. These are used by m4 @@ -115,6 +119,10 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Aug 24 2009 Petr Machata - 2.4.1-4 +- Fix installation with --excludedocs +- Resolves: #515939 + * Fri Jul 24 2009 Fedora Release Engineering - 2.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From 35c72a918a7557972bf73940ac21a035acd9dd11 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Mon, 24 Aug 2009 12:11:09 +0000 Subject: [PATCH 058/136] - Fix installation with --excludedocs - Resolves: #515939 --- bison.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/bison.spec b/bison.spec index 9e67045..13afe7a 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.4.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -87,11 +87,15 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc* gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %post -/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : +if [ -f %{_infodir}/bison.info.gz ]; then # for --excludedocs + /sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : +fi %preun if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : + if [ -f %{_infodir}/bison.info.gz ]; then # for --excludedocs + /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : + fi fi # The distribution contains also source files. These are used by m4 @@ -115,6 +119,10 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Aug 24 2009 Petr Machata - 2.4.1-4 +- Fix installation with --excludedocs +- Resolves: #515939 + * Fri Jul 24 2009 Fedora Release Engineering - 2.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From 6666f880fb7e98dd96110ffd22a479e30f48a070 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 29 Sep 2009 04:34:18 +0000 Subject: [PATCH 059/136] Initialize branch F-12 for bison --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..06de2d2 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-12 From aa584ce746e074066fec10f5f383f73aee3985ed Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 22:44:39 +0000 Subject: [PATCH 060/136] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 768674f..53c8ae1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Makefile for source rpm: bison -# $Id: Makefile,v 1.2 2005/01/22 07:11:02 roland Exp $ +# $Id: Makefile,v 1.3 2007/10/15 18:38:35 notting Exp $ NAME := bison SPECFILE = $(firstword $(wildcard *.spec)) @@ -7,7 +7,7 @@ SPECFILE = $(firstword $(wildcard *.spec)) UPSTREAM_CHECKS = sig define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From aa677bb4237c551a45407f62707ce5c2577423d0 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:20:20 +0000 Subject: [PATCH 061/136] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9a22653..fdf79b1 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ SPECFILE = $(firstword $(wildcard *.spec)) UPSTREAM_CHECKS = sig define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 7594881163efaee349452a8b6800cd0e5b29516d Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Fri, 5 Mar 2010 15:02:15 +0000 Subject: [PATCH 062/136] - Fix the license tag - Install COPYING --- bison.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/bison.spec b/bison.spec index 13afe7a..085c535 100644 --- a/bison.spec +++ b/bison.spec @@ -1,8 +1,8 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.4.1 -Release: 4%{?dist} -License: GPLv2+ +Release: 5%{?dist} +License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 Patch1: bison-2.4-reap_subpipe.patch @@ -102,7 +102,7 @@ fi # when the target parser file is generated. %files -f %{name}.lang %defattr(-,root,root) -%doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO +%doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO COPYING %{_mandir}/*/bison* %{_datadir}/bison %{_infodir}/bison.info* @@ -110,8 +110,10 @@ fi %{_datadir}/aclocal/bison*.m4 %files -f %{name}-runtime.lang runtime +%doc COPYING %files devel +%doc COPYING %defattr(-,root,root) %{_libdir}/liby.a @@ -119,6 +121,10 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri Mar 5 2010 Petr Machata - 2.4.1-5 +- Fix the license tag +- Install COPYING + * Mon Aug 24 2009 Petr Machata - 2.4.1-4 - Fix installation with --excludedocs - Resolves: #515939 From 4ff6b59cdba305412f102d67e7c021804d818cf6 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Wed, 7 Apr 2010 14:43:57 +0000 Subject: [PATCH 063/136] - Rebase to 2.4.2 - Drop reap_subpipe patch, upstream has a fix - Resolves: #576513 --- .cvsignore | 1 + bison-2.4-reap_subpipe.patch | 87 ------------------------------------ bison.spec | 11 +++-- sources | 2 +- 4 files changed, 9 insertions(+), 92 deletions(-) delete mode 100644 bison-2.4-reap_subpipe.patch diff --git a/.cvsignore b/.cvsignore index 4c5ae6e..bd78480 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,3 @@ bison-2.4.tar.bz2 bison-2.4.1.tar.bz2 +bison-2.4.2.tar.bz2 diff --git a/bison-2.4-reap_subpipe.patch b/bison-2.4-reap_subpipe.patch deleted file mode 100644 index 3f72c3e..0000000 --- a/bison-2.4-reap_subpipe.patch +++ /dev/null @@ -1,87 +0,0 @@ -diff -urp bison-2.4-pm/lib/subpipe.c bison-2.4/lib/subpipe.c ---- bison-2.4-pm/lib/subpipe.c 2008-07-14 10:56:12.000000000 +0200 -+++ bison-2.4/lib/subpipe.c 2008-11-20 14:37:42.000000000 +0100 -@@ -143,7 +143,9 @@ create_subpipe (char const * const *argv - } - - --/* Wait for the subprocess to exit. */ -+/* Wait for the subprocess to exit. PROGRAM==NULL means errors -+ shouldn't be emitted, typically becuase we are reaping the subpipe -+ in response to some other error. */ - - void - reap_subpipe (pid_t pid, char const *program) -@@ -151,11 +153,14 @@ reap_subpipe (pid_t pid, char const *pro - #if HAVE_WAITPID || defined waitpid - int wstatus; - if (waitpid (pid, &wstatus, 0) < 0) -- error (EXIT_FAILURE, errno, "waitpid"); -+ { -+ if (program) -+ error (EXIT_FAILURE, errno, "waitpid"); -+ } - else - { - int status = WIFEXITED (wstatus) ? WEXITSTATUS (wstatus) : -1; -- if (status) -+ if (status && program) - error (EXIT_FAILURE, 0, - _(status == 126 - ? "subsidiary program `%s' could not be invoked" -diff -urp bison-2.4-pm/src/output.c bison-2.4/src/output.c ---- bison-2.4-pm/src/output.c 2008-11-02 19:09:10.000000000 +0100 -+++ bison-2.4/src/output.c 2008-11-20 14:39:08.000000000 +0100 -@@ -467,6 +467,21 @@ prepare_actions (void) - | Call the skeleton parser. | - `---------------------------*/ - -+static pid_t pid = 0; -+ -+/* Clean up opened pipe. */ -+static void -+die (void) -+{ -+ static int dying = 0; -+ if (pid && !dying) -+ { -+ dying = 1; -+ reap_subpipe (pid, NULL); -+ pid = 0; -+ } -+} -+ - static void - output_skeleton (void) - { -@@ -474,7 +489,6 @@ output_skeleton (void) - FILE *out; - int filter_fd[2]; - char const *argv[9]; -- pid_t pid; - - /* Compute the names of the package data dir and skeleton files. */ - char const m4sugar[] = "m4sugar/m4sugar.m4"; -@@ -586,6 +600,7 @@ output_skeleton (void) - scan_skel (in); - xfclose (in); - reap_subpipe (pid, m4); -+ pid = 0; - timevar_pop (TV_M4); - } - -@@ -653,6 +669,14 @@ prepare (void) - void - output (void) - { -+ /* Register shutdown handler. */ -+ static int registered = 0; -+ if (!registered) -+ { -+ registered = 1; -+ atexit (die); -+ } -+ - obstack_init (&format_obstack); - - prepare_symbols (); diff --git a/bison.spec b/bison.spec index 085c535..ccf083c 100644 --- a/bison.spec +++ b/bison.spec @@ -1,11 +1,10 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 2.4.1 -Release: 5%{?dist} +Version: 2.4.2 +Release: 1%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 -Patch1: bison-2.4-reap_subpipe.patch URL: http://www.gnu.org/software/bison/ BuildRoot: %{_tmppath}/%{name}-root BuildRequires: m4 >= 1.4 java-1.6.0-openjdk-devel @@ -62,7 +61,6 @@ Bison manual section for more information. %prep %setup -q -%patch1 -p1 %build %configure @@ -121,6 +119,11 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Apr 7 2010 Petr Machata - 2.4.2-1 +- Rebase to 2.4.2 +- Drop reap_subpipe patch, upstream has a fix +- Resolves: #576513 + * Fri Mar 5 2010 Petr Machata - 2.4.1-5 - Fix the license tag - Install COPYING diff --git a/sources b/sources index 5112b04..ba5ff9b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -84e80a2a192c1a4c02d43fbf2bcc4ca4 bison-2.4.1.tar.bz2 +63584004613aaef2d3dca19088eb1654 bison-2.4.2.tar.bz2 From 3430072174f73af29400b721e746d01387243a5a Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Thu, 8 Apr 2010 20:24:43 +0000 Subject: [PATCH 064/136] - Disable the mysteriously failing test no. 67. Details in associated bugreport. (bison-2.4.2-drop-test-67.patch) - Resolves: #576513 --- bison-2.4.2-drop-test-67.patch | 51 ++++++++++++++++++++++++++++++++++ bison.spec | 13 ++++++++- 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 bison-2.4.2-drop-test-67.patch diff --git a/bison-2.4.2-drop-test-67.patch b/bison-2.4.2-drop-test-67.patch new file mode 100644 index 0000000..20514ab --- /dev/null +++ b/bison-2.4.2-drop-test-67.patch @@ -0,0 +1,51 @@ +diff -up bison-2.4.2/tests/skeletons.at\~ bison-2.4.2/tests/skeletons.at +--- bison-2.4.2/tests/skeletons.at~ 2010-02-23 01:04:09.000000000 +0100 ++++ bison-2.4.2/tests/skeletons.at 2010-04-08 20:28:49.000000000 +0200 +@@ -288,45 +288,3 @@ foo.y:1.5-6: fatal error: M4 should exit + ]]) + + AT_CLEANUP +- +- +-## ------------------------------------------------ ## +-## Fatal errors but M4 continues producing output. ## +-## ------------------------------------------------ ## +- +-# At one time, if Bison encountered a fatal error during M4 processing, +-# Bison failed to drain M4's output pipe. The result was a SIGPIPE. +-# On some platforms, the default disposition for SIGPIPE is terminate, +-# which was fine. On others, it's ignore, which caused M4 to report +-# the broken pipe to the user, but we don't want to bother the user with +-# that. +- +-# There is a race condition somewhere. That is, before the associated +-# fix, running this test group many times in a row would occasionally +-# produce a pass among all the failures. +- +-AT_SETUP([[Fatal errors but M4 continues producing output]]) +- +-AT_DATA([[gen-skel.pl]], +-[[use warnings; +-use strict; +-my $M4 = "m4"; +-my $DNL = "d"."nl"; +-print "${M4}_divert_push(0)$DNL\n"; +-print '@output(@,@)', "\n"; +-(print "garbage"x10, "\n") for (1..1000); +-print "${M4}_divert_pop(0)\n"; +-]]) +-AT_CHECK([[perl gen-skel.pl > skel.c || exit 77]]) +- +-AT_DATA([[input.y]], +-[[%skeleton "./skel.c" +-%% +-start: ; +-]]) +- +-AT_BISON_CHECK([[input.y]], [[1]], [[]], +-[[input.y: fatal error: too many arguments for @output directive in skeleton +-]]) +- +-AT_CLEANUP + +Diff finished. Thu Apr 8 20:28:56 2010 diff --git a/bison.spec b/bison.spec index ccf083c..4cb1c7b 100644 --- a/bison.spec +++ b/bison.spec @@ -1,10 +1,15 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.4.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 + +# testsuite patch and a dependency +Patch0: bison-2.4.2-drop-test-67.patch +BuildRequires: autoconf + URL: http://www.gnu.org/software/bison/ BuildRoot: %{_tmppath}/%{name}-root BuildRequires: m4 >= 1.4 java-1.6.0-openjdk-devel @@ -61,6 +66,7 @@ Bison manual section for more information. %prep %setup -q +%patch0 -p1 %build %configure @@ -119,6 +125,11 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Thu Apr 8 2010 Petr Machata - 2.4.2-2 +- Disable the mysteriously failing test no. 67. Details in associated + bugreport. (bison-2.4.2-drop-test-67.patch) +- Resolves: #576513 + * Wed Apr 7 2010 Petr Machata - 2.4.2-1 - Rebase to 2.4.2 - Drop reap_subpipe patch, upstream has a fix From a221417e284fb8b3dfda58a6364ab2a98418ec32 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Wed, 7 Jul 2010 12:04:25 +0000 Subject: [PATCH 065/136] - Devel subpackage now provides boost-static, as per Fedora guidelines. - Resolves: #609599 --- bison.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 4cb1c7b..03c6d4f 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.4.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -35,6 +35,7 @@ Bison. %package devel Summary: -ly library for development using Bison-generated parsers Group: Development/Libraries +Provides: bison-static = %{version}-%{release} %description devel The bison-devel package contains the -ly library sometimes used by @@ -125,6 +126,11 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jul 1 2010 Petr Machata - 2.4.2-3 +- Devel subpackage now provides boost-static, as per Fedora + guidelines. +- Resolves: #609599 + * Thu Apr 8 2010 Petr Machata - 2.4.2-2 - Disable the mysteriously failing test no. 67. Details in associated bugreport. (bison-2.4.2-drop-test-67.patch) From ef3b32f59a9530f9a6444c885845a5d061293b5e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 11:01:28 +0000 Subject: [PATCH 066/136] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 24 ------------------------ branch | 1 - 3 files changed, 25 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index fdf79b1..0000000 --- a/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# Makefile for source rpm: bison -# $Id$ -NAME := bison -SPECFILE = $(firstword $(wildcard *.spec)) - -# Check the right flavor of signature file for ftp.gnu.org site. -UPSTREAM_CHECKS = sig - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attempt a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 06de2d2..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-12 From befe4507afa28a98ce7dcfc926e0aeb7a578410e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 11:01:32 +0000 Subject: [PATCH 067/136] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 24 ------------------------ 2 files changed, 24 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 53c8ae1..0000000 --- a/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# Makefile for source rpm: bison -# $Id: Makefile,v 1.3 2007/10/15 18:38:35 notting Exp $ -NAME := bison -SPECFILE = $(firstword $(wildcard *.spec)) - -# Check the right flavor of signature file for ftp.gnu.org site. -UPSTREAM_CHECKS = sig - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attempt a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) From e266b4af13a128bdd931ca8e2bc6ef68da9a33cb Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Wed, 11 Aug 2010 14:47:52 +0200 Subject: [PATCH 068/136] - Rebase to 2.4.3 - Resolves: #621854 --- .gitignore | 1 + bison-2.4.1.tar.bz2.sig | Bin 65 -> 0 bytes bison-2.4.3.tar.bz2.sig | Bin 0 -> 72 bytes bison.spec | 8 ++++++-- sources | 2 +- 5 files changed, 8 insertions(+), 3 deletions(-) delete mode 100644 bison-2.4.1.tar.bz2.sig create mode 100644 bison-2.4.3.tar.bz2.sig diff --git a/.gitignore b/.gitignore index bd78480..104c94e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ bison-2.4.tar.bz2 bison-2.4.1.tar.bz2 bison-2.4.2.tar.bz2 +bison-2.4.3.tar.bz2 diff --git a/bison-2.4.1.tar.bz2.sig b/bison-2.4.1.tar.bz2.sig deleted file mode 100644 index 189ff8fb878f252a11ea967d6fb880ab768fc266..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 65 zcmV-H0KWf-KLZ5-NkNiRAWQJ+@g=?U5dxo(0G~tQ)z0) - 2.4.3-1 +- Rebase to 2.4.3 +- Resolves: #621854 + * Thu Jul 1 2010 Petr Machata - 2.4.2-3 - Devel subpackage now provides boost-static, as per Fedora guidelines. diff --git a/sources b/sources index ba5ff9b..650223b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -63584004613aaef2d3dca19088eb1654 bison-2.4.2.tar.bz2 +c1d3ea81bc370dbd43b6f0b2cd21287e bison-2.4.3.tar.bz2 From 7494b3f14d07ad27fe7755e3ac344216275dea98 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Mon, 7 Feb 2011 23:02:32 -0600 Subject: [PATCH 069/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 7cfce4b..e015592 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.4.3 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -126,6 +126,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Feb 07 2011 Fedora Release Engineering - 2.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Wed Aug 11 2010 Petr Machata - 2.4.3-1 - Rebase to 2.4.3 - Resolves: #621854 From ed4f6d88f843a4c9c81a65b358d9c7401e461985 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Wed, 22 Jun 2011 17:25:29 +0200 Subject: [PATCH 070/136] Upstream 2.5 --- .gitignore | 2 ++ bison-2.5.tar.bz2.sig | Bin 0 -> 287 bytes bison.spec | 7 +++++-- sources | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 bison-2.5.tar.bz2.sig diff --git a/.gitignore b/.gitignore index 104c94e..adfe5c3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ bison-2.4.tar.bz2 bison-2.4.1.tar.bz2 bison-2.4.2.tar.bz2 bison-2.4.3.tar.bz2 +bison-*/ +/bison-2.5.tar.bz2 diff --git a/bison-2.5.tar.bz2.sig b/bison-2.5.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000..0a1b6b341a4114e86c2f66c3805e6c308c46a080 GIT binary patch literal 287 zcmV+)0pR|L0UQJX0RjL91p-aaA*KKd2@ug!&SD)SH5p382mp(aQj^EmR*85;SMnb= z25@kx>faE&UcB)Ob;HndKMQ?{H{KO)xS-$up0n$+Duq|@R#wKeH|EQMk}`#zrRLN) z9AY-JY$_oTf-sLgiO<`uC$#YV#csWu2?^ryS#V=zt#`S4g|ochARL7 literal 0 HcmV?d00001 diff --git a/bison.spec b/bison.spec index e015592..10aa9a1 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 2.4.3 -Release: 2%{?dist} +Version: 2.5 +Release: 1%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -126,6 +126,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jun 22 2011 Petr Machata - 2.5-1 +- Upstream 2.5 + * Mon Feb 07 2011 Fedora Release Engineering - 2.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 650223b..58156b6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c1d3ea81bc370dbd43b6f0b2cd21287e bison-2.4.3.tar.bz2 +9dba20116b13fc61a0846b0058fbe004 bison-2.5.tar.bz2 From 58241f125c423f23600484628e8ac5d4e529bd9f Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 12 Jan 2012 16:33:20 -0600 Subject: [PATCH 071/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 10aa9a1..f921b1f 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.5 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -126,6 +126,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jan 12 2012 Fedora Release Engineering - 2.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Wed Jun 22 2011 Petr Machata - 2.5-1 - Upstream 2.5 From 87d6e8aadb98dcee6e4a02c66d42bea7237cf06b Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 17 Apr 2012 14:28:10 -0400 Subject: [PATCH 072/136] Swap java versions in the buildrequirements for 1.7.0. --- bison.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bison.spec b/bison.spec index f921b1f..11b1337 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.5 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -12,7 +12,7 @@ BuildRequires: autoconf URL: http://www.gnu.org/software/bison/ BuildRoot: %{_tmppath}/%{name}-root -BuildRequires: m4 >= 1.4 java-1.6.0-openjdk-devel +BuildRequires: m4 >= 1.4 java-1.7.0-openjdk-devel Requires: m4 >= 1.4 Requires(post): /sbin/install-info Requires(preun): /sbin/install-info @@ -126,6 +126,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Tue Apr 17 2012 Bill Nottingham - 2.5-2 +- swap java-openjdk-1.6.0 for 1.7.0 in buildrequirements + * Thu Jan 12 2012 Fedora Release Engineering - 2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From fb7cd1030fba5c32eb8b2936a820ed2ba7c81549 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Tue, 15 May 2012 16:33:25 +0200 Subject: [PATCH 073/136] Add a virtual provides for bundled(gnulib) - Resolves: #821746 --- bison.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 11b1337..262b8a9 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.5 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -17,6 +17,12 @@ Requires: m4 >= 1.4 Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +# bison contains a copy of gnulib. As a copylib, gnulib was granted +# an exception that allows bundling it with other software. For +# details, see: +# https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Exceptions +Provides: bundled(gnulib) + %description Bison is a general purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a C program to @@ -126,6 +132,10 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Tue May 15 2012 Petr Machata - 2.5-4 +- Add a virtual provides for bundled(gnulib). +- Resolves: #821746 + * Tue Apr 17 2012 Bill Nottingham - 2.5-2 - swap java-openjdk-1.6.0 for 1.7.0 in buildrequirements From 719f50443c75de37a801931081152227ed2d4846 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 18 Jul 2012 12:53:37 -0500 Subject: [PATCH 074/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 262b8a9..c3638e1 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.5 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 @@ -132,6 +132,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jul 18 2012 Fedora Release Engineering - 2.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Tue May 15 2012 Petr Machata - 2.5-4 - Add a virtual provides for bundled(gnulib). - Resolves: #821746 From 7cbe3912ed2e92f36cb745c1f49c2cad1728bf91 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Tue, 31 Jul 2012 12:02:47 +0200 Subject: [PATCH 075/136] Rebase to 2.6.1 --- .gitignore | 1 + bison-2.4.2-drop-test-67.patch | 51 ---------------------------------- bison.spec | 17 +++++++----- sources | 2 +- 4 files changed, 12 insertions(+), 59 deletions(-) delete mode 100644 bison-2.4.2-drop-test-67.patch diff --git a/.gitignore b/.gitignore index adfe5c3..55ddef2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ bison-2.4.2.tar.bz2 bison-2.4.3.tar.bz2 bison-*/ /bison-2.5.tar.bz2 +/bison-2.6.1.tar.xz diff --git a/bison-2.4.2-drop-test-67.patch b/bison-2.4.2-drop-test-67.patch deleted file mode 100644 index 20514ab..0000000 --- a/bison-2.4.2-drop-test-67.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff -up bison-2.4.2/tests/skeletons.at\~ bison-2.4.2/tests/skeletons.at ---- bison-2.4.2/tests/skeletons.at~ 2010-02-23 01:04:09.000000000 +0100 -+++ bison-2.4.2/tests/skeletons.at 2010-04-08 20:28:49.000000000 +0200 -@@ -288,45 +288,3 @@ foo.y:1.5-6: fatal error: M4 should exit - ]]) - - AT_CLEANUP -- -- --## ------------------------------------------------ ## --## Fatal errors but M4 continues producing output. ## --## ------------------------------------------------ ## -- --# At one time, if Bison encountered a fatal error during M4 processing, --# Bison failed to drain M4's output pipe. The result was a SIGPIPE. --# On some platforms, the default disposition for SIGPIPE is terminate, --# which was fine. On others, it's ignore, which caused M4 to report --# the broken pipe to the user, but we don't want to bother the user with --# that. -- --# There is a race condition somewhere. That is, before the associated --# fix, running this test group many times in a row would occasionally --# produce a pass among all the failures. -- --AT_SETUP([[Fatal errors but M4 continues producing output]]) -- --AT_DATA([[gen-skel.pl]], --[[use warnings; --use strict; --my $M4 = "m4"; --my $DNL = "d"."nl"; --print "${M4}_divert_push(0)$DNL\n"; --print '@output(@,@)', "\n"; --(print "garbage"x10, "\n") for (1..1000); --print "${M4}_divert_pop(0)\n"; --]]) --AT_CHECK([[perl gen-skel.pl > skel.c || exit 77]]) -- --AT_DATA([[input.y]], --[[%skeleton "./skel.c" --%% --start: ; --]]) -- --AT_BISON_CHECK([[input.y]], [[1]], [[]], --[[input.y: fatal error: too many arguments for @output directive in skeleton --]]) -- --AT_CLEANUP - -Diff finished. Thu Apr 8 20:28:56 2010 diff --git a/bison.spec b/bison.spec index c3638e1..72a6970 100644 --- a/bison.spec +++ b/bison.spec @@ -1,13 +1,12 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 2.5 -Release: 5%{?dist} +Version: 2.6.1 +Release: 1%{?dist} License: GPLv3+ Group: Development/Tools -Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 +Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz -# testsuite patch and a dependency -Patch0: bison-2.4.2-drop-test-67.patch +# testsuite dependency BuildRequires: autoconf URL: http://www.gnu.org/software/bison/ @@ -73,7 +72,6 @@ Bison manual section for more information. %prep %setup -q -%patch0 -p1 %build %configure @@ -113,7 +111,7 @@ fi # when the target parser file is generated. %files -f %{name}.lang %defattr(-,root,root) -%doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO COPYING +%doc AUTHORS ChangeLog NEWS README THANKS TODO COPYING %{_mandir}/*/bison* %{_datadir}/bison %{_infodir}/bison.info* @@ -132,6 +130,11 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jul 31 2012 Petr Machata - 2.6.1-1 +- Rebase to 2.6.1 + - Drop bison-2.4.2-drop-test-67.patch +- Resolves: #829028 + * Wed Jul 18 2012 Fedora Release Engineering - 2.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 58156b6..6fc0e84 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9dba20116b13fc61a0846b0058fbe004 bison-2.5.tar.bz2 +1fc1b9bc689e7fc5622d32c93cce746f bison-2.6.1.tar.xz From 8d31f8e7b8568f0a1fce846994c1ae01bd39cbce Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 2 Nov 2012 10:46:48 -0600 Subject: [PATCH 076/136] Update to 2.6.4 --- .gitignore | 1 + bison.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 55ddef2..c6d4688 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ bison-2.4.3.tar.bz2 bison-*/ /bison-2.5.tar.bz2 /bison-2.6.1.tar.xz +/bison-2.6.4.tar.xz diff --git a/bison.spec b/bison.spec index 72a6970..24858ec 100644 --- a/bison.spec +++ b/bison.spec @@ -1,6 +1,6 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 2.6.1 +Version: 2.6.4 Release: 1%{?dist} License: GPLv3+ Group: Development/Tools @@ -130,6 +130,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri Nov 2 2012 Orion Poplawski - 2.6.4-1 +- Update to 2.6.4 + * Tue Jul 31 2012 Petr Machata - 2.6.1-1 - Rebase to 2.6.1 - Drop bison-2.4.2-drop-test-67.patch diff --git a/sources b/sources index 6fc0e84..4230093 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1fc1b9bc689e7fc5622d32c93cce746f bison-2.6.1.tar.xz +8b2dc57eb9d2d6de4715d30de6b2ee07 bison-2.6.4.tar.xz From 00da36f29c99267abd421c31c3606f3bec569222 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 13 Feb 2013 11:48:23 -0600 Subject: [PATCH 077/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 24858ec..1f3f50e 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.6.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -130,6 +130,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 13 2013 Fedora Release Engineering - 2.6.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Fri Nov 2 2012 Orion Poplawski - 2.6.4-1 - Update to 2.6.4 From 2d03d03717e31a088acc70323505277c4c430529 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Thu, 21 Mar 2013 19:01:58 +0100 Subject: [PATCH 078/136] Rebase to 2.7 --- .gitignore | 1 + bison.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c6d4688..28f78b2 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ bison-*/ /bison-2.5.tar.bz2 /bison-2.6.1.tar.xz /bison-2.6.4.tar.xz +/bison-2.7.tar.xz diff --git a/bison.spec b/bison.spec index 1f3f50e..96cdb28 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 2.6.4 -Release: 2%{?dist} +Version: 2.7 +Release: 1%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -130,6 +130,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Thu Mar 21 2013 Petr Machata - 2.7-1 +- Rebase to 2.7 + * Wed Feb 13 2013 Fedora Release Engineering - 2.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 4230093..5429dbf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8b2dc57eb9d2d6de4715d30de6b2ee07 bison-2.6.4.tar.xz +234cdfac99257cf99ac4a03c898f37b9 bison-2.7.tar.xz From 7b4c369f4f98d83c411014ecc5acbc1596cf6d0d Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Fri, 17 May 2013 18:34:18 +0200 Subject: [PATCH 079/136] Drop unused options --raw, -n, -e, --include and -I --- bison-2.7-unused-opts.patch | 53 +++++++++++++++++++++++++++++++++++++ bison.spec | 13 +++++++-- 2 files changed, 64 insertions(+), 2 deletions(-) create mode 100644 bison-2.7-unused-opts.patch diff --git a/bison-2.7-unused-opts.patch b/bison-2.7-unused-opts.patch new file mode 100644 index 0000000..2a2505a --- /dev/null +++ b/bison-2.7-unused-opts.patch @@ -0,0 +1,53 @@ +diff -up bison-2.7/src/getargs.c\~ bison-2.7/src/getargs.c +--- bison-2.7/src/getargs.c~ 2012-12-05 14:51:18.000000000 +0100 ++++ bison-2.7/src/getargs.c 2013-05-17 17:45:53.188616509 +0200 +@@ -80,7 +80,6 @@ int skeleton_prio = default_prio; + const char *skeleton = NULL; + int language_prio = default_prio; + struct bison_language const *language = &valid_languages[0]; +-const char *include = NULL; + + + /** Decode an option's set of keys. +@@ -500,12 +499,10 @@ static char const short_options[] = + "b:" + "d" + "f::" +- "e" + "g::" + "h" + "k" + "l" +- "n" + "o:" + "p:" + "r:" +@@ -535,7 +532,6 @@ static struct option const long_options[ + + /* Parser. */ + { "name-prefix", required_argument, 0, 'p' }, +- { "include", required_argument, 0, 'I' }, + + /* Output. */ + { "file-prefix", required_argument, 0, 'b' }, +@@ -564,7 +560,6 @@ static struct option const long_options[ + { "force-define", required_argument, 0, 'F' }, + { "locations", no_argument, 0, LOCATIONS_OPTION }, + { "no-lines", no_argument, 0, 'l' }, +- { "raw", no_argument, 0, 0 }, + { "skeleton", required_argument, 0, 'S' }, + { "language", required_argument, 0, 'L' }, + { "token-table", no_argument, 0, 'k' }, +@@ -623,10 +618,6 @@ getargs (int argc, char *argv[]) + } + break; + +- case 'I': +- include = AS_FILE_NAME (optarg); +- break; +- + case 'L': + language_argmatch (optarg, command_line_prio, + command_line_location ()); + +Diff finished. Fri May 17 17:45:58 2013 diff --git a/bison.spec b/bison.spec index 96cdb28..f57b583 100644 --- a/bison.spec +++ b/bison.spec @@ -1,17 +1,22 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.7 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz +# https://bugzilla.redhat.com/show_bug.cgi?id=948856 +# Submitted for upstream inclusion on 2013-05-17. +Patch0: bison-2.7-unused-opts.patch + # testsuite dependency BuildRequires: autoconf URL: http://www.gnu.org/software/bison/ BuildRoot: %{_tmppath}/%{name}-root -BuildRequires: m4 >= 1.4 java-1.7.0-openjdk-devel +BuildRequires: m4 >= 1.4 +#java-1.7.0-openjdk-devel Requires: m4 >= 1.4 Requires(post): /sbin/install-info Requires(preun): /sbin/install-info @@ -72,6 +77,7 @@ Bison manual section for more information. %prep %setup -q +%patch0 -p1 %build %configure @@ -130,6 +136,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri May 17 2013 Petr Machata - 2.7-2 +- Drop unused options --raw, -n, -e, --include and -I + * Thu Mar 21 2013 Petr Machata - 2.7-1 - Rebase to 2.7 From 9c95465f016340e08504045d6f6cf5f43d0789fc Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 2 Aug 2013 22:30:24 -0500 Subject: [PATCH 080/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index f57b583..80506d8 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 2.7 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -136,6 +136,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 2.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Fri May 17 2013 Petr Machata - 2.7-2 - Drop unused options --raw, -n, -e, --include and -I From 8dd9d3771fa0c3dc2bc73bb67f09dba284db9004 Mon Sep 17 00:00:00 2001 From: Patsy Franklin Date: Tue, 14 Jan 2014 15:15:32 -0500 Subject: [PATCH 081/136] Resolves: #952554 - rebase to 3.0.2 update. --- .gitignore | 1 + bison.spec | 14 +++++++++----- sources | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 28f78b2..1fc8969 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ bison-*/ /bison-2.6.1.tar.xz /bison-2.6.4.tar.xz /bison-2.7.tar.xz +/bison-3.0.2.tar.xz diff --git a/bison.spec b/bison.spec index 80506d8..f0be5d0 100644 --- a/bison.spec +++ b/bison.spec @@ -1,17 +1,18 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 2.7 -Release: 3%{?dist} +Version: 3.0.2 +Release: 1%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz # https://bugzilla.redhat.com/show_bug.cgi?id=948856 # Submitted for upstream inclusion on 2013-05-17. -Patch0: bison-2.7-unused-opts.patch +# Patch0: bison-2.7-unused-opts.patch # testsuite dependency BuildRequires: autoconf +BuildRequires: flex URL: http://www.gnu.org/software/bison/ BuildRoot: %{_tmppath}/%{name}-root @@ -77,7 +78,7 @@ Bison manual section for more information. %prep %setup -q -%patch0 -p1 +#%patch0 -p1 %build %configure @@ -136,6 +137,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Dec 09 2013 Patsy Franklin - 3.0.2-1 +- Rebase to 3.0.2. Add BuildRequires: flex for testsuite. + * Sat Aug 03 2013 Fedora Release Engineering - 2.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild @@ -342,7 +346,7 @@ rm -rf $RPM_BUILD_ROOT * Wed Jan 09 2002 Tim Powers - automated rebuild -* Mon Nov 27 2001 Than Ngo 1.30-4 +* Tue Nov 27 2001 Than Ngo 1.30-4 - add missing Url * Sun Nov 25 2001 Than Ngo 1.30-3 diff --git a/sources b/sources index 5429dbf..df0039e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -234cdfac99257cf99ac4a03c898f37b9 bison-2.7.tar.xz +146be9ff9fbd27497f0bf2286a5a2082 bison-3.0.2.tar.xz From 69ba4ae99498bc601a70b147fdc7a7a572fd8c85 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 6 Jun 2014 22:04:31 -0500 Subject: [PATCH 082/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index f0be5d0..bdbf910 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -137,6 +137,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 3.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Mon Dec 09 2013 Patsy Franklin - 3.0.2-1 - Rebase to 3.0.2. Add BuildRequires: flex for testsuite. From e86db91f37d149d11c4c98248386ce2ba781bdbb Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 15 Aug 2014 22:42:39 +0000 Subject: [PATCH 083/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index bdbf910..83c19ec 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -137,6 +137,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri Aug 15 2014 Fedora Release Engineering - 3.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 3.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 59a49dd6d4bf7f932513ca1236d9fc1278fa5b54 Mon Sep 17 00:00:00 2001 From: Patsy Franklin Date: Mon, 2 Mar 2015 21:20:55 -0500 Subject: [PATCH 084/136] Resolves: #1183500 - Rebase to 3.0.4. --- .gitignore | 1 + bison.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1fc8969..45f963b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ bison-*/ /bison-2.6.4.tar.xz /bison-2.7.tar.xz /bison-3.0.2.tar.xz +/bison-3.0.4.tar.xz diff --git a/bison.spec b/bison.spec index 83c19ec..6093579 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 3.0.2 -Release: 3%{?dist} +Version: 3.0.4 +Release: 1%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -137,6 +137,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Mar 02 2015 Patsy Franklin - 2.0.4-1 +- Rebase to 3.0.4. + * Fri Aug 15 2014 Fedora Release Engineering - 3.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index df0039e..b7e3f5c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -146be9ff9fbd27497f0bf2286a5a2082 bison-3.0.2.tar.xz +c342201de104cc9ce0a21e0ad10d4021 bison-3.0.4.tar.xz From 6068e0bc100a698b713d1b64ca5d91bd5c1b11b0 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 01:51:03 +0000 Subject: [PATCH 085/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 6093579..7afcaab 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -137,6 +137,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 3.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Mon Mar 02 2015 Patsy Franklin - 2.0.4-1 - Rebase to 3.0.4. From aee332aaf5b934c4af64ecfd04970dc8fb93eb54 Mon Sep 17 00:00:00 2001 From: Patsy Franklin Date: Thu, 22 Oct 2015 15:40:56 -0400 Subject: [PATCH 086/136] Resolves: #1266528 - Remove unpackaged files. --- bison.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 7afcaab..e730be1 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.4 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -96,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc rm -f $RPM_BUILD_ROOT/%{_infodir}/dir rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc* +rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/calc++/* +rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/mfcalc/* +rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/rpcalc/* %find_lang %{name} %find_lang %{name}-runtime @@ -137,6 +140,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Thu Oct 22 2015 Patsy Franklin - 3.0.4-3 +- Remove unpackaged files. + * Wed Jun 17 2015 Fedora Release Engineering - 3.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From f7dd50d9a25705ddf69afa1aef43d27a26c1b575 Mon Sep 17 00:00:00 2001 From: Patsy Franklin Date: Mon, 26 Oct 2015 11:03:46 -0400 Subject: [PATCH 087/136] Resolves: #1266528 - Remove unpackaged files to fix build. --- bison.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 7afcaab..e730be1 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.4 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -96,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc rm -f $RPM_BUILD_ROOT/%{_infodir}/dir rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc* +rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/calc++/* +rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/mfcalc/* +rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/rpcalc/* %find_lang %{name} %find_lang %{name}-runtime @@ -137,6 +140,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Thu Oct 22 2015 Patsy Franklin - 3.0.4-3 +- Remove unpackaged files. + * Wed Jun 17 2015 Fedora Release Engineering - 3.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From fae835c44399024b5edbaa972a542a87bb60662d Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Tue, 3 Nov 2015 15:55:43 +0100 Subject: [PATCH 088/136] Adding STAGE2 bootstrap recipe --- STAGE2-bison | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 STAGE2-bison diff --git a/STAGE2-bison b/STAGE2-bison new file mode 100644 index 0000000..0e9ad83 --- /dev/null +++ b/STAGE2-bison @@ -0,0 +1,9 @@ +#requires m4 +#requires perl + +mcd $BUILDDIR/bison + +$SRC/bison-*/configure $TCONFIGARGS + +make $J -k +make $J -k install From 42a4506120039c18e5fca34424f59947f40d5959 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 17:03:30 +0000 Subject: [PATCH 089/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index e730be1..9fed5c8 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.4 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -140,6 +140,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 3.0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Thu Oct 22 2015 Patsy Franklin - 3.0.4-3 - Remove unpackaged files. From 6d832c1a799f3ca018362de829f3015e913fe332 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 06:54:00 +0000 Subject: [PATCH 090/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 9fed5c8..1f4b522 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.4 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -140,6 +140,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 3.0.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed Feb 03 2016 Fedora Release Engineering - 3.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 037ad9c625df7f051f6761147925d69a2520766b Mon Sep 17 00:00:00 2001 From: Patsy Franklin Date: Tue, 14 Feb 2017 18:02:41 -0500 Subject: [PATCH 091/136] Resolves: #1422261 - Upstream patch to fix testsuite failure of c++ tests 430 431 and 432. --- bison-3.0.4-c++-test-failure.patch | 151 +++++++++++++++++++++++++++++ bison.spec | 10 +- 2 files changed, 158 insertions(+), 3 deletions(-) create mode 100644 bison-3.0.4-c++-test-failure.patch diff --git a/bison-3.0.4-c++-test-failure.patch b/bison-3.0.4-c++-test-failure.patch new file mode 100644 index 0000000..89fc5f6 --- /dev/null +++ b/bison-3.0.4-c++-test-failure.patch @@ -0,0 +1,151 @@ +commit 952416114729b95209dccfc4edacfc1ff13b4e82 +Author: Akim Demaille +Date: Mon Jan 26 18:23:12 2015 +0100 + + tests: c++: fix symbol lookup issue + + Sun C 5.13 SunOS_sparc 2014/10/20 reports errors on tests 430-432. + + Reported by Dennis Clarke. + + + * tests/c++.at (Variants): Be sure to emit operator<< before using it: + use "%code top" rather than "%code". + Prefer std::vector to std::list. + Do not define anything in std::, to avoid undefined behavior. + +diff --git a/tests/c++.at b/tests/c++.at +index 55d7d40..60292f4 100644 +--- a/tests/c++.at ++++ b/tests/c++.at +@@ -96,7 +96,7 @@ AT_SETUP([C++ Variant-based Symbols]) + AT_KEYWORDS([variant]) + + AT_BISON_OPTION_PUSHDEFS([%skeleton "lalr1.cc" %debug $1]) +-# Store strings and integers in a list of strings. ++# Store strings and integers in a vector of strings. + AT_DATA_GRAMMAR([list.y], + [[%skeleton "lalr1.cc" + %define api.value.type variant +@@ -114,20 +114,20 @@ AT_DATA_GRAMMAR([list.y], + } + + %token INT "int" +-%type < std::list > exp ++%type < std::vector > exp + + %printer { yyo << $$; } + %printer + { +- for (std::list::const_iterator i = $$.begin (); i != $$.end (); ++i) ++ for (std::vector::const_iterator i = $$.begin (); i != $$.end (); ++i) + { + if (i != $$.begin ()) + yyo << ", "; + yyo << *i; + } +- } < std::list > ++ } < std::vector > + +-%code requires { #include } ++%code requires { #include } + %code { int yylex (yy::parser::semantic_type* yylval); } + + %% +@@ -185,7 +185,7 @@ m4_pushdef([AT_TEST], + [AT_SETUP([Variants $1]) + + AT_BISON_OPTION_PUSHDEFS([%debug $1]) +-# Store strings and integers in a list of strings. ++# Store strings and integers in a vector of strings. + AT_DATA_GRAMMAR([list.y], + [[%debug + %define api.value.type variant +@@ -194,29 +194,25 @@ AT_DATA_GRAMMAR([list.y], + + %code requires // code for the .hh file + { +-#include ++#include + #include +-typedef std::list strings_type; ++typedef std::vector strings_type; + } + +-%code // code for the .cc file ++%code top // code for the .cc file. + { + #include // abort, getenv + #include ++#include + #include ++#include + +- namespace yy +- { +- static]AT_TOKEN_CTOR_IF([[ +- parser::symbol_type yylex ()]], [[ +- parser::token_type yylex (parser::semantic_type* yylval]AT_LOCATION_IF([, +- parser::location_type* yylloc])[)]])[; +- } + +- // Printing a list of strings (for %printer). +- // Koening look up will look into std, since that's an std::list. +- namespace std ++ typedef std::vector strings_type; ++ ++ namespace yy + { ++ // Must be available early, as is used in %destructor. + std::ostream& + operator<<(std::ostream& o, const strings_type& s) + { +@@ -230,16 +226,27 @@ typedef std::list strings_type; + return o << ')'; + } + } ++} + +- // Conversion to string. +- template +- inline +- std::string +- to_string (const T& t) ++%code // code for the .cc file. ++{ ++ namespace yy + { +- std::ostringstream o; +- o << t; +- return o.str (); ++ static]AT_TOKEN_CTOR_IF([[ ++ parser::symbol_type yylex ()]], [[ ++ parser::token_type yylex (parser::semantic_type* yylval]AT_LOCATION_IF([, ++ parser::location_type* yylloc])[)]])[; ++ ++ // Conversion to string. ++ template ++ inline ++ std::string ++ to_string (const T& t) ++ { ++ std::ostringstream o; ++ o << t; ++ return o.str (); ++ } + } + } + +@@ -252,10 +259,10 @@ typedef std::list strings_type; + // Using the template type to exercize its parsing. + // Starting with :: to ensure we don't output "<::" which starts by the + // digraph for the left square bracket. +-%type <::std::list> list; ++%type <::std::vector> list; + + %printer { yyo << $$; } +- <::std::string> <::std::list>; ++ <::std::string> <::std::vector>; + %destructor { std::cerr << "Destroy: " << $$ << '\n'; } <*>; + %destructor { std::cerr << "Destroy: \"" << $$ << "\"\n"; } <::std::string>; + %% diff --git a/bison.spec b/bison.spec index 1f4b522..ce9cb56 100644 --- a/bison.spec +++ b/bison.spec @@ -1,14 +1,14 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.4 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz # https://bugzilla.redhat.com/show_bug.cgi?id=948856 # Submitted for upstream inclusion on 2013-05-17. -# Patch0: bison-2.7-unused-opts.patch +Patch0: bison-3.0.4-c++-test-failure.patch # testsuite dependency BuildRequires: autoconf @@ -78,7 +78,7 @@ Bison manual section for more information. %prep %setup -q -#%patch0 -p1 +%patch0 -p1 %build %configure @@ -140,6 +140,10 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Feb 13 2017 Patsy Franklin - 3.0.4-6 +- Proposed upstream patch to fix testsuite failures for tests 430-432. + BZ #1422261 + * Fri Feb 10 2017 Fedora Release Engineering - 3.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 44d9ea277d7b9bc2b24fce22247ea2af2fe6815f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 03:58:44 +0000 Subject: [PATCH 092/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index ce9cb56..aa0cb3d 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.4 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -140,6 +140,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 3.0.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Mon Feb 13 2017 Patsy Franklin - 3.0.4-6 - Proposed upstream patch to fix testsuite failures for tests 430-432. BZ #1422261 From 716b8b181fda674e6ad2b3c0662e5b3e16d4a6f3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 18:15:31 +0000 Subject: [PATCH 093/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index aa0cb3d..79ef616 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.4 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -140,6 +140,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 3.0.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 3.0.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 643cb613f8db12400920ffe619a66a0472a687d6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 03:53:15 +0000 Subject: [PATCH 094/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 79ef616..017936d 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.4 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -140,6 +140,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 3.0.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Aug 02 2017 Fedora Release Engineering - 3.0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 750b79cc52f2b73d56a1b34236b36dffe13499c7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 13 Feb 2018 23:06:00 +0100 Subject: [PATCH 095/136] Remove BuildRoot definition None of currently supported distributions need that. It was needed last for EL5 which is EOL now Signed-off-by: Igor Gnatenko --- bison.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/bison.spec b/bison.spec index 017936d..4283a0f 100644 --- a/bison.spec +++ b/bison.spec @@ -15,7 +15,6 @@ BuildRequires: autoconf BuildRequires: flex URL: http://www.gnu.org/software/bison/ -BuildRoot: %{_tmppath}/%{name}-root BuildRequires: m4 >= 1.4 #java-1.7.0-openjdk-devel Requires: m4 >= 1.4 From 37fc853de30f3c893e4c76386de52ef488eeab76 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 07:53:20 +0100 Subject: [PATCH 096/136] Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- bison.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/bison.spec b/bison.spec index 4283a0f..443133f 100644 --- a/bison.spec +++ b/bison.spec @@ -135,9 +135,6 @@ fi %defattr(-,root,root) %{_libdir}/liby.a -%clean -rm -rf $RPM_BUILD_ROOT - %changelog * Wed Feb 07 2018 Fedora Release Engineering - 3.0.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 0678d2ecb8a6e4a2a2c027f9c386d14974e49568 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 9 Jul 2018 19:06:42 +0200 Subject: [PATCH 097/136] add BuildRequires: gcc Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- bison.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/bison.spec b/bison.spec index 443133f..4d97fe3 100644 --- a/bison.spec +++ b/bison.spec @@ -11,6 +11,7 @@ Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz Patch0: bison-3.0.4-c++-test-failure.patch # testsuite dependency +BuildRequires: gcc BuildRequires: autoconf BuildRequires: flex From c67b80f3217c8549f9620026178064f3b671e297 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 10 Jul 2018 00:27:12 -0500 Subject: [PATCH 098/136] Remove needless use of %defattr --- bison.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/bison.spec b/bison.spec index 4d97fe3..53ef0db 100644 --- a/bison.spec +++ b/bison.spec @@ -120,7 +120,6 @@ fi # The distribution contains also source files. These are used by m4 # when the target parser file is generated. %files -f %{name}.lang -%defattr(-,root,root) %doc AUTHORS ChangeLog NEWS README THANKS TODO COPYING %{_mandir}/*/bison* %{_datadir}/bison From a0be278fb07d3b8332fefd91933d331172d06675 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 12 Jul 2018 21:07:14 +0000 Subject: [PATCH 099/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 53ef0db..1ac01a7 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.4 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -136,6 +136,9 @@ fi %{_libdir}/liby.a %changelog +* Thu Jul 12 2018 Fedora Release Engineering - 3.0.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 3.0.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 44fa350fc5d44b21a1e7d7f95edd56fc34bcdcca Mon Sep 17 00:00:00 2001 From: Patsy Franklin Date: Tue, 14 Aug 2018 19:40:53 -0400 Subject: [PATCH 100/136] Resolves: # 1583179 - _IO_ftrylockfile is obsolete as part of the removal of libio.h - Build requires gcc-c++ to fix build failure. (#1603491) - Update to bison 3.0.5 (#1583179) --- .gitignore | 1 + bison-3.0.4-c++-test-failure.patch | 151 ----------------------------- bison-3.0.5-gnulib-fseterr.patch | 19 ++++ bison.spec | 16 +-- sources | 2 +- 5 files changed, 31 insertions(+), 158 deletions(-) delete mode 100644 bison-3.0.4-c++-test-failure.patch create mode 100644 bison-3.0.5-gnulib-fseterr.patch diff --git a/.gitignore b/.gitignore index 45f963b..e800ec3 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ bison-*/ /bison-2.7.tar.xz /bison-3.0.2.tar.xz /bison-3.0.4.tar.xz +/bison-3.0.5.tar.xz diff --git a/bison-3.0.4-c++-test-failure.patch b/bison-3.0.4-c++-test-failure.patch deleted file mode 100644 index 89fc5f6..0000000 --- a/bison-3.0.4-c++-test-failure.patch +++ /dev/null @@ -1,151 +0,0 @@ -commit 952416114729b95209dccfc4edacfc1ff13b4e82 -Author: Akim Demaille -Date: Mon Jan 26 18:23:12 2015 +0100 - - tests: c++: fix symbol lookup issue - - Sun C 5.13 SunOS_sparc 2014/10/20 reports errors on tests 430-432. - - Reported by Dennis Clarke. - - - * tests/c++.at (Variants): Be sure to emit operator<< before using it: - use "%code top" rather than "%code". - Prefer std::vector to std::list. - Do not define anything in std::, to avoid undefined behavior. - -diff --git a/tests/c++.at b/tests/c++.at -index 55d7d40..60292f4 100644 ---- a/tests/c++.at -+++ b/tests/c++.at -@@ -96,7 +96,7 @@ AT_SETUP([C++ Variant-based Symbols]) - AT_KEYWORDS([variant]) - - AT_BISON_OPTION_PUSHDEFS([%skeleton "lalr1.cc" %debug $1]) --# Store strings and integers in a list of strings. -+# Store strings and integers in a vector of strings. - AT_DATA_GRAMMAR([list.y], - [[%skeleton "lalr1.cc" - %define api.value.type variant -@@ -114,20 +114,20 @@ AT_DATA_GRAMMAR([list.y], - } - - %token INT "int" --%type < std::list > exp -+%type < std::vector > exp - - %printer { yyo << $$; } - %printer - { -- for (std::list::const_iterator i = $$.begin (); i != $$.end (); ++i) -+ for (std::vector::const_iterator i = $$.begin (); i != $$.end (); ++i) - { - if (i != $$.begin ()) - yyo << ", "; - yyo << *i; - } -- } < std::list > -+ } < std::vector > - --%code requires { #include } -+%code requires { #include } - %code { int yylex (yy::parser::semantic_type* yylval); } - - %% -@@ -185,7 +185,7 @@ m4_pushdef([AT_TEST], - [AT_SETUP([Variants $1]) - - AT_BISON_OPTION_PUSHDEFS([%debug $1]) --# Store strings and integers in a list of strings. -+# Store strings and integers in a vector of strings. - AT_DATA_GRAMMAR([list.y], - [[%debug - %define api.value.type variant -@@ -194,29 +194,25 @@ AT_DATA_GRAMMAR([list.y], - - %code requires // code for the .hh file - { --#include -+#include - #include --typedef std::list strings_type; -+typedef std::vector strings_type; - } - --%code // code for the .cc file -+%code top // code for the .cc file. - { - #include // abort, getenv - #include -+#include - #include -+#include - -- namespace yy -- { -- static]AT_TOKEN_CTOR_IF([[ -- parser::symbol_type yylex ()]], [[ -- parser::token_type yylex (parser::semantic_type* yylval]AT_LOCATION_IF([, -- parser::location_type* yylloc])[)]])[; -- } - -- // Printing a list of strings (for %printer). -- // Koening look up will look into std, since that's an std::list. -- namespace std -+ typedef std::vector strings_type; -+ -+ namespace yy - { -+ // Must be available early, as is used in %destructor. - std::ostream& - operator<<(std::ostream& o, const strings_type& s) - { -@@ -230,16 +226,27 @@ typedef std::list strings_type; - return o << ')'; - } - } -+} - -- // Conversion to string. -- template -- inline -- std::string -- to_string (const T& t) -+%code // code for the .cc file. -+{ -+ namespace yy - { -- std::ostringstream o; -- o << t; -- return o.str (); -+ static]AT_TOKEN_CTOR_IF([[ -+ parser::symbol_type yylex ()]], [[ -+ parser::token_type yylex (parser::semantic_type* yylval]AT_LOCATION_IF([, -+ parser::location_type* yylloc])[)]])[; -+ -+ // Conversion to string. -+ template -+ inline -+ std::string -+ to_string (const T& t) -+ { -+ std::ostringstream o; -+ o << t; -+ return o.str (); -+ } - } - } - -@@ -252,10 +259,10 @@ typedef std::list strings_type; - // Using the template type to exercize its parsing. - // Starting with :: to ensure we don't output "<::" which starts by the - // digraph for the left square bracket. --%type <::std::list> list; -+%type <::std::vector> list; - - %printer { yyo << $$; } -- <::std::string> <::std::list>; -+ <::std::string> <::std::vector>; - %destructor { std::cerr << "Destroy: " << $$ << '\n'; } <*>; - %destructor { std::cerr << "Destroy: \"" << $$ << "\"\n"; } <::std::string>; - %% diff --git a/bison-3.0.5-gnulib-fseterr.patch b/bison-3.0.5-gnulib-fseterr.patch new file mode 100644 index 0000000..cd2a482 --- /dev/null +++ b/bison-3.0.5-gnulib-fseterr.patch @@ -0,0 +1,19 @@ +commit 4af4a4a71827c0bc5e0ec67af23edef4f15cee8e +Author: Paul Eggert +Date: Mon Mar 5 10:56:29 2018 -0800 + + fflush: adjust to glibc 2.28 libio.h removal + (Only part of this commit was backported as needed.) + +diff -Nrup a/lib/fseterr.c b/lib/fseterr.c +--- a/lib/fseterr.c 2018-05-08 06:02:48.000000000 -0400 ++++ b/lib/fseterr.c 2018-08-14 16:06:19.636282264 -0400 +@@ -29,7 +29,7 @@ fseterr (FILE *fp) + /* Most systems provide FILE as a struct and the necessary bitmask in + , because they need it for implementing getc() and putc() as + fast macros. */ +-#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 ++#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 + /* GNU libc, BeOS, Haiku, Linux libc5 */ + fp->_flags |= _IO_ERR_SEEN; + #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ diff --git a/bison.spec b/bison.spec index 1ac01a7..bc3df92 100644 --- a/bison.spec +++ b/bison.spec @@ -1,17 +1,16 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 3.0.4 -Release: 10%{?dist} +Version: 3.0.5 +Release: 1%{?dist} License: GPLv3+ Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz -# https://bugzilla.redhat.com/show_bug.cgi?id=948856 -# Submitted for upstream inclusion on 2013-05-17. -Patch0: bison-3.0.4-c++-test-failure.patch +# Fix errors caused by references to obsolete libio.h +Patch0: bison-3.0.5-gnulib-fseterr.patch # testsuite dependency -BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: autoconf BuildRequires: flex @@ -136,6 +135,11 @@ fi %{_libdir}/liby.a %changelog +* Tue Aug 14 2018 Patsy Griffin Franklin - 3.0.5-1 +- _IO_ftrylockfile is obsolete as part of the removal of libio.h +- Build requires gcc-c++ to fix build failure. (#1603491) +- Update to bison 3.0.5 (#1583179) + * Thu Jul 12 2018 Fedora Release Engineering - 3.0.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index b7e3f5c..e8b183f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c342201de104cc9ce0a21e0ad10d4021 bison-3.0.4.tar.xz +SHA512 (bison-3.0.5.tar.xz) = 00b448db8abe91b07e32ff5273c6617bc1350d806f92073a9472f4c2f0de5d22c152795674171b74f2eb9eff8d36f8173b82dacb215601bb071ae39404d4a8a2 From 2a04c480d2e2c07ec04409507b82e4e67967b871 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 15:25:31 +0100 Subject: [PATCH 101/136] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- bison.spec | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/bison.spec b/bison.spec index bc3df92..d773f0e 100644 --- a/bison.spec +++ b/bison.spec @@ -18,8 +18,6 @@ URL: http://www.gnu.org/software/bison/ BuildRequires: m4 >= 1.4 #java-1.7.0-openjdk-devel Requires: m4 >= 1.4 -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info # bison contains a copy of gnulib. As a copylib, gnulib was granted # an exception that allows bundling it with other software. For @@ -104,18 +102,6 @@ rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/rpcalc/* gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* -%post -if [ -f %{_infodir}/bison.info.gz ]; then # for --excludedocs - /sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : -fi - -%preun -if [ $1 = 0 ]; then - if [ -f %{_infodir}/bison.info.gz ]; then # for --excludedocs - /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : - fi -fi - # The distribution contains also source files. These are used by m4 # when the target parser file is generated. %files -f %{name}.lang From 8db7556ef856a2e051e4d02373bfb642ddef1d4b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:39 +0100 Subject: [PATCH 102/136] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- bison.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/bison.spec b/bison.spec index d773f0e..8048436 100644 --- a/bison.spec +++ b/bison.spec @@ -3,7 +3,6 @@ Name: bison Version: 3.0.5 Release: 1%{?dist} License: GPLv3+ -Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz # Fix errors caused by references to obsolete libio.h @@ -42,7 +41,6 @@ Bison. %package devel Summary: -ly library for development using Bison-generated parsers -Group: Development/Libraries Provides: bison-static = %{version}-%{release} %description devel @@ -64,7 +62,6 @@ simple programs to supply minimal support for the generated parsers. %package runtime Summary: Runtime support files used by Bison-generated parsers -Group: Development/Libraries %description runtime The bison-runtime package contains files used at runtime by parsers From 4c9e2c1d03f94390bb50bbdc2832e05276ca5ae0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 14:39:41 +0000 Subject: [PATCH 103/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 8048436..14b8976 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.0.5 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -118,6 +118,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 3.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Tue Aug 14 2018 Patsy Griffin Franklin - 3.0.5-1 - _IO_ftrylockfile is obsolete as part of the removal of libio.h - Build requires gcc-c++ to fix build failure. (#1603491) From 3e95385379a0221754a422a49e6afa44a612854d Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Fri, 21 Jun 2019 16:24:18 +0200 Subject: [PATCH 104/136] Rebase to 3.4.1 (#1631912) --- .gitignore | 18 ++++++------------ bison.spec | 18 ++++++++---------- sources | 2 +- 3 files changed, 15 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index e800ec3..9c0b9aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,6 @@ -bison-2.4.tar.bz2 -bison-2.4.1.tar.bz2 -bison-2.4.2.tar.bz2 -bison-2.4.3.tar.bz2 -bison-*/ -/bison-2.5.tar.bz2 -/bison-2.6.1.tar.xz -/bison-2.6.4.tar.xz -/bison-2.7.tar.xz -/bison-3.0.2.tar.xz -/bison-3.0.4.tar.xz -/bison-3.0.5.tar.xz +# Release tarballs. +/bison-*.tar.[bgx]z* +# Generated (source) RPMs. +/*.rpm +# Expanded source trees. +/bison-*/ diff --git a/bison.spec b/bison.spec index 14b8976..8c3c1e7 100644 --- a/bison.spec +++ b/bison.spec @@ -1,13 +1,10 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 3.0.5 -Release: 2%{?dist} +Version: 3.4.1 +Release: 1%{?dist} License: GPLv3+ Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz -# Fix errors caused by references to obsolete libio.h -Patch0: bison-3.0.5-gnulib-fseterr.patch - # testsuite dependency BuildRequires: gcc-c++ BuildRequires: autoconf @@ -72,7 +69,6 @@ Bison manual section for more information. %prep %setup -q -%patch0 -p1 %build %configure @@ -90,18 +86,17 @@ rm -rf $RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc rm -f $RPM_BUILD_ROOT/%{_infodir}/dir rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc* -rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/calc++/* -rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/mfcalc/* -rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/rpcalc/* +rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/* %find_lang %{name} %find_lang %{name}-runtime +%find_lang %{name}-gnulib gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* # The distribution contains also source files. These are used by m4 # when the target parser file is generated. -%files -f %{name}.lang +%files -f %{name}.lang -f %{name}-gnulib.lang %doc AUTHORS ChangeLog NEWS README THANKS TODO COPYING %{_mandir}/*/bison* %{_datadir}/bison @@ -118,6 +113,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Fri Jun 21 2019 Arjun Shankar - 3.4.1-1 +- Update to bison 3.4.1 (#1631912) + * Thu Jan 31 2019 Fedora Release Engineering - 3.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index e8b183f..fa851cb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bison-3.0.5.tar.xz) = 00b448db8abe91b07e32ff5273c6617bc1350d806f92073a9472f4c2f0de5d22c152795674171b74f2eb9eff8d36f8173b82dacb215601bb071ae39404d4a8a2 +SHA512 (bison-3.4.1.tar.xz) = 544d66bf11c55a69fad613bea429667c587fb0c3774f6894df81cb3c7931a554f79e6b71d6a6e9109e164e524c632127c967877f71328cd0b69a683d29ed128d From 905c8647c6bf2e3ee100e710116250dd67467ce5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 19:18:57 +0000 Subject: [PATCH 105/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 8c3c1e7..528ea0d 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.4.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -113,6 +113,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 3.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Jun 21 2019 Arjun Shankar - 3.4.1-1 - Update to bison 3.4.1 (#1631912) From dd93c18e8e12fd8124aaf01d18639304e995f41b Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Tue, 7 Jan 2020 18:48:56 +0100 Subject: [PATCH 106/136] Rebase to 3.5 (#1751843) --- bison.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bison.spec b/bison.spec index 528ea0d..94a23e7 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 3.4.1 -Release: 2%{?dist} +Version: 3.5 +Release: 1%{?dist} License: GPLv3+ Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -113,6 +113,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Tue Jan 7 2020 Arjun Shankar - 3.5-1 +- Update to bison 3.5 (#1751843) + * Wed Jul 24 2019 Fedora Release Engineering - 3.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index fa851cb..a6be33c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bison-3.4.1.tar.xz) = 544d66bf11c55a69fad613bea429667c587fb0c3774f6894df81cb3c7931a554f79e6b71d6a6e9109e164e524c632127c967877f71328cd0b69a683d29ed128d +SHA512 (bison-3.5.tar.xz) = 309ba77cfbf5d5ca697f522ac18ca9b55a1ec4e690b87220c97ffb1137b8bd8b22aa14c111166f0f4bf001e88f4bcbfd0583bc09810c246f0dc60fd6e8478950 From f2c952cad239a9f177783640f7774d3589ca6e81 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 13:00:44 +0000 Subject: [PATCH 107/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 94a23e7..eee1ffa 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.5 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -113,6 +113,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 3.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Jan 7 2020 Arjun Shankar - 3.5-1 - Update to bison 3.5 (#1751843) From 7811e6b368231fcd2366d9cacf98d44a4c24c425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Sun, 14 Jun 2020 23:01:01 +0200 Subject: [PATCH 108/136] Update to bison 3.6.4 (#1792738, #1847608) --- bison.spec | 7 +++++-- ...-7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E.gpg | Bin 0 -> 1406 bytes sources | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 gpgkey-7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E.gpg diff --git a/bison.spec b/bison.spec index eee1ffa..cfb4c57 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 3.5 -Release: 2%{?dist} +Version: 3.6.4 +Release: 1%{?dist} License: GPLv3+ Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz @@ -113,6 +113,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Sun Jul 5 2020 Dan Čermák - 3.6.4-1 +- Update to bison 3.6.4 (#1792738, #1847608) + * Tue Jan 28 2020 Fedora Release Engineering - 3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/gpgkey-7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E.gpg b/gpgkey-7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E.gpg new file mode 100644 index 0000000000000000000000000000000000000000..3015744f0a9c8ec725092710f3e1416ccfd57f6f GIT binary patch literal 1406 zcmbQqxQNAK+q6T1EDXm}kGL0~5dYLC^2GOSg8$D;dh29VZ|qbL_nx?N-!fx=@%RgS z{u^nP@#sul^+tbf1lX9w&YgZ+pYC)?Kb}?t=idW(b0Hj8OMp; zAEYF&1~$&(y>^O6DL+@E$>4fW%s=nSTP^aU8}t`@Eh#kJc{#f{tI^p`oMFMehZ8mQ zPwh$J-ZuHYL04YqRb#b_EDW2a7RY-|y1DlKWCI!F6J={Bx1L*M{c*>HxdI{_{mJY% zrqxZ)ixkk-=vg;?-(G_a2l{80lnC<8=X>%n`#Y!aF;D9yH$*JhTn&s~FPwNfZ})q1 z?ZeA9su=WLdsZf#-orIP(N#lmiP+k3<-3J-y5oBWr%v7k&qIZd zv-yG@y2LrQZfo2BcEV1>dHnAR7XQB^c$mMrGyCXIhn(vVr*qpn`OR$2`=9pI+ehuP z;e9_hhN6{Kd|8>r4G$-umM!|as`F>>p1bE54=Qa@a?H-mRd7koP0Y;6NmZ~(%+Abp z$SF!m)k`hNEJ@T$E3)f|V-Xf)Vvu8HvM>C8n@O6PjhmB$otcSQl!=*HjERv+j*&^c zfq{!tfcMTSql&9)ez9E)^HWxDX%uti{IL0GL%iw}kJMLhR1+B%+__rYx4TyNTH&59 ztG&~rrfhF$OWY!h%?$|a!@$;yu`+>D6AL#N3p2AQGZWZmRBKf}G0gWidU&>A?d1bu zwz^`SGexKEJC?DUVZmjt30prrFkEsZEyGgbcFf=REpZ%MRIpi_R+O5WR+O2Vmr|^k zUzCpO`Gv%IK7xs1!J3EjwHR`rtN2WL?6F|S;hC>C-w*-?t z5p@oQXST>-b47YyDW>gbiLqVjIm7(&6-ALI83AYKWna+RcHP=EbnUI_3=2-*&eneL zEM%j^dvAX8CmN#rElkz6D4^M%0!;`Gsd>dEXpw*1v4j{GESvT)Bm|il*ubg%26Cpl6v!}7=l{8&89{R$ Date: Sun, 14 Jun 2020 23:01:50 +0200 Subject: [PATCH 109/136] Add source file verification using %gpgverify For the guidelines, see: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_source_file_verification --- bison.spec | 11 +++++++++-- upstream-key.gpg | 48 ------------------------------------------------ 2 files changed, 9 insertions(+), 50 deletions(-) delete mode 100644 upstream-key.gpg diff --git a/bison.spec b/bison.spec index cfb4c57..4155535 100644 --- a/bison.spec +++ b/bison.spec @@ -3,12 +3,18 @@ Name: bison Version: 3.6.4 Release: 1%{?dist} License: GPLv3+ -Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz +Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz +Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig +# genereted from https://ftp.gnu.org/gnu/gnu-keyring.gpg via: +# curl https://ftp.gnu.org/gnu/gnu-keyring.gpg | gpg2 --import +# gpg2 --export --export-options export-minimal 7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E > gpgkey-7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E.gpg +Source2: gpgkey-7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E.gpg # testsuite dependency BuildRequires: gcc-c++ BuildRequires: autoconf BuildRequires: flex +BuildRequires: gnupg2 URL: http://www.gnu.org/software/bison/ BuildRequires: m4 >= 1.4 @@ -68,7 +74,8 @@ these files are available. See the Internationalization in the Bison manual section for more information. %prep -%setup -q +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' +%autosetup %build %configure diff --git a/upstream-key.gpg b/upstream-key.gpg deleted file mode 100644 index 7e88f82..0000000 --- a/upstream-key.gpg +++ /dev/null @@ -1,48 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.4.1 (GNU/Linux) - -mQGiBD8yt+oRBADkmVuWjrl0k0lrYOdaczAslirKeiayAd8868d7V6GzfFc/HES4 -tFhi+okVybTAUJ6i4oKmIV0c5pNyzZ3TErHYFb40RP0FgW39SMgAIQ/H/kBMSjrq -jQNQi9TsXolNc2v+8rkYGRkR20PiIUwKxeZvgB6tyMNFTb9/NrwqNM+E2wCgobBp -1S/UnaRfYRt+CYH91TTTPWUD/jW/S9ddc0yXOwx2f99f+gIJ6KIQmRihP3LvTdlf -vWwv1M8y9uWteXP11rcmvdRryL40irKP3gUnBHo7h3+vicTlG/YV0lvVPzo12mgO -6yEO1eJmxYYkqeQ4Tzy95SG1xuoEYK6daOHPAZTBdoUCHJXaJhxbllPSgx6F0taT -S4u9BADgXDuE1lduOsQeIa8LadO7MtRdCC+lpuh6OErNnHgVCBnOJzIWY6Vtw0mZ -nvKvwQCTbgwC5ZF2VdcfKfnNsz1Uc/tie7bGo4rz1CnHMokRT6+CMpkSg0+8CAFM -LSYIZP0Bs4YCD1XxoVef/3xqULSzY9tEc0hB/eCOfuXCFiHbuLQcUGF1bCBFZ2dl -cnQgPGVnZ2VydEBnbnUub3JnPohdBBMRAgAdBQI/MrfrBQkB4TOABQsHCgMEAxUD -AgMWAgECF4AACgkQ1h7LNGmkcmsIhwCdEqoVFmJzghAzkqwDlO+zO8vwNZMAn13H -cKAWAkQ1XttffFpQ4g63o5CYuQENBD8yt+0QBACVjyAOjVJIv/H7mCYAIdx1mF+U -BOIZzEKsJnqIR+8DZvDsmY6dvkvDEETlMlE3D+mH+CuNylDsHChDKBVTonrKsPdl -woVjkh2lQ5x67U929cNpJ3O5+Y3DxiANj1NPV3rgUePO/HxqFnRZdWtw6kXcnDgQ -ELVhB2ngzU1Jxfu9YwADBgP/UkK5GfBuhqY/5UessEZNs2vzRoVe/jsj4AF0zUfO -37FbUllURV+3bK6knN6L/l77mDGh/oHqBr4drewxWN9EQMB8lhKHVunazmQ7kTcZ -O8xnZQubASTnM6Hd7OL4wJAcpVyQOBaVsPDOf0vlqCHX+xj1T+mxJPhqZrHqmJeV -j2iITAQYEQIADAUCPzK37QUJAeEzgAAKCRDWHss0aaRya+jOAJ96m9tB9UFY36ou -H9CzH0gE60M9mACfXqEHT1kDN+s5z64kiKr0lNe3+9GZAaIEQuEYHxEEAP1h6Eyn -sdMRGwx3/tlUoeHFjVe7fkN/JzlL5Z6oao+Y/Yf2ESBg/XB0/8FaS7CTQMHKChip -a9Wivp+GiqzKCewULYLApLUS5WO+xJ8wGPIShIUh33Vups7rR7JGqQ98pxbTk8E/ -36zRUH6R6g0H9DPZbUxKZDWELKKSegYu3FQ7AKCpqJc9Vq8GTgFflXlGYffSENVk -CwP/VMH3PtBfPRgwqiUrydXT95zogct+RivNzwzIsKxi+0w1BhYdCLNgXD7TA3lT -QsgLytskVer1T1dmp6bwH5ZW05iTzSOQqq8EI4sA5AYq5JIvUmIRYKg5R+LGuDxP -8Ruvw53NSE1hLtsC+qiQxHqcDK+t2vf8nSU7bcom92OuDZoD/3JEYfumdlrt/BR/ -Vv/dqG9kKLCoXNbuV+X4Aq8RTSOszopBUc+TJIqZNaAq13n4XUDqznhmlWq0d5x2 -CWQimDQzMn/2vjacJ/MNTdxcw+7s/rjnFy/LBWT/cRuUxgk3B+wlDHp4z5V1HLWF -ed49y4OHWxF7qvONM3ccwABW/xnvtCBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVj -bGEuZWR1PohkBBMRAgAkBQJC4RgfAhsDBQkFo5qABgsJCAcDAgMVAgMDFgIBAh4B -AheAAAoJELk/YMa1xM4TocEAoI6ngp3vBGXrLRkFFibu5kNbFoIvAKClFUC21RFB -xrC1eZoD2/df9IG/pLkCDQRC4RguEAgAutFBZGkpmjmVPG16cZDdXcAEEyKxse+s -W3ftiv/h8x2cvEmy8x3A2tuCWf5gSJ3viawdkAp5w9d42IoC4O3COF3B7nRpR6FU -6o193OXLrJhNjmBV5iGgyLZfkxuA686J7BP2yxUSzwJjAhyk1S+70sg3cygMLDT0 -EsID1n0Y5HWFHP5DkfNhIh0Kh4gqsCQBytO8cD/hsVSSbz+9ttDSV/LIzcCUgkJe -O5HkxSnd/3CYB2FBIzlM0XIWvEoZ/z6shroIySIGZlxnbZXFO//nVEC4EHQ7JKyj -7X+HvH2lumkjSnX51X0hmqBjeRvFK2gIu59DyZRTHiXtXE4Mdy+kXwADBQf+Ptps -V+WJ1BuemoEmaDgNCuO+JxH1D04/ux7PXCxZKU1+k4vtwdDPXSDpWxpGD8XWgN9C -if06GWHejBTgTRQoy4ygiBAo8B/vUQZdBL80z6rUuIOVg/EBUDiJV0Pz6Z7dwKfv -Bb2+F8flhqJDdPLs6VxYddd5ZemXbBBe2KanIsyP7Pk586sTzuU7PMTcEMcizkzg -HiMTY8zBd8+dBM7hn30/NORLsEfJpf+E4eC72TpJK4ZRfZpk03rMWBoZFziCfxjL -XUOB44tQK0yn53vreX1jcc5urmI4z7j7yD3sypkYCwn7gpwyxPB9A6zDf9HyvWpf -um6/jkof6fvV+OcRrYhPBBgRAgAPBQJC4RguAhsMBQkFo5qAAAoJELk/YMa1xM4T -y7QAmgPizj1fRazw/BFTyStLPjUAFXNlAKCnTTwKv96JkWTxcIILLfibPRmnFw== -=rfoO ------END PGP PUBLIC KEY BLOCK----- From debaa68e4816588d86263f606f28ece44cdf3921 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Sun, 14 Jun 2020 23:02:46 +0200 Subject: [PATCH 110/136] Use macros where applicable and drop unecessary rm $RPM_BUILD_ROOT --- bison.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/bison.spec b/bison.spec index 4155535..0ac13e6 100644 --- a/bison.spec +++ b/bison.spec @@ -16,7 +16,7 @@ BuildRequires: autoconf BuildRequires: flex BuildRequires: gnupg2 -URL: http://www.gnu.org/software/bison/ +URL: http://www.gnu.org/software/%{name}/ BuildRequires: m4 >= 1.4 #java-1.7.0-openjdk-devel Requires: m4 >= 1.4 @@ -79,21 +79,20 @@ Bison manual section for more information. %build %configure -make +%make_build %check make check #make maintainer-check %install -rm -rf $RPM_BUILD_ROOT -%makeinstall +%make_install # Remove unpackaged files. -rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc -rm -f $RPM_BUILD_ROOT/%{_infodir}/dir -rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc* -rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/* +rm -f %{buildroot}/%{_bindir}/yacc +rm -f %{buildroot}/%{_infodir}/dir +rm -f %{buildroot}/%{_mandir}/man1/yacc* +rm -rf %{buildroot}/%{_docdir}/%{name}/examples/* %find_lang %{name} %find_lang %{name}-runtime @@ -120,7 +119,7 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog -* Sun Jul 5 2020 Dan Čermák - 3.6.4-1 +* Fri Jul 10 2020 Dan Čermák - 3.6.4-1 - Update to bison 3.6.4 (#1792738, #1847608) * Tue Jan 28 2020 Fedora Release Engineering - 3.5-2 From 25d8b8ae115c02cc0d35580e449e35153400cd8b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 13:09:40 +0000 Subject: [PATCH 111/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 0ac13e6..ef29274 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.6.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig @@ -119,6 +119,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 3.6.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 10 2020 Dan Čermák - 3.6.4-1 - Update to bison 3.6.4 (#1792738, #1847608) From 419da203da77e2381a7a6b3aae1561cd92fd6390 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 00:09:31 +0000 Subject: [PATCH 112/136] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index ef29274..930111b 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.6.4 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig @@ -119,6 +119,10 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 3.6.4-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 3.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 832287ee0d239a95f7a67300475d20581e0cbf19 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Thu, 27 Aug 2020 23:02:09 +0200 Subject: [PATCH 113/136] Update to bison 3.7.1 (#1859887) --- bison.spec | 7 +++++-- sources | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bison.spec b/bison.spec index 930111b..059618c 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 3.6.4 -Release: 3%{?dist} +Version: 3.7.1 +Release: 1%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig @@ -119,6 +119,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Thu Aug 27 2020 Arjun Shankar - 3.7.1-1 +- Update to bison 3.7.1 (#1859887) + * Sat Aug 01 2020 Fedora Release Engineering - 3.6.4-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 3959855..ddbcdfb 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (bison-3.6.4.tar.xz) = 041cd87f4ca6b012031719a49aa81e62d3c0817c6364289732e6a3cb9a0762498760e0f2ce84c03ca9e9b74eb74bdffd1b8b86d2b4a6e4a0d8c8a4b864b672dc -SHA512 (bison-3.6.4.tar.xz.sig) = 6ad8df66219c3e828f10d4a4b8d8b083c124af81976030c57630b9a2d290415581b1165b65672b8f2caa8804f06d4ac9708c66bc3e7a8759f784bd47dab9ccd2 +SHA512 (bison-3.7.1.tar.xz) = 9c4097b6ff26e819be14a9d4ef39f6f259c04627cd305e11da8e67897a369b2bba5ce96bf19fa5f6088670e90a9c5bc5c45172f8f482252aeec546b285dd0797 +SHA512 (bison-3.7.1.tar.xz.sig) = 84d77d28347b6d7c6e3258828456af055f73be09e4ff6d22c3bbc3b1dff084c213e4d06c449f48b4c094721e38a0546074d4f76858495afd55aa18ff2c5ef570 From 13a12cf58cd225c19d1238ac9dd83b0449ae0c77 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Tue, 8 Sep 2020 14:09:28 +0200 Subject: [PATCH 114/136] Update to bison 3.7.2 (#1876120) --- bison.spec | 5 ++++- sources | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bison.spec b/bison.spec index 059618c..bed7b1c 100644 --- a/bison.spec +++ b/bison.spec @@ -1,6 +1,6 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 3.7.1 +Version: 3.7.2 Release: 1%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz @@ -119,6 +119,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Tue Sep 8 2020 Arjun Shankar - 3.7.2-1 +- Update to bison 3.7.2 (#1876120) + * Thu Aug 27 2020 Arjun Shankar - 3.7.1-1 - Update to bison 3.7.1 (#1859887) diff --git a/sources b/sources index ddbcdfb..30be5a0 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (bison-3.7.1.tar.xz) = 9c4097b6ff26e819be14a9d4ef39f6f259c04627cd305e11da8e67897a369b2bba5ce96bf19fa5f6088670e90a9c5bc5c45172f8f482252aeec546b285dd0797 -SHA512 (bison-3.7.1.tar.xz.sig) = 84d77d28347b6d7c6e3258828456af055f73be09e4ff6d22c3bbc3b1dff084c213e4d06c449f48b4c094721e38a0546074d4f76858495afd55aa18ff2c5ef570 +SHA512 (bison-3.7.2.tar.xz) = 42eb501c246e9b4b24cb212c8da538b11b1944b997314105e67f88f22d73b7d00cf19b21e086aa7523630a2a24e1fd70a89d85a7e3003783990e08d31f711a27 +SHA512 (bison-3.7.2.tar.xz.sig) = 565205c350c33a460b9539ad87b2381e88611a1add66a706f818a18925628a5c0bfdd693a5fbe65150f3c31d2e4254c07f045ff59cb9eb48725bfd625e69db61 From 3a488cc430c5c65bb2e0df65fd128399648c2ad4 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Tue, 10 Nov 2020 01:16:09 +0100 Subject: [PATCH 115/136] Update to bison 3.7.3 (#1887766) --- bison.spec | 5 ++++- sources | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bison.spec b/bison.spec index bed7b1c..606dcc4 100644 --- a/bison.spec +++ b/bison.spec @@ -1,6 +1,6 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 3.7.2 +Version: 3.7.3 Release: 1%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz @@ -119,6 +119,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Tue Nov 10 2020 Arjun Shankar - 3.7.3-1 +- Update to bison 3.7.3 (#1887766) + * Tue Sep 8 2020 Arjun Shankar - 3.7.2-1 - Update to bison 3.7.2 (#1876120) diff --git a/sources b/sources index 30be5a0..84a2b50 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (bison-3.7.2.tar.xz) = 42eb501c246e9b4b24cb212c8da538b11b1944b997314105e67f88f22d73b7d00cf19b21e086aa7523630a2a24e1fd70a89d85a7e3003783990e08d31f711a27 -SHA512 (bison-3.7.2.tar.xz.sig) = 565205c350c33a460b9539ad87b2381e88611a1add66a706f818a18925628a5c0bfdd693a5fbe65150f3c31d2e4254c07f045ff59cb9eb48725bfd625e69db61 +SHA512 (bison-3.7.3.tar.xz) = 34fe630749dc015f15a830ad13742c4b0b9163143a11e987c16954bee0451e819ec2fa7b43bd34c867e5ce72c758eb9070348d1d581c9435b9531a99caa46eed +SHA512 (bison-3.7.3.tar.xz.sig) = d1b9089a7def174b43e05e651d582e9456a07b07ef873f72709d6cbfe213b3a4e1ef4714534384327d9072b14b9155b730fabddf70a7929f8fa89401fd6834ff From cea353fe0f15e0c98453540e1b417c5d288ff35f Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 17 Dec 2020 02:56:30 +0000 Subject: [PATCH 116/136] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- bison.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/bison.spec b/bison.spec index 606dcc4..3617779 100644 --- a/bison.spec +++ b/bison.spec @@ -18,6 +18,7 @@ BuildRequires: gnupg2 URL: http://www.gnu.org/software/%{name}/ BuildRequires: m4 >= 1.4 +BuildRequires: make #java-1.7.0-openjdk-devel Requires: m4 >= 1.4 From 3aa0fcfae1031f55e2156d0256197dac650dcb7b Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Mon, 11 Jan 2021 16:16:20 +0100 Subject: [PATCH 117/136] Update to bison 3.7.4 (#1897780) --- bison.spec | 5 ++++- sources | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bison.spec b/bison.spec index 3617779..3dd6c37 100644 --- a/bison.spec +++ b/bison.spec @@ -1,6 +1,6 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 3.7.3 +Version: 3.7.4 Release: 1%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz @@ -120,6 +120,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Mon Jan 11 2021 Arjun Shankar - 3.7.4-1 +- Update to bison 3.7.4 (#1897780) + * Tue Nov 10 2020 Arjun Shankar - 3.7.3-1 - Update to bison 3.7.3 (#1887766) diff --git a/sources b/sources index 84a2b50..b636373 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (bison-3.7.3.tar.xz) = 34fe630749dc015f15a830ad13742c4b0b9163143a11e987c16954bee0451e819ec2fa7b43bd34c867e5ce72c758eb9070348d1d581c9435b9531a99caa46eed -SHA512 (bison-3.7.3.tar.xz.sig) = d1b9089a7def174b43e05e651d582e9456a07b07ef873f72709d6cbfe213b3a4e1ef4714534384327d9072b14b9155b730fabddf70a7929f8fa89401fd6834ff +SHA512 (bison-3.7.4.tar.xz) = 3fc13ab21e28218afc9b7f1196a5607de7ff4403c4126df359848422a8057ac6c17ce4344864dd320b7c47a08d98e0f3e2929f25b06be3b1f1c867c0568f367c +SHA512 (bison-3.7.4.tar.xz.sig) = 40154e23cbd50a3fb11ce2dbd84895905e3346c118d9ab8f58f5ca3df0c1289a2151abccd977cf1d7b644e559c2fd5cc18b59ab2d559a5ea1e1b825aaceebdbb From c1826398d7b552794062f9379075965515477a10 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 01:10:08 +0000 Subject: [PATCH 118/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 3dd6c37..0f0fad4 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.7.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig @@ -120,6 +120,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 3.7.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jan 11 2021 Arjun Shankar - 3.7.4-1 - Update to bison 3.7.4 (#1897780) From 186fec90edaa698dab12d39a89ddb8adb801456a Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Tue, 16 Mar 2021 17:24:30 +0100 Subject: [PATCH 119/136] Update to bison 3.7.6 (#1920078) --- bison.spec | 7 +++++-- sources | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bison.spec b/bison.spec index 0f0fad4..a8da3b2 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 3.7.4 -Release: 2%{?dist} +Version: 3.7.6 +Release: 1%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig @@ -120,6 +120,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Tue Mar 16 2021 Arjun Shankar - 3.7.6-1 +- Update to bison 3.7.6 (#1920078) + * Tue Jan 26 2021 Fedora Release Engineering - 3.7.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index b636373..085f270 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (bison-3.7.4.tar.xz) = 3fc13ab21e28218afc9b7f1196a5607de7ff4403c4126df359848422a8057ac6c17ce4344864dd320b7c47a08d98e0f3e2929f25b06be3b1f1c867c0568f367c -SHA512 (bison-3.7.4.tar.xz.sig) = 40154e23cbd50a3fb11ce2dbd84895905e3346c118d9ab8f58f5ca3df0c1289a2151abccd977cf1d7b644e559c2fd5cc18b59ab2d559a5ea1e1b825aaceebdbb +SHA512 (bison-3.7.6.tar.xz) = 6c1c9b825fbd2c94b8903f03a7e68e6832599f7bbd8d3c49864537c11b038c45a15de02fd36128d662af314334c83515bbc132df84e9acc6c651e98649c65bad +SHA512 (bison-3.7.6.tar.xz.sig) = ed01c5355a7f28f3670184ecf15ab08cf5e8aacf87ee5c210d2ca2e6aa0829e443cabb18e4dd146a0d7d84a166623f36dff17b6b5150238da7c857484b2356c6 From 64ffd40f85715f1630120ebb12f4e81c3aa608c8 Mon Sep 17 00:00:00 2001 From: Edjunior Machado Date: Mon, 22 Feb 2021 17:32:58 +0100 Subject: [PATCH 120/136] Introduce CI gating --- .fmf/version | 1 + gating.yaml | 19 ++++++ plans/ci.fmf | 6 ++ tests/Sanity/basic-test/Makefile | 63 ++++++++++++++++++ tests/Sanity/basic-test/PURPOSE | 3 + tests/Sanity/basic-test/calc.y | 100 +++++++++++++++++++++++++++++ tests/Sanity/basic-test/main.fmf | 14 ++++ tests/Sanity/basic-test/runtest.sh | 61 ++++++++++++++++++ 8 files changed, 267 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/ci.fmf create mode 100644 tests/Sanity/basic-test/Makefile create mode 100644 tests/Sanity/basic-test/PURPOSE create mode 100644 tests/Sanity/basic-test/calc.y create mode 100644 tests/Sanity/basic-test/main.fmf create mode 100755 tests/Sanity/basic-test/runtest.sh diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..ce3cdc1 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,19 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} diff --git a/plans/ci.fmf b/plans/ci.fmf new file mode 100644 index 0000000..1ad2c12 --- /dev/null +++ b/plans/ci.fmf @@ -0,0 +1,6 @@ +summary: CI Gating Plan +discover: + how: fmf + directory: tests +execute: + how: beakerlib diff --git a/tests/Sanity/basic-test/Makefile b/tests/Sanity/basic-test/Makefile new file mode 100644 index 0000000..9a64167 --- /dev/null +++ b/tests/Sanity/basic-test/Makefile @@ -0,0 +1,63 @@ +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Makefile of /tools/bison/Sanity/basic-test +# Description: bison basic test +# Author: Edjunior Machado +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2021 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +export TEST=/tools/bison/Sanity/basic-test +export TESTVERSION=1.0 + +BUILT_FILES= + +FILES=$(METADATA) runtest.sh Makefile PURPOSE calc.y + +.PHONY: all install download clean + +run: $(FILES) build + ./runtest.sh + +build: $(BUILT_FILES) + test -x runtest.sh || chmod a+x runtest.sh + +clean: + rm -f *~ $(BUILT_FILES) + + +include /usr/share/rhts/lib/rhts-make.include + +$(METADATA): Makefile + @echo "Owner: Edjunior Machado " > $(METADATA) + @echo "Name: $(TEST)" >> $(METADATA) + @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) + @echo "Path: $(TEST_DIR)" >> $(METADATA) + @echo "Description: bison basic test" >> $(METADATA) + @echo "Type: Sanity" >> $(METADATA) + @echo "TestTime: 1h" >> $(METADATA) + @echo "RunFor: bison" >> $(METADATA) + @echo "Requires: bison gcc" >> $(METADATA) + @echo "Priority: Normal" >> $(METADATA) + @echo "License: GPLv2+" >> $(METADATA) + @echo "Confidential: no" >> $(METADATA) + @echo "Destructive: no" >> $(METADATA) + @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5 -RHEL6" >> $(METADATA) + + rhts-lint $(METADATA) diff --git a/tests/Sanity/basic-test/PURPOSE b/tests/Sanity/basic-test/PURPOSE new file mode 100644 index 0000000..fe778df --- /dev/null +++ b/tests/Sanity/basic-test/PURPOSE @@ -0,0 +1,3 @@ +PURPOSE of /tools/bison/Sanity/basic-test +Description: bison basic test +Author: Edjunior Machado diff --git a/tests/Sanity/basic-test/calc.y b/tests/Sanity/basic-test/calc.y new file mode 100644 index 0000000..f1fac0b --- /dev/null +++ b/tests/Sanity/basic-test/calc.y @@ -0,0 +1,100 @@ +%code top { + #include + #include /* isdigit. */ + #include /* printf. */ + #include /* abort. */ + #include /* strcmp. */ + + int yylex (void); + void yyerror (char const *); +} + +/* Generate YYSTYPE from the types used in %token and %type. */ +%define api.value.type union +%token NUM "number" +%type expr term fact + +/* Generate the parser description file (calc.output). */ +%verbose + +/* Nice error messages with details. */ +%define parse.error verbose + +/* Enable run-time traces (yydebug). */ +%define parse.trace + +/* Formatting semantic values in debug traces. */ +%printer { fprintf (yyo, "%g", $$); } ; + +%% /* The grammar follows. */ +input: + %empty +| input line +; + +line: + '\n' +| expr '\n' { printf ("%.10g\n", $1); } +| error '\n' { yyerrok; } +; + +expr: + expr '+' term { $$ = $1 + $3; } +| expr '-' term { $$ = $1 - $3; } +| term +; + +term: + term '*' fact { $$ = $1 * $3; } +| term '/' fact { $$ = $1 / $3; } +| fact +; + +fact: + "number" +| '(' expr ')' { $$ = $2; } +; + +%% + +int +yylex (void) +{ + int c; + + /* Ignore white space, get first nonwhite character. */ + while ((c = getchar ()) == ' ' || c == '\t') + continue; + + if (c == EOF) + return 0; + + /* Char starts a number => parse the number. */ + if (c == '.' || isdigit (c)) + { + ungetc (c, stdin); + if (scanf ("%lf", &yylval.NUM) != 1) + abort (); + return NUM; + } + + /* Any other character is a token by itself. */ + return c; +} + +/* Called by yyparse on error. */ +void +yyerror (char const *s) +{ + fprintf (stderr, "%s\n", s); +} + +int +main (int argc, char const* argv[]) +{ + /* Enable parse traces on option -p. */ + for (int i = 1; i < argc; ++i) + if (!strcmp (argv[i], "-p")) + yydebug = 1; + return yyparse (); +} diff --git a/tests/Sanity/basic-test/main.fmf b/tests/Sanity/basic-test/main.fmf new file mode 100644 index 0000000..9efa915 --- /dev/null +++ b/tests/Sanity/basic-test/main.fmf @@ -0,0 +1,14 @@ +summary: bison basic test +description: '' +contact: +- Edjunior Machado +component: +- bison +test: ./runtest.sh +framework: beakerlib +recommend: +- bison +- gcc +duration: 1h +extra-summary: /tools/bison/Sanity/basic-test +extra-task: /tools/bison/Sanity/basic-test diff --git a/tests/Sanity/basic-test/runtest.sh b/tests/Sanity/basic-test/runtest.sh new file mode 100755 index 0000000..be397d7 --- /dev/null +++ b/tests/Sanity/basic-test/runtest.sh @@ -0,0 +1,61 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /tools/bison/Sanity/basic-test +# Description: bison basic test +# Author: Edjunior Machado +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2021 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +PACKAGE="bison" + +rlJournalStart + rlPhaseStartSetup + rlAssertRpm $PACKAGE + rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory" + rlRun "cp calc.y $TmpDir" + rlRun "pushd $TmpDir" + rlPhaseEnd + + rlPhaseStartTest + # calc.y from http://git.savannah.gnu.org/cgit/bison.git/tree/examples/c/calc?h=v3.7.5 + rlRun -c "bison --defines --xml --graph=calc.gv -o calc.c calc.y" + + rlAssertExists "calc.c" + rlAssertGrep "int yylex (void);" calc.c + rlAssertExists "calc.h" + rlAssertGrep "int yyparse (void);" calc.h + + rlRun -c "gcc -std=c99 -o calc calc.c" + rlAssertExists "calc" + + rlAssertEquals "Testing if './calc <<< 1+2*3' is equal '7'" $(./calc <<< 1+2*3) 7 + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "popd" + rlRun "rm -r $TmpDir" 0 "Removing tmp directory" + rlPhaseEnd +rlJournalPrintText +rlJournalEnd From 8201a40ccb0dff8e142162b32cfb5d3e2f2f436c Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Tue, 18 May 2021 21:37:22 +0200 Subject: [PATCH 121/136] Rebuild with binutils-2.36.1-12.fc35 --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index a8da3b2..e0c4178 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.7.6 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig @@ -120,6 +120,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Tue May 18 2021 Arjun Shankar - 3.7.6-2 +- Rebuild with binutils-2.36.1-12.fc35 + * Tue Mar 16 2021 Arjun Shankar - 3.7.6-1 - Update to bison 3.7.6 (#1920078) From 10f098be0e4636df5f457c9717f9b6f08caa42d4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 13:41:50 +0000 Subject: [PATCH 122/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From fabe45b9ac94ed67586f8817a72afa701f703050 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 18:38:37 +0000 Subject: [PATCH 123/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index e0c4178..839892c 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.7.6 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig @@ -120,6 +120,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 3.7.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue May 18 2021 Arjun Shankar - 3.7.6-2 - Rebuild with binutils-2.36.1-12.fc35 From a3b0abe3438bfcef7469fc11993095c5c4bc4407 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Mon, 13 Dec 2021 21:28:37 +0100 Subject: [PATCH 124/136] Update to bison 3.8.2 (#2002074) --- bison.spec | 7 +++++-- sources | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bison.spec b/bison.spec index 839892c..eae9ac0 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 3.7.6 -Release: 3%{?dist} +Version: 3.8.2 +Release: 1%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig @@ -120,6 +120,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Mon Dec 13 2021 Arjun Shankar - 3.8.2-1 +- Update to bison 3.8.2 (#2002074) + * Wed Jul 21 2021 Fedora Release Engineering - 3.7.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 085f270..f3f2816 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (bison-3.7.6.tar.xz) = 6c1c9b825fbd2c94b8903f03a7e68e6832599f7bbd8d3c49864537c11b038c45a15de02fd36128d662af314334c83515bbc132df84e9acc6c651e98649c65bad -SHA512 (bison-3.7.6.tar.xz.sig) = ed01c5355a7f28f3670184ecf15ab08cf5e8aacf87ee5c210d2ca2e6aa0829e443cabb18e4dd146a0d7d84a166623f36dff17b6b5150238da7c857484b2356c6 +SHA512 (bison-3.8.2.tar.xz) = d4d23af6671406e97257892f90651b67f2ab95219831372be032190b7156c10a3435d457857e677445df8b2327aacccc15344acbbc3808a6f332a93cce23b444 +SHA512 (bison-3.8.2.tar.xz.sig) = 8bb7743ca326e81a6c091b1413e3c09bd43c7eabbb80bac0638ccd52bdf7e3395cce300a86acd95f4637a9ec8a1b0e9a4d3d25d95ab0a8f03e57fd82eb87a7ac From baa17dc79e6e739e32898324c9d2ed47d2a062b2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 22:22:12 +0000 Subject: [PATCH 125/136] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index eae9ac0..b6bfc8e 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.8.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig @@ -120,6 +120,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 3.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Dec 13 2021 Arjun Shankar - 3.8.2-1 - Update to bison 3.8.2 (#2002074) From dd185e287c2805f0b2c433f14b3ddb4440a6e8a7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 22:01:07 +0000 Subject: [PATCH 126/136] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index b6bfc8e..b8c69ad 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.8.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig @@ -120,6 +120,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 3.8.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Wed Jan 19 2022 Fedora Release Engineering - 3.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From d50b04b4e6911db11b23dfd979f83dbdbcab0d55 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 22:54:54 +0000 Subject: [PATCH 127/136] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index b8c69ad..cdbc2e8 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.8.2 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig @@ -120,6 +120,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 3.8.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Wed Jul 20 2022 Fedora Release Engineering - 3.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 2368a74ed4b6f35120f7219b8219e03befd39ffe Mon Sep 17 00:00:00 2001 From: Edjunior Machado Date: Fri, 9 Dec 2022 17:02:29 +0100 Subject: [PATCH 128/136] tests: Fix fmf plan deprecated attributes --- plans/ci.fmf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plans/ci.fmf b/plans/ci.fmf index 1ad2c12..3fd3ab7 100644 --- a/plans/ci.fmf +++ b/plans/ci.fmf @@ -1,6 +1,5 @@ summary: CI Gating Plan discover: how: fmf - directory: tests execute: - how: beakerlib + how: tmt From 17cf2b8eab90f0ac7b2d614240eb56f437e7f8cf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 14:39:20 +0000 Subject: [PATCH 129/136] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index cdbc2e8..c1dce25 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.8.2 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv3+ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig @@ -120,6 +120,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 3.8.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Jan 18 2023 Fedora Release Engineering - 3.8.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 067a9cbdac9cedcdac2f17eb2dff62be4e930963 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Fri, 1 Sep 2023 12:33:32 +0200 Subject: [PATCH 130/136] Migrate License field to SPDX identifiers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2 Reviewed-by: Frédéric Bérat --- bison-license-check.sh | 108 +++++++++++++++++++++++++++++++++++++++++ bison.spec | 14 +++++- 2 files changed, 120 insertions(+), 2 deletions(-) create mode 100755 bison-license-check.sh diff --git a/bison-license-check.sh b/bison-license-check.sh new file mode 100755 index 0000000..e39c8e9 --- /dev/null +++ b/bison-license-check.sh @@ -0,0 +1,108 @@ +#!/bin/bash + +# Run this in a bison source tree basedir to quickly guess the licensing +# status of various bison source files. e.g. when using +# glibc-maintainer-scripts for package maintenance, this means running it in +# the bison-patches directory. +# We use this because for some reason, fossology is unable to grok bison +# sources for a license analysis. + +for f in $(find . -type f | grep -v '\.git/' | grep -v 'gnulib/'); do + + if file $f | grep -q text; then # Hoping this is true iff the file is a text file + + license="Unknown" + + if head -n50 $f \ + | grep -C50 -i "This.*file is free software; the Free Software Foundation" \ + | grep -C50 -i "unlimited permission to copy and/or distribute it" \ + | grep -C50 -i "with or without" \ + | grep -qi "modifications, as long as this notice is preserved"; then + license="FSFULLR" + fi + + if head -n50 $f \ + | grep -C50 -i "This.*\(program\|file\) is free software" \ + | grep -C50 -i "GNU General Public License" \ + | grep -C50 -i "either version 2" \ + | grep -qi "any later version"; then + license="GPL-2.0-or-later" + fi + + if head -n50 $f \ + | grep -C50 -i "This.*\(program\|file\) is free" \ + | grep -C50 -i "GNU General Public License" \ + | grep -C50 -i "either version 3" \ + | grep -qi "any later version"; then + license="GPL-3.0-or-later" + fi + + # Order of check for v2 and v2.1 is important here; + # "either version 2" will also match "either version 2.1" + if head -n50 $f \ + | grep -C50 -i "This.*\(program\|file\) is free software" \ + | grep -C50 -i "GNU Lesser General Public License" \ + | grep -C50 -i "either version 2" \ + | grep -qi "any later version"; then + license="LGPL-2.0-or-later" + fi + + if head -n50 $f \ + | grep -C50 -i "Th.* is free software" \ + | grep -C50 -i "GNU Lesser General Public" \ + | grep -C50 -i "License" \ + | grep -C50 -i "either" \ + | grep -C50 -i "version 2.1" \ + | grep -qi "any later version"; then + license="LGPL-2.1-or-later" + fi + + if head -n50 $f \ + | grep -C50 -i "This.*\(program\|file\) is free software" \ + | grep -C50 -i "GNU Lesser General Public License" \ + | grep -C50 -i "either version 3" \ + | grep -qi "any later version"; then + license="LGPL-3.0-or-later" + fi + + if head -n50 $f \ + | grep -C50 -i "Permission is granted" \ + | grep -C50 -i "copy, distribute.*modify" \ + | grep -C50 -i "GNU Free Documentation License" \ + | grep -C50 -i "Version 1.3" \ + | grep -qi "any later version"; then + license="GFDL-1.3-or-later" + fi + + if head -n50 $f \ + | grep -C50 -i "Permission is hereby granted, free of charge" \ + | grep -C50 -i "to any person" \ + | grep -C50 -i "the Software without restriction" \ + | grep -C50 -i "use, copy, modify, merge, publish, distribute, sublicense" \ + | grep -qi "X Consortium"; then + license="X11" + fi + + if head -n50 $f \ + | grep -C50 -i "This file is distributed under the same license as" \ + | grep -qi "package"; then + license="Same-as-package-license" + fi + + if head -n50 $f \ + | grep -A20 -i "as .*exception" \ + | grep -qi "2\.2 of bison"; then + license="$license WITH Bison-exception-2.2" + fi + + if head -n50 $f \ + | grep -A20 -i "as .*exception" \ + | grep -A20 -i "distribute" \ + | grep -A20 -i "generated by autoconf" \ + | grep -qi "same distribution terms"; then + license="$license WITH Autoconf-exception-generic-3.0" + fi + + echo $license "("$f")" + fi; +done | sort diff --git a/bison.spec b/bison.spec index c1dce25..d61b57e 100644 --- a/bison.spec +++ b/bison.spec @@ -1,8 +1,12 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.8.2 -Release: 5%{?dist} -License: GPLv3+ +Release: 6%{?dist} + +# An SPDX license string check done against bison-3.8.2 found strings +# corresponding to the following licenses across the bison source tree: +License: GPL-3.0-or-later AND GPL-3.0-or-later WITH Autoconf-exception-generic-3.0 AND GPL-3.0-or-later WITH Bison-exception-2.2 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH Autoconf-exception-generic AND LGPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later AND FSFULLR AND GFDL-1.3-or-later AND X11 + Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig # genereted from https://ftp.gnu.org/gnu/gnu-keyring.gpg via: @@ -120,6 +124,12 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Fri Sep 1 2023 Arjun Shankar - 3.8.2-6 +- Analyse bison sources for license information +- Migrate License field to SPDX identifiers for + https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2 + (#2222079) + * Wed Jul 19 2023 Fedora Release Engineering - 3.8.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 08afa5a30b0cf837226c545faaef6fe06564ed88 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 14:25:50 +0000 Subject: [PATCH 131/136] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index d61b57e..038d2f4 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.8.2 -Release: 6%{?dist} +Release: 7%{?dist} # An SPDX license string check done against bison-3.8.2 found strings # corresponding to the following licenses across the bison source tree: @@ -124,6 +124,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 3.8.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Sep 1 2023 Arjun Shankar - 3.8.2-6 - Analyse bison sources for license information - Migrate License field to SPDX identifiers for From d83cfd466ffb3aa29771c3f7adc48141aa62d42a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 23 Jan 2024 00:26:44 +0000 Subject: [PATCH 132/136] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 038d2f4..a61c93a 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.8.2 -Release: 7%{?dist} +Release: 8%{?dist} # An SPDX license string check done against bison-3.8.2 found strings # corresponding to the following licenses across the bison source tree: @@ -124,6 +124,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Tue Jan 23 2024 Fedora Release Engineering - 3.8.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 3.8.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 4dae81436197449b8eec5d16de5b7e35f5a9bb76 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 18:19:38 +0000 Subject: [PATCH 133/136] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index a61c93a..be0e4c2 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.8.2 -Release: 8%{?dist} +Release: 9%{?dist} # An SPDX license string check done against bison-3.8.2 found strings # corresponding to the following licenses across the bison source tree: @@ -124,6 +124,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 3.8.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue Jan 23 2024 Fedora Release Engineering - 3.8.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 73bc4f2166091cd4fba554c3fde78aba86d8c32d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 12:32:26 +0000 Subject: [PATCH 134/136] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index be0e4c2..ff10c6b 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.8.2 -Release: 9%{?dist} +Release: 10%{?dist} # An SPDX license string check done against bison-3.8.2 found strings # corresponding to the following licenses across the bison source tree: @@ -124,6 +124,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 3.8.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Jul 17 2024 Fedora Release Engineering - 3.8.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 20bb1a840e2933e3f1d9fd6c5c400b63a61d2c0b Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 22 Apr 2025 18:48:04 -0400 Subject: [PATCH 135/136] Fix build with GCC 15 GCC 15 added bounds-checks to vector when assertions are enabled, which caused test "764: Leaked lookahead after nondeterministic parse syntax error: glr2.cc FAILED (glr-regression.at:1862)". The patch is from Gentoo and was submitted upstream without response. https://bugs.gentoo.org/935754 https://bugzilla.redhat.com/show_bug.cgi?id=2336443 --- bison-3.8.2-gcc15-glibcxx-assertions.patch | 69 ++++++++++++++++++++++ bison.spec | 5 +- 2 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 bison-3.8.2-gcc15-glibcxx-assertions.patch diff --git a/bison-3.8.2-gcc15-glibcxx-assertions.patch b/bison-3.8.2-gcc15-glibcxx-assertions.patch new file mode 100644 index 0000000..245cc84 --- /dev/null +++ b/bison-3.8.2-gcc15-glibcxx-assertions.patch @@ -0,0 +1,69 @@ +https://bugs.gentoo.org/935754 +https://lists.gnu.org/archive/html/bison-patches/2024-07/msg00000.html + +* data/skeletons/glr2.cc (yyundeleteLastStack): Recover +yylookaheadNeeds stack entry also, to prevent desyncing the sizes +of yystates and yylookaheadNeeds. +(class glr_state_set): New field yylookaheadNeedLastDeleted, +tracks lookahead need of last deleted state. +(yymarkStackDeleted): Save yylookaheadNeeds also. +--- +Hi! + +GCC 15 has added bounds-checks to vector when assertions are +enabled. This has caught a bug in Bison. See bug referenced above. + +Now, WRT the fix: I am not sure of its correctness, but it appears to +pass tests and everything seems to indicate that the presumption it is +based on is correct. That presumption is that the two stacks mentioned +above (yylookaheadNeeds and yystates) ought to be the same size. I +inferred this because all other locations that alter the size of the two +vectors appear to do so in lock-step. + +TIA, have a lovely day. + + data/skeletons/glr2.cc | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/data/skeletons/glr2.cc b/data/skeletons/glr2.cc +index 970ccfdf..8b962d6f 100644 +--- a/data/skeletons/glr2.cc ++++ b/data/skeletons/glr2.cc +@@ -1080,7 +1080,10 @@ namespace + { + size_t k = yyk.uget (); + if (yystates[k] != YY_NULLPTR) +- yylastDeleted = yystates[k]; ++ { ++ yylastDeleted = yystates[k]; ++ yylookaheadNeedLastDeleted = yylookaheadNeeds[k]; ++ } + yystates[k] = YY_NULLPTR; + } + +@@ -1093,6 +1096,7 @@ namespace + if (yylastDeleted == YY_NULLPTR || !yystates.empty ()) + return; + yystates.push_back (yylastDeleted); ++ yylookaheadNeeds.push_back (yylookaheadNeedLastDeleted); + YYCDEBUG << "Restoring last deleted stack as stack #0.\n"; + clearLastDeleted (); + } +@@ -1102,6 +1106,7 @@ namespace + void + yyremoveDeletes () + { ++ YYASSERT(yystates.size () == yylookaheadNeeds.size ()); + size_t newsize = yystates.size (); + /* j is the number of live stacks we have seen. */ + for (size_t i = 0, j = 0; j < newsize; ++i) +@@ -1160,6 +1165,7 @@ namespace + + /** The last stack we invalidated. */ + glr_state* yylastDeleted; ++ bool yylookaheadNeedLastDeleted; + }; // class glr_state_set + } // namespace + +-- +2.45.2 diff --git a/bison.spec b/bison.spec index ff10c6b..786b35e 100644 --- a/bison.spec +++ b/bison.spec @@ -14,6 +14,9 @@ Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig # gpg2 --export --export-options export-minimal 7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E > gpgkey-7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E.gpg Source2: gpgkey-7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E.gpg +# from Gentoo sys-devel/bison +Patch0: bison-3.8.2-gcc15-glibcxx-assertions.patch + # testsuite dependency BuildRequires: gcc-c++ BuildRequires: autoconf @@ -80,7 +83,7 @@ Bison manual section for more information. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' -%autosetup +%autosetup -p1 %build %configure From 96d07b164cfdc864a2ef75a16cd9e6b83eeb41c0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 17:43:03 +0000 Subject: [PATCH 136/136] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- bison.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bison.spec b/bison.spec index 786b35e..eabe3b8 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ Summary: A GNU general-purpose parser generator Name: bison Version: 3.8.2 -Release: 10%{?dist} +Release: 11%{?dist} # An SPDX license string check done against bison-3.8.2 found strings # corresponding to the following licenses across the bison source tree: @@ -127,6 +127,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 3.8.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Jan 16 2025 Fedora Release Engineering - 3.8.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild