From fe496eb0ad0c4d77476aaecc838357dc6ea34ecd Mon Sep 17 00:00:00 2001 From: Jiri Date: Fri, 23 Feb 2024 14:22:44 +0100 Subject: [PATCH 01/21] bump of release for for java-21-openjdk as system jdk https://fedoraproject.org/wiki/Changes/Java21 We are sorry, we messed a bit, and we have to bump release in this package --- javacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/javacc.spec b/javacc.spec index 8f6a17f..f0779d5 100644 --- a/javacc.spec +++ b/javacc.spec @@ -33,7 +33,7 @@ Name: javacc Version: 7.0.13 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 0 Summary: A parser/scanner generator for java @@ -152,6 +152,9 @@ ln -s javacc %{buildroot}%{_bindir}/javacc.sh %doc examples %changelog +* Fri Feb 23 2024 Jiri Vanek - 0:7.0.13-4 +- bump of release for for java-21-openjdk as system jdk + * Wed Jan 24 2024 Fedora Release Engineering - 0:7.0.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 13f860a345141efc62126bc94c00239c64ef0e2e Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Tue, 27 Feb 2024 16:05:07 +0100 Subject: [PATCH 02/21] Rebuilt for java-21-openjdk as system jdk https://fedoraproject.org/wiki/Changes/Java21 --- javacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/javacc.spec b/javacc.spec index f0779d5..8d3ba2b 100644 --- a/javacc.spec +++ b/javacc.spec @@ -33,7 +33,7 @@ Name: javacc Version: 7.0.13 -Release: 4%{?dist} +Release: 5%{?dist} Epoch: 0 Summary: A parser/scanner generator for java @@ -152,6 +152,9 @@ ln -s javacc %{buildroot}%{_bindir}/javacc.sh %doc examples %changelog +* Tue Feb 27 2024 Jiri Vanek - 0:7.0.13-5 +- Rebuilt for java-21-openjdk as system jdk + * Fri Feb 23 2024 Jiri Vanek - 0:7.0.13-4 - bump of release for for java-21-openjdk as system jdk From 0777dc670e4e97afd8b403f39e9797a8982c0fc5 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 26 Jun 2024 16:24:56 +0200 Subject: [PATCH 03/21] Tests should explicitly require package under test --- tests/Sanity/smoke/main.fmf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Sanity/smoke/main.fmf b/tests/Sanity/smoke/main.fmf index 0ff8dc2..0b1dc14 100644 --- a/tests/Sanity/smoke/main.fmf +++ b/tests/Sanity/smoke/main.fmf @@ -1,4 +1,6 @@ summary: javacc smoke test description: | Test basic functionality of javacc. -require: java-devel +require: + - javacc + - java-devel From e5ef0ce4017e85cb5a0468cbc0e069771a88413c Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 16 Jul 2024 18:32:54 -0600 Subject: [PATCH 04/21] Minor spec file simplifications --- javacc.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/javacc.spec b/javacc.spec index 8d3ba2b..f70dab4 100644 --- a/javacc.spec +++ b/javacc.spec @@ -29,7 +29,9 @@ # # Build in bootstrap mode on new architectures -%bcond_with bootstrap +%bcond bootstrap 0 + +%global giturl https://github.com/javacc/javacc Name: javacc Version: 7.0.13 @@ -44,10 +46,11 @@ Summary: A parser/scanner generator for java # - src/main/java/org/javacc/utils/OutputFileGenerator.java License: BSD-3-Clause AND BSD-2-Clause URL: https://javacc.org/ -Source0: https://github.com/javacc/javacc/archive/%{name}-%{version}.tar.gz +VCS: git:%{giturl}.git +Source: %{giturl}/archive/%{name}-%{version}.tar.gz # Fix javadoc errors in the JavaCharStream template # https://github.com/javacc/javacc/pull/257 -Patch0: 0001-Fix-javadoc-errors-in-JavaCharStream.template.patch +Patch: 0001-Fix-javadoc-errors-in-JavaCharStream.template.patch %if %{with bootstrap} BuildRequires: javapackages-bootstrap From b78d906393a6d3436bff61eca1934b4c3b77d110 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 10:52:29 +0000 Subject: [PATCH 05/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- javacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/javacc.spec b/javacc.spec index f70dab4..99e68a6 100644 --- a/javacc.spec +++ b/javacc.spec @@ -35,7 +35,7 @@ Name: javacc Version: 7.0.13 -Release: 5%{?dist} +Release: 6%{?dist} Epoch: 0 Summary: A parser/scanner generator for java @@ -155,6 +155,9 @@ ln -s javacc %{buildroot}%{_bindir}/javacc.sh %doc examples %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 0:7.0.13-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue Feb 27 2024 Jiri Vanek - 0:7.0.13-5 - Rebuilt for java-21-openjdk as system jdk From ab8e9d3d87312bbfcb5cd56f3ceef9c169cf749a Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 30 Jul 2024 13:38:14 +0200 Subject: [PATCH 06/21] Adjust bootstrap build for javapackages-bootstrap update --- javacc.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/javacc.spec b/javacc.spec index 99e68a6..9ceb77f 100644 --- a/javacc.spec +++ b/javacc.spec @@ -35,7 +35,7 @@ Name: javacc Version: 7.0.13 -Release: 6%{?dist} +Release: 7%{?dist} Epoch: 0 Summary: A parser/scanner generator for java @@ -118,7 +118,7 @@ fixtimestamp examples/JJTreeExamples/cpp/eg3.jjt %build %if %{with bootstrap} -cp $(find-jar javapackages-bootstrap/javacc) bootstrap/javacc.jar +cp %{_prefix}/lib/javapackages-bootstrap/javacc.jar bootstrap/javacc.jar %else build-jar-repository -p bootstrap javacc %endif @@ -155,6 +155,9 @@ ln -s javacc %{buildroot}%{_bindir}/javacc.sh %doc examples %changelog +* Tue Jul 30 2024 Mikolaj Izdebski - 0:7.0.13-7 +- Adjust bootstrap build for javapackages-bootstrap update + * Thu Jul 18 2024 Fedora Release Engineering - 0:7.0.13-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From a2f5f324bd9f01891775d6c85a558785c72a0ea3 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 31 Jul 2024 20:53:29 +0200 Subject: [PATCH 07/21] Switch javapackages tests to f41 branch --- plans/javapackages.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/javapackages.fmf b/plans/javapackages.fmf index a2cdaba..17c6113 100644 --- a/plans/javapackages.fmf +++ b/plans/javapackages.fmf @@ -2,6 +2,6 @@ summary: Run javapackages-specific tests discover: how: fmf url: https://src.fedoraproject.org/tests/javapackages - ref: f40 + ref: f41 execute: how: tmt From b7d5ff9c2a1668d4b28a5f30ac802a18b2f3e209 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 20 Aug 2024 16:32:53 +0200 Subject: [PATCH 08/21] Use %autosetup -C --- javacc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javacc.spec b/javacc.spec index 9ceb77f..4b6bea8 100644 --- a/javacc.spec +++ b/javacc.spec @@ -97,7 +97,7 @@ Examples for %{name}. %javadoc_package %prep -%autosetup -n %{name}-%{name}-%{version} -p1 +%autosetup -p1 -C # Remove binary information in the source tar find . -name "*.jar" -delete From 9e92d9ed85457fc7ab6bac1cb153761d67cabe2a Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:45:06 +0200 Subject: [PATCH 09/21] Convert to %autorelease and %autochangelog --- changelog | 212 +++++++++++++++++++++++++++++++++++++++++++++++++++ javacc.spec | 215 +--------------------------------------------------- 2 files changed, 214 insertions(+), 213 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..9d8f6f0 --- /dev/null +++ b/changelog @@ -0,0 +1,212 @@ +* Tue Jul 30 2024 Mikolaj Izdebski - 0:7.0.13-7 +- Adjust bootstrap build for javapackages-bootstrap update + +* Thu Jul 18 2024 Fedora Release Engineering - 0:7.0.13-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Feb 27 2024 Jiri Vanek - 0:7.0.13-5 +- Rebuilt for java-21-openjdk as system jdk + +* Fri Feb 23 2024 Jiri Vanek - 0:7.0.13-4 +- bump of release for for java-21-openjdk as system jdk + +* Wed Jan 24 2024 Fedora Release Engineering - 0:7.0.13-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jan 20 2024 Fedora Release Engineering - 0:7.0.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Nov 17 2023 Jerry James - 0:7.0.13-1 +- Update to 7.0.13 +- Drop upstreamed duplicated @Deprecated annotations patch + +* Fri Sep 01 2023 Mikolaj Izdebski - 0:7.0.12-4 +- Rebuild + +* Sat Aug 26 2023 Mikolaj Izdebski - 0:7.0.12-3 +- Bootstrap using javapackages-bootstrap + +* Thu Jul 20 2023 Fedora Release Engineering - 0:7.0.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Apr 1 2023 Jerry James - 0:7.0.12-1 +- Update to 7.0.12 +- Convert License tag to SPDX +- Add bootstrap build mode +- Add patch to fix javadoc errors in the JavaCharStream template +- Add patch to remove duplicate @Deprecated annotations + +* Thu Jan 19 2023 Fedora Release Engineering - 0:7.0.4-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 0:7.0.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jul 08 2022 Jiri Vanek - 0:7.0.4-12 +- Rebuilt for Drop i686 JDKs + +* Sat Feb 05 2022 Jiri Vanek - 0:7.0.4-11 +- Rebuilt for java-17-openjdk as system jdk + +* Thu Jan 20 2022 Fedora Release Engineering - 0:7.0.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 0:7.0.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0:7.0.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0:7.0.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 20 2020 Mat Booth - 0:7.0.4-6 +- Force generation of 1.8 level bytecode to avoid breaking dependent packages + that require Java 8 + +* Fri Jul 10 2020 Jiri Vanek - 0:7.0.4-5 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Wed Jan 29 2020 Fedora Release Engineering - 0:7.0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 0:7.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0:7.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Oct 26 2018 Marian Koncek - 0:7.0.4-1 +- Update to upstream version 7.0.4 +- Resolves: rhbz#1593262 + +* Tue Jul 31 2018 Severin Gehwolf - 0:7.0.2-6 +- Add requirement on javapackages-tools for scripts using + java-functions. + +* Fri Jul 13 2018 Fedora Release Engineering - 0:7.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0:7.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0:7.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0:7.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Jan 16 2017 Michael Simacek - 0:7.0.2-1 +- Update to upstream version 7.0.2 + +* Mon Jan 02 2017 Michael Simacek - 0:7.0.1-1 +- Update to upstream version 7.0.1 + +* Tue Sep 06 2016 Michael Simacek - 0:6.1.3-1 +- Update to upstream version 6.1.3 +- Use new upstream location +- Generate scripts with jpackage_script + +* Tue Aug 23 2016 Michael Simacek - 0:6.1.2-1 +- Update to upstream version 6.1.2 + +* Thu Feb 04 2016 Fedora Release Engineering - 0:5.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0:5.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0:5.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu May 29 2014 Mikolaj Izdebski - 0:5.0-11 +- Use .mfiles generated during build + +* Tue Mar 04 2014 Stanislav Ochotnicky - 0:5.0-10 +- Use Requires: java-headless rebuild (#1067528) + +* Tue Jul 30 2013 Michal Srb - 0:5.0-9 +- Generate javadoc +- Drop group tag + +* Thu Feb 14 2013 Fedora Release Engineering - 0:5.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0:5.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 28 2012 Jaromir Capik 0:5.0-6 +- Fixing #835786 - javacc: Invalid upstream URL +- Minor spec file changes according to the latest guidelines + +* Fri Jan 13 2012 Fedora Release Engineering - 0:5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0:5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Jul 13 2010 Alexander Kurtakov 0:5.0-3 +- Fix examples line endings. + +* Fri Jun 4 2010 Alexander Kurtakov 0:5.0-2 +- Apply changes requested in review bug (rhbz#225940). + +* Thu Feb 11 2010 Alexander Kurtakov 0:5.0-1 +- Update to upstream 5.0 release. + +* Tue Nov 24 2009 Alexander Kurtakov 0:4.1-0.6 +- Use standard permissions and fix unowned directories. + +* Tue Nov 24 2009 Alexander Kurtakov 0:4.1-0.5 +- Fix rpmlint warnings. +- Drop gcj support. + +* Fri Jul 24 2009 Fedora Release Engineering - 0:4.1-0.4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0:4.1-0.3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Dec 03 2008 Matt Wringe - 0:4.1-0.2 +- Update to remove packaged jars in source tar +- Build with bootstrap jar so that required java source + files get generated + +* Wed Oct 22 2008 Jerry James - 0:4.1-0.1 +- Update to 4.1 +- Also ship the jjrun script +- Own the appropriate gcj directory +- Minor spec file changes to comply with latest Fedora guidelines +- Include the top-level index.html file in the manual + +* Wed Jul 9 2008 Tom "spot" Callaway - 0:4.0-4.5 +- drop repotag + +* Fri Feb 22 2008 Matt Wringe - 0:4.0-4jpp.4 +- Rename javacc script file to javacc.sh as this confuses the makefile + +* Tue Feb 19 2008 Fedora Release Engineering - 0:4.0-4jpp.3 +- Autorebuild for GCC 4.3 + +* Thu Aug 10 2006 Matt Wringe - 0:4.0-3jpp.3 +- Rebuilt with new naming convention + +* Sat Jul 22 2006 Jakub Jelinek - 0:4.0-3jpp_2fc +- Rebuilt + +* Tue Jul 18 2006 Matthew Wringe - 0:4.0-3jpp_1fc +- Merged with upstream version +- Changed directory locations to rpm macros +- Added conditional native compiling + +* Thu Apr 20 2006 Fernando Nasser - 0:4.0-2jpp +- First JPP 1.7 build + +* Fri Mar 31 2006 Sebastiano Vigna - 0:4.0-1jpp +- Updated to 4.0 + +* Mon Aug 23 2004 Randy Watler - 0:3.2-2jpp +- Rebuild with ant-1.6.2 + +* Fri Jan 30 2004 Sebastiano Vigna 0:3.2-1jpp +- First JPackage version diff --git a/javacc.spec b/javacc.spec index 4b6bea8..8ebd6da 100644 --- a/javacc.spec +++ b/javacc.spec @@ -35,7 +35,7 @@ Name: javacc Version: 7.0.13 -Release: 7%{?dist} +Release: %autorelease Epoch: 0 Summary: A parser/scanner generator for java @@ -155,215 +155,4 @@ ln -s javacc %{buildroot}%{_bindir}/javacc.sh %doc examples %changelog -* Tue Jul 30 2024 Mikolaj Izdebski - 0:7.0.13-7 -- Adjust bootstrap build for javapackages-bootstrap update - -* Thu Jul 18 2024 Fedora Release Engineering - 0:7.0.13-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Tue Feb 27 2024 Jiri Vanek - 0:7.0.13-5 -- Rebuilt for java-21-openjdk as system jdk - -* Fri Feb 23 2024 Jiri Vanek - 0:7.0.13-4 -- bump of release for for java-21-openjdk as system jdk - -* Wed Jan 24 2024 Fedora Release Engineering - 0:7.0.13-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jan 20 2024 Fedora Release Engineering - 0:7.0.13-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Nov 17 2023 Jerry James - 0:7.0.13-1 -- Update to 7.0.13 -- Drop upstreamed duplicated @Deprecated annotations patch - -* Fri Sep 01 2023 Mikolaj Izdebski - 0:7.0.12-4 -- Rebuild - -* Sat Aug 26 2023 Mikolaj Izdebski - 0:7.0.12-3 -- Bootstrap using javapackages-bootstrap - -* Thu Jul 20 2023 Fedora Release Engineering - 0:7.0.12-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Apr 1 2023 Jerry James - 0:7.0.12-1 -- Update to 7.0.12 -- Convert License tag to SPDX -- Add bootstrap build mode -- Add patch to fix javadoc errors in the JavaCharStream template -- Add patch to remove duplicate @Deprecated annotations - -* Thu Jan 19 2023 Fedora Release Engineering - 0:7.0.4-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Jul 21 2022 Fedora Release Engineering - 0:7.0.4-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jul 08 2022 Jiri Vanek - 0:7.0.4-12 -- Rebuilt for Drop i686 JDKs - -* Sat Feb 05 2022 Jiri Vanek - 0:7.0.4-11 -- Rebuilt for java-17-openjdk as system jdk - -* Thu Jan 20 2022 Fedora Release Engineering - 0:7.0.4-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Jul 22 2021 Fedora Release Engineering - 0:7.0.4-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jan 26 2021 Fedora Release Engineering - 0:7.0.4-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Jul 28 2020 Fedora Release Engineering - 0:7.0.4-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 20 2020 Mat Booth - 0:7.0.4-6 -- Force generation of 1.8 level bytecode to avoid breaking dependent packages - that require Java 8 - -* Fri Jul 10 2020 Jiri Vanek - 0:7.0.4-5 -- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 - -* Wed Jan 29 2020 Fedora Release Engineering - 0:7.0.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 0:7.0.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 0:7.0.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Oct 26 2018 Marian Koncek - 0:7.0.4-1 -- Update to upstream version 7.0.4 -- Resolves: rhbz#1593262 - -* Tue Jul 31 2018 Severin Gehwolf - 0:7.0.2-6 -- Add requirement on javapackages-tools for scripts using - java-functions. - -* Fri Jul 13 2018 Fedora Release Engineering - 0:7.0.2-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 0:7.0.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0:7.0.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 0:7.0.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Jan 16 2017 Michael Simacek - 0:7.0.2-1 -- Update to upstream version 7.0.2 - -* Mon Jan 02 2017 Michael Simacek - 0:7.0.1-1 -- Update to upstream version 7.0.1 - -* Tue Sep 06 2016 Michael Simacek - 0:6.1.3-1 -- Update to upstream version 6.1.3 -- Use new upstream location -- Generate scripts with jpackage_script - -* Tue Aug 23 2016 Michael Simacek - 0:6.1.2-1 -- Update to upstream version 6.1.2 - -* Thu Feb 04 2016 Fedora Release Engineering - 0:5.0-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 0:5.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 0:5.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Thu May 29 2014 Mikolaj Izdebski - 0:5.0-11 -- Use .mfiles generated during build - -* Tue Mar 04 2014 Stanislav Ochotnicky - 0:5.0-10 -- Use Requires: java-headless rebuild (#1067528) - -* Tue Jul 30 2013 Michal Srb - 0:5.0-9 -- Generate javadoc -- Drop group tag - -* Thu Feb 14 2013 Fedora Release Engineering - 0:5.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Jul 19 2012 Fedora Release Engineering - 0:5.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Thu Jun 28 2012 Jaromir Capik 0:5.0-6 -- Fixing #835786 - javacc: Invalid upstream URL -- Minor spec file changes according to the latest guidelines - -* Fri Jan 13 2012 Fedora Release Engineering - 0:5.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Feb 09 2011 Fedora Release Engineering - 0:5.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Tue Jul 13 2010 Alexander Kurtakov 0:5.0-3 -- Fix examples line endings. - -* Fri Jun 4 2010 Alexander Kurtakov 0:5.0-2 -- Apply changes requested in review bug (rhbz#225940). - -* Thu Feb 11 2010 Alexander Kurtakov 0:5.0-1 -- Update to upstream 5.0 release. - -* Tue Nov 24 2009 Alexander Kurtakov 0:4.1-0.6 -- Use standard permissions and fix unowned directories. - -* Tue Nov 24 2009 Alexander Kurtakov 0:4.1-0.5 -- Fix rpmlint warnings. -- Drop gcj support. - -* Fri Jul 24 2009 Fedora Release Engineering - 0:4.1-0.4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering - 0:4.1-0.3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Wed Dec 03 2008 Matt Wringe - 0:4.1-0.2 -- Update to remove packaged jars in source tar -- Build with bootstrap jar so that required java source - files get generated - -* Wed Oct 22 2008 Jerry James - 0:4.1-0.1 -- Update to 4.1 -- Also ship the jjrun script -- Own the appropriate gcj directory -- Minor spec file changes to comply with latest Fedora guidelines -- Include the top-level index.html file in the manual - -* Wed Jul 9 2008 Tom "spot" Callaway - 0:4.0-4.5 -- drop repotag - -* Fri Feb 22 2008 Matt Wringe - 0:4.0-4jpp.4 -- Rename javacc script file to javacc.sh as this confuses the makefile - -* Tue Feb 19 2008 Fedora Release Engineering - 0:4.0-4jpp.3 -- Autorebuild for GCC 4.3 - -* Thu Aug 10 2006 Matt Wringe - 0:4.0-3jpp.3 -- Rebuilt with new naming convention - -* Sat Jul 22 2006 Jakub Jelinek - 0:4.0-3jpp_2fc -- Rebuilt - -* Tue Jul 18 2006 Matthew Wringe - 0:4.0-3jpp_1fc -- Merged with upstream version -- Changed directory locations to rpm macros -- Added conditional native compiling - -* Thu Apr 20 2006 Fernando Nasser - 0:4.0-2jpp -- First JPP 1.7 build - -* Fri Mar 31 2006 Sebastiano Vigna - 0:4.0-1jpp -- Updated to 4.0 - -* Mon Aug 23 2004 Randy Watler - 0:3.2-2jpp -- Rebuild with ant-1.6.2 - -* Fri Jan 30 2004 Sebastiano Vigna 0:3.2-1jpp -- First JPackage version +%autochangelog From 45d8b3cc8496c7a045b23cb4508eddeb1e1c3a10 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 20 Nov 2024 11:38:01 -0700 Subject: [PATCH 10/21] Avoid unexpanded macro in package %description --- javacc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javacc.spec b/javacc.spec index 8ebd6da..c269ceb 100644 --- a/javacc.spec +++ b/javacc.spec @@ -94,7 +94,7 @@ Requires: %{name} = %{version}-%{release} %description demo Examples for %{name}. -%javadoc_package +%{?javadoc_package} %prep %autosetup -p1 -C From 5a0c90d9855dbe7a081c36646f2e8196cfceb12a Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 28 Nov 2024 07:50:11 +0100 Subject: [PATCH 11/21] Drop explicit requires on javapackages-tools --- javacc.spec | 4 ---- plans/javapackages.fmf | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/javacc.spec b/javacc.spec index c269ceb..739e94d 100644 --- a/javacc.spec +++ b/javacc.spec @@ -60,10 +60,6 @@ BuildRequires: ant BuildRequires: javacc %endif -# Explicit javapackages-tools requires since scripts use -# /usr/share/java-utils/java-functions -Requires: javapackages-tools - BuildArch: noarch ExclusiveArch: %{java_arches} noarch diff --git a/plans/javapackages.fmf b/plans/javapackages.fmf index 17c6113..86bfcea 100644 --- a/plans/javapackages.fmf +++ b/plans/javapackages.fmf @@ -2,6 +2,6 @@ summary: Run javapackages-specific tests discover: how: fmf url: https://src.fedoraproject.org/tests/javapackages - ref: f41 + ref: f42 execute: how: tmt From e86df2081fdee0c81af0f045c77b20233d03a5b3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 07:42:46 +0000 Subject: [PATCH 12/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 19460bf8d7ff490c87def0c4a2971debcd62b211 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 5 Mar 2025 13:46:10 +0100 Subject: [PATCH 13/21] Drop explicit zero epoch --- javacc.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/javacc.spec b/javacc.spec index 739e94d..ea67efa 100644 --- a/javacc.spec +++ b/javacc.spec @@ -36,7 +36,6 @@ Name: javacc Version: 7.0.13 Release: %autorelease -Epoch: 0 Summary: A parser/scanner generator for java # BSD-3-Clause: the project as a whole From caca8d054e8860969f2be431c5598d9724814a7f Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 26 Mar 2025 08:43:19 +0100 Subject: [PATCH 14/21] Switch to javapackages tests from CentOS Stream GitLab --- plans/javapackages.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/javapackages.fmf b/plans/javapackages.fmf index 86bfcea..e39d47c 100644 --- a/plans/javapackages.fmf +++ b/plans/javapackages.fmf @@ -1,7 +1,7 @@ summary: Run javapackages-specific tests discover: how: fmf - url: https://src.fedoraproject.org/tests/javapackages + url: https://gitlab.com/redhat/centos-stream/tests/javapackages.git ref: f42 execute: how: tmt From b12a0e75fef236e5d161dad4845a40cd8191dd3a Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 22 May 2025 13:35:31 +0200 Subject: [PATCH 15/21] Switch javapackages test plan to f43 ref --- plans/javapackages.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/javapackages.fmf b/plans/javapackages.fmf index e39d47c..ae17c0c 100644 --- a/plans/javapackages.fmf +++ b/plans/javapackages.fmf @@ -2,6 +2,6 @@ summary: Run javapackages-specific tests discover: how: fmf url: https://gitlab.com/redhat/centos-stream/tests/javapackages.git - ref: f42 + ref: f43 execute: how: tmt From 2326bbb04d10227ae0a55f01d46e274a198a64d3 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 10 Jul 2025 07:45:21 +0200 Subject: [PATCH 16/21] Update bootstrap JAR path - Build with OpenJDK 25 --- javacc.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javacc.spec b/javacc.spec index ea67efa..10c5721 100644 --- a/javacc.spec +++ b/javacc.spec @@ -54,7 +54,7 @@ Patch: 0001-Fix-javadoc-errors-in-JavaCharStream.template.patch %if %{with bootstrap} BuildRequires: javapackages-bootstrap %else -BuildRequires: javapackages-local +BuildRequires: javapackages-local-openjdk25 BuildRequires: ant BuildRequires: javacc %endif @@ -113,7 +113,7 @@ fixtimestamp examples/JJTreeExamples/cpp/eg3.jjt %build %if %{with bootstrap} -cp %{_prefix}/lib/javapackages-bootstrap/javacc.jar bootstrap/javacc.jar +cp %{_datadir}/javapackages-bootstrap/javacc.jar bootstrap/javacc.jar %else build-jar-repository -p bootstrap javacc %endif From 68e1f5c45286ddbe8e9bfc467bd2033f7f612c49 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Sun, 13 Jul 2025 21:25:43 +0200 Subject: [PATCH 17/21] Remove javadoc subpackage --- ...oc-errors-in-JavaCharStream.template.patch | 61 ------------------- javacc.spec | 11 ++-- 2 files changed, 4 insertions(+), 68 deletions(-) delete mode 100644 0001-Fix-javadoc-errors-in-JavaCharStream.template.patch diff --git a/0001-Fix-javadoc-errors-in-JavaCharStream.template.patch b/0001-Fix-javadoc-errors-in-JavaCharStream.template.patch deleted file mode 100644 index a8f4d6a..0000000 --- a/0001-Fix-javadoc-errors-in-JavaCharStream.template.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 930afd9bf6d2a0324d806fd7ce2eeba7a223d2d1 Mon Sep 17 00:00:00 2001 -From: Jerry James -Date: Sat, 25 Mar 2023 15:17:02 -0600 -Subject: [PATCH] Fix javadoc errors in JavaCharStream.template - -Signed-off-by: Jerry James ---- - src/main/resources/templates/JavaCharStream.template | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/src/main/resources/templates/JavaCharStream.template b/src/main/resources/templates/JavaCharStream.template -index dc56b5b..07ee0de 100644 ---- a/src/main/resources/templates/JavaCharStream.template -+++ b/src/main/resources/templates/JavaCharStream.template -@@ -501,7 +501,6 @@ class JavaCharStream - - /** Constructor. - * @param dstream the underlying data source. -- * @param startline line number of the first character of the stream, mostly for error messages. - */ - public JavaCharStream(java.io.Reader dstream) - { -@@ -570,7 +569,7 @@ class JavaCharStream - * @param encoding the character encoding of the data stream. - * @param startline line number of the first character of the stream, mostly for error messages. - * @param startcolumn column number of the first character of the stream. -- * @throws UnsupportedEncodingException encoding is invalid or unsupported. -+ * @throws java.io.UnsupportedEncodingException encoding is invalid or unsupported. - */ - public JavaCharStream(java.io.InputStream dstream, String encoding, int startline, - int startcolumn) throws java.io.UnsupportedEncodingException -@@ -592,7 +591,7 @@ class JavaCharStream - /** Constructor. - * @param dstream the underlying data source. - * @param encoding the character encoding of the data stream. -- * @throws UnsupportedEncodingException encoding is invalid or unsupported. -+ * @throws java.io.UnsupportedEncodingException encoding is invalid or unsupported. - */ - public JavaCharStream(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodingException - { -@@ -636,7 +635,7 @@ class JavaCharStream - * @param encoding the character encoding of the data stream. - * @param startline line number of the first character of the stream, mostly for error messages. - * @param startcolumn column number of the first character of the stream. -- * @throws UnsupportedEncodingException encoding is invalid or unsupported. -+ * @throws java.io.UnsupportedEncodingException encoding is invalid or unsupported. - */ - public void ReInit(java.io.InputStream dstream, String encoding, int startline, - int startcolumn) throws java.io.UnsupportedEncodingException -@@ -656,7 +655,7 @@ class JavaCharStream - /** Reinitialise. - * @param dstream the underlying data source. - * @param encoding the character encoding of the data stream. -- * @throws UnsupportedEncodingException encoding is invalid or unsupported. -+ * @throws java.io.UnsupportedEncodingException encoding is invalid or unsupported. - */ - public void ReInit(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodingException - { --- -2.39.2 - diff --git a/javacc.spec b/javacc.spec index 10c5721..be5ae72 100644 --- a/javacc.spec +++ b/javacc.spec @@ -47,9 +47,6 @@ License: BSD-3-Clause AND BSD-2-Clause URL: https://javacc.org/ VCS: git:%{giturl}.git Source: %{giturl}/archive/%{name}-%{version}.tar.gz -# Fix javadoc errors in the JavaCharStream template -# https://github.com/javacc/javacc/pull/257 -Patch: 0001-Fix-javadoc-errors-in-JavaCharStream.template.patch %if %{with bootstrap} BuildRequires: javapackages-bootstrap @@ -78,6 +75,8 @@ a tool called JJTree included with JavaCC), actions, debugging, etc. # ISC: docs/grammars/JSONParser.jjt License: BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later AND (AFL-2.0 OR BSD-3-Clause) AND ISC Summary: Manual for %{name} +# TODO Remove in Fedora 46 +Obsoletes: %{name}-javadoc < 7.0.13-5 %description manual Manual for %{name}. @@ -89,8 +88,6 @@ Requires: %{name} = %{version}-%{release} %description demo Examples for %{name}. -%{?javadoc_package} - %prep %autosetup -p1 -C @@ -120,7 +117,7 @@ build-jar-repository -p bootstrap javacc # There is maven pom which doesn't really work for building. The tests don't # work either (even when using bundled jars). -%ant jar javadoc -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 +%ant jar -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 # The pom dependencies are also wrong %mvn_artifact --skip-dependencies pom.xml target/javacc.jar @@ -128,7 +125,7 @@ build-jar-repository -p bootstrap javacc %install %mvn_file : %{name} -%mvn_install -J target/javadoc +%mvn_install %jpackage_script javacc '' '' javacc javacc true ln -s javacc %{buildroot}%{_bindir}/javacc.sh From 9f1a6b49700f71db727c2d255dd7d0a645d4a3f6 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 15 Jul 2025 06:50:16 -0600 Subject: [PATCH 18/21] Restore JavaCharStream.template patch This patch is not for producing javadocs from this package, but rather to generate code with correct javadoc comments. Its removal breaks other software that uses the JavaCharStream template. --- ...oc-errors-in-JavaCharStream.template.patch | 61 +++++++++++++++++++ javacc.spec | 3 + 2 files changed, 64 insertions(+) create mode 100644 0001-Fix-javadoc-errors-in-JavaCharStream.template.patch diff --git a/0001-Fix-javadoc-errors-in-JavaCharStream.template.patch b/0001-Fix-javadoc-errors-in-JavaCharStream.template.patch new file mode 100644 index 0000000..a8f4d6a --- /dev/null +++ b/0001-Fix-javadoc-errors-in-JavaCharStream.template.patch @@ -0,0 +1,61 @@ +From 930afd9bf6d2a0324d806fd7ce2eeba7a223d2d1 Mon Sep 17 00:00:00 2001 +From: Jerry James +Date: Sat, 25 Mar 2023 15:17:02 -0600 +Subject: [PATCH] Fix javadoc errors in JavaCharStream.template + +Signed-off-by: Jerry James +--- + src/main/resources/templates/JavaCharStream.template | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +diff --git a/src/main/resources/templates/JavaCharStream.template b/src/main/resources/templates/JavaCharStream.template +index dc56b5b..07ee0de 100644 +--- a/src/main/resources/templates/JavaCharStream.template ++++ b/src/main/resources/templates/JavaCharStream.template +@@ -501,7 +501,6 @@ class JavaCharStream + + /** Constructor. + * @param dstream the underlying data source. +- * @param startline line number of the first character of the stream, mostly for error messages. + */ + public JavaCharStream(java.io.Reader dstream) + { +@@ -570,7 +569,7 @@ class JavaCharStream + * @param encoding the character encoding of the data stream. + * @param startline line number of the first character of the stream, mostly for error messages. + * @param startcolumn column number of the first character of the stream. +- * @throws UnsupportedEncodingException encoding is invalid or unsupported. ++ * @throws java.io.UnsupportedEncodingException encoding is invalid or unsupported. + */ + public JavaCharStream(java.io.InputStream dstream, String encoding, int startline, + int startcolumn) throws java.io.UnsupportedEncodingException +@@ -592,7 +591,7 @@ class JavaCharStream + /** Constructor. + * @param dstream the underlying data source. + * @param encoding the character encoding of the data stream. +- * @throws UnsupportedEncodingException encoding is invalid or unsupported. ++ * @throws java.io.UnsupportedEncodingException encoding is invalid or unsupported. + */ + public JavaCharStream(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodingException + { +@@ -636,7 +635,7 @@ class JavaCharStream + * @param encoding the character encoding of the data stream. + * @param startline line number of the first character of the stream, mostly for error messages. + * @param startcolumn column number of the first character of the stream. +- * @throws UnsupportedEncodingException encoding is invalid or unsupported. ++ * @throws java.io.UnsupportedEncodingException encoding is invalid or unsupported. + */ + public void ReInit(java.io.InputStream dstream, String encoding, int startline, + int startcolumn) throws java.io.UnsupportedEncodingException +@@ -656,7 +655,7 @@ class JavaCharStream + /** Reinitialise. + * @param dstream the underlying data source. + * @param encoding the character encoding of the data stream. +- * @throws UnsupportedEncodingException encoding is invalid or unsupported. ++ * @throws java.io.UnsupportedEncodingException encoding is invalid or unsupported. + */ + public void ReInit(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodingException + { +-- +2.39.2 + diff --git a/javacc.spec b/javacc.spec index be5ae72..86e541e 100644 --- a/javacc.spec +++ b/javacc.spec @@ -47,6 +47,9 @@ License: BSD-3-Clause AND BSD-2-Clause URL: https://javacc.org/ VCS: git:%{giturl}.git Source: %{giturl}/archive/%{name}-%{version}.tar.gz +# Fix javadoc errors in the JavaCharStream template +# https://github.com/javacc/javacc/pull/257 +Patch: 0001-Fix-javadoc-errors-in-JavaCharStream.template.patch %if %{with bootstrap} BuildRequires: javapackages-bootstrap From 6ab834ef62888257f2855175c4eb47995844eaf5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 17:56:15 +0000 Subject: [PATCH 19/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 1c43cccf0c21c9aa5e2d331a15a6e7d9ae40590b Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Tue, 29 Jul 2025 21:14:42 +0200 Subject: [PATCH 20/21] Rebuilt for java-25-openjdk as preffered jdk https://fedoraproject.org/wiki/Changes/Java25AndNoMoreSystemJdk Note, that since f43, you should be always explicit on what jdk to use. This commit should do exactly that. --- javacc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javacc.spec b/javacc.spec index 86e541e..d50a68e 100644 --- a/javacc.spec +++ b/javacc.spec @@ -55,7 +55,7 @@ Patch: 0001-Fix-javadoc-errors-in-JavaCharStream.template.patch BuildRequires: javapackages-bootstrap %else BuildRequires: javapackages-local-openjdk25 -BuildRequires: ant +BuildRequires: ant-openjdk25 BuildRequires: javacc %endif From b814a29efa12b4c62979d159449921e7c99b80e4 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Wed, 30 Jul 2025 12:17:17 +0200 Subject: [PATCH 21/21] Rebuilt for java-25-openjdk as preffered jdk https://fedoraproject.org/wiki/Changes/Java25AndNoMoreSystemJdk Note, that since f43, you should be always explicit on what jdk to use. This commit should do exactly that.