From e025ca953052a55bb280e10acdbd939bb77502f2 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 29 Nov 2018 12:42:46 +0000 Subject: [PATCH 01/97] Expand conditionals --- antlr.spec | 69 ------------------------------------------------------ 1 file changed, 69 deletions(-) diff --git a/antlr.spec b/antlr.spec index c66a0dd..a6361a0 100644 --- a/antlr.spec +++ b/antlr.spec @@ -1,5 +1,3 @@ -%bcond_without doxygen -%bcond_without python %global debug_package %{nil} # since we have only a static library @@ -22,26 +20,12 @@ Patch1: %{name}-%{version}-newgcc.patch # see BZ#848662 Patch2: antlr-examples-license.patch -%ifarch %{mono_arches} -%if ! 0%{?rhel} >= 6 -BuildRequires: mono-core -BuildRequires: mono-winforms -%endif -%endif BuildRequires: gcc-c++ BuildRequires: make BuildRequires: ant BuildRequires: java-devel >= 1:1.7.0 BuildRequires: java-javadoc BuildRequires: javapackages-local -%if %{with doxygen} -BuildRequires: doxygen graphviz -%endif -%if %{with python} -# Do not support Python3 -BuildRequires: python2-devel -BuildRequires: python2-setuptools -%endif %description ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a @@ -86,30 +70,7 @@ Provides: antlr-static = %{version}-%{release} %description C++ This package provides a static C++ library for parsers generated by ANTLR2. -%if %{with doxygen} -%package C++-doc -Summary: Documentation for C++ bindings for antlr2 generated parsers -BuildArch: noarch -%description C++-doc -This package contains the documentation for the C++ bindings for parsers -generated by ANTLR2. -%endif - -%if %{with python} -%package -n python2-%{name} -Summary: Python 2 runtime support for ANTLR-generated parsers -%{?python_provide:%python_provide python2-%{name}} - -# This can be removed in Fedora 30 -Provides: %{name}-python = %{version}-%{release} -Obsoletes: %{name}-python < 2.7.7-48 - -BuildArch: noarch - -%description -n python2-%{name} -Python runtime support for ANTLR-generated parsers -%endif %prep %setup -q @@ -138,20 +99,7 @@ rm antlr.jar rm doc/{Makefile,Makefile.in} chmod 0644 doc/* -%if %{with doxygen} -# generate doxygen docs for C++ bindings -pushd lib/cpp - doxygen doxygen.cfg - find gen_doc -type f -exec chmod 0644 {} \; -popd -%endif -%if %{with python} -# build python -cd lib/python -%py2_build -cd ../../ -%endif %install # jars, POM and depmap @@ -168,12 +116,6 @@ install -p -m 644 lib/cpp/antlr/*.hpp $RPM_BUILD_ROOT%{_includedir}/%{name} install -p -m 644 lib/cpp/src/libantlr.a $RPM_BUILD_ROOT%{_libdir} install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} -%if %{with python} -# python -cd lib/python -%py2_install -cd ../.. -%endif %files tool -f .mfiles @@ -189,11 +131,6 @@ cd ../.. %{_libdir}/libantlr.a %{_bindir}/antlr-config -%if %{with doxygen} -%files C++-doc -%license LICENSE.txt -%doc lib/cpp/gen_doc/html/ -%endif %files manual %license LICENSE.txt @@ -202,12 +139,6 @@ cd ../.. %files javadoc -f .mfiles-javadoc %license LICENSE.txt -%if %{with python} -%files -n python2-%{name} -%license LICENSE.txt -%{python2_sitelib}/antlr/* -%{python2_sitelib}/antlr-* -%endif %changelog * Mon Jul 30 2018 Severin Gehwolf - 0:2.7.7-56 From 2d20f01ecfb11739e2912fc2b41ad6ff83957e61 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 29 Nov 2018 13:02:12 +0000 Subject: [PATCH 02/97] Remove explicit Epoch --- antlr.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index a6361a0..a2c4447 100644 --- a/antlr.spec +++ b/antlr.spec @@ -6,7 +6,6 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 Release: 56%{?dist} -Epoch: 0 License: ANTLR-PD URL: http://www.antlr2.org/ # ./generate-tarball.sh From 15188608829b2cbe328c6449ac671401a79073b7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 13:22:57 +0000 Subject: [PATCH 03/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index c66a0dd..958d21c 100644 --- a/antlr.spec +++ b/antlr.spec @@ -7,7 +7,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 56%{?dist} +Release: 57%{?dist} Epoch: 0 License: ANTLR-PD URL: http://www.antlr2.org/ @@ -210,6 +210,9 @@ cd ../.. %endif %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0:2.7.7-57 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Mon Jul 30 2018 Severin Gehwolf - 0:2.7.7-56 - Add explicit requirement of javapackages-tools. From 0a0ba37d79d045efd9dfd066ce59330f782a655d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 27 Mar 2019 18:00:58 +0100 Subject: [PATCH 04/97] Subpackage python2-antlr was removed https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal --- antlr.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/antlr.spec b/antlr.spec index 958d21c..7eaf90f 100644 --- a/antlr.spec +++ b/antlr.spec @@ -1,5 +1,5 @@ %bcond_without doxygen -%bcond_without python +%bcond_with python %global debug_package %{nil} # since we have only a static library @@ -7,7 +7,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 57%{?dist} +Release: 58%{?dist} Epoch: 0 License: ANTLR-PD URL: http://www.antlr2.org/ @@ -210,6 +210,10 @@ cd ../.. %endif %changelog +* Wed Mar 27 2019 Miro Hrončok - 0:2.7.7-58 +- Subpackage python2-antlr was removed + https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Thu Jan 31 2019 Fedora Release Engineering - 0:2.7.7-57 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From f6e57b91280c38293ff339d18455fc6f66c1fecc Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 24 May 2019 17:00:13 +0200 Subject: [PATCH 05/97] Mass rebuild for javapackages-tools 201901 --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index a2c4447..0b4eefd 100644 --- a/antlr.spec +++ b/antlr.spec @@ -5,7 +5,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 56%{?dist} +Release: 57%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ # ./generate-tarball.sh @@ -140,6 +140,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %changelog +* Fri May 24 2019 Mikolaj Izdebski - 2.7.7-57 +- Mass rebuild for javapackages-tools 201901 + * Mon Jul 30 2018 Severin Gehwolf - 0:2.7.7-56 - Add explicit requirement of javapackages-tools. From d303a784114549e5e66ce50938d910d27f410d7f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 17:58:45 +0000 Subject: [PATCH 06/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 7eaf90f..40c1eac 100644 --- a/antlr.spec +++ b/antlr.spec @@ -7,7 +7,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 58%{?dist} +Release: 59%{?dist} Epoch: 0 License: ANTLR-PD URL: http://www.antlr2.org/ @@ -210,6 +210,9 @@ cd ../.. %endif %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 0:2.7.7-59 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Wed Mar 27 2019 Miro Hrončok - 0:2.7.7-58 - Subpackage python2-antlr was removed https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal From 8f9d0a48b0626e6854ed2de1720673a5280735ed Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 25 Oct 2019 18:21:05 +0200 Subject: [PATCH 07/97] Drop BR on java-javadoc --- antlr.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 0b4eefd..95c1036 100644 --- a/antlr.spec +++ b/antlr.spec @@ -23,7 +23,6 @@ BuildRequires: gcc-c++ BuildRequires: make BuildRequires: ant BuildRequires: java-devel >= 1:1.7.0 -BuildRequires: java-javadoc BuildRequires: javapackages-local %description From 7aa674e79a7de5e28944e6153531f1674128b7d2 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 5 Nov 2019 17:29:27 +0100 Subject: [PATCH 08/97] Mass rebuild for javapackages-tools 201902 --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 95c1036..6b022fd 100644 --- a/antlr.spec +++ b/antlr.spec @@ -5,7 +5,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 57%{?dist} +Release: 58%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ # ./generate-tarball.sh @@ -139,6 +139,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %changelog +* Tue Nov 05 2019 Mikolaj Izdebski - 2.7.7-58 +- Mass rebuild for javapackages-tools 201902 + * Fri May 24 2019 Mikolaj Izdebski - 2.7.7-57 - Mass rebuild for javapackages-tools 201901 From 97286640925c2e678f2aed8041ad8a903d711d32 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 11:39:29 +0000 Subject: [PATCH 09/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 40c1eac..ca87372 100644 --- a/antlr.spec +++ b/antlr.spec @@ -7,7 +7,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 59%{?dist} +Release: 60%{?dist} Epoch: 0 License: ANTLR-PD URL: http://www.antlr2.org/ @@ -210,6 +210,9 @@ cd ../.. %endif %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0:2.7.7-60 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Wed Jul 24 2019 Fedora Release Engineering - 0:2.7.7-59 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 5d0f15d4a880b6c9103bdd32fbd540942f8051ed Mon Sep 17 00:00:00 2001 From: Jiri Date: Fri, 10 Jul 2020 14:23:53 +0200 Subject: [PATCH 10/97] Rebuilt for JDK-11 --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index ca87372..5040ce6 100644 --- a/antlr.spec +++ b/antlr.spec @@ -7,7 +7,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 60%{?dist} +Release: 61%{?dist} Epoch: 0 License: ANTLR-PD URL: http://www.antlr2.org/ @@ -210,6 +210,9 @@ cd ../.. %endif %changelog +* Fri Jul 10 2020 Jiri Vanek - 0:2.7.7-61 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + * Tue Jan 28 2020 Fedora Release Engineering - 0:2.7.7-60 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From f0063d8ca1a4133dc49d5b17c95ce6218c3704f5 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 21 Jul 2020 11:42:36 +0200 Subject: [PATCH 11/97] set javac source / target version to 1.8 to fix issues with Java 11 --- antlr-build.xml | 3 ++- antlr.spec | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/antlr-build.xml b/antlr-build.xml index d280255..9f37eca 100644 --- a/antlr-build.xml +++ b/antlr-build.xml @@ -36,7 +36,7 @@ + debug="off" optimize="on" deprecation="on" source="1.8" target="1.8" /> @@ -61,6 +61,7 @@ packagenames="${packagenames}" splitindex="true" use="true" + source="1.8" additionalparam="-Xdoclint:none"> diff --git a/antlr.spec b/antlr.spec index 5040ce6..6de88c2 100644 --- a/antlr.spec +++ b/antlr.spec @@ -7,7 +7,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 61%{?dist} +Release: 62%{?dist} Epoch: 0 License: ANTLR-PD URL: http://www.antlr2.org/ @@ -210,6 +210,9 @@ cd ../.. %endif %changelog +* Tue Jul 21 2020 Fabio Valentini - 0:2.7.7-62 +- Set javac source / target version to 1.8 to fix issues with Java 11. + * Fri Jul 10 2020 Jiri Vanek - 0:2.7.7-61 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 From 4420932d1efe08b775ed9ce68bd5561c219ecbbe Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 12:06:54 +0000 Subject: [PATCH 12/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 6de88c2..2ad0e26 100644 --- a/antlr.spec +++ b/antlr.spec @@ -7,7 +7,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 62%{?dist} +Release: 63%{?dist} Epoch: 0 License: ANTLR-PD URL: http://www.antlr2.org/ @@ -210,6 +210,9 @@ cd ../.. %endif %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0:2.7.7-63 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Jul 21 2020 Fabio Valentini - 0:2.7.7-62 - Set javac source / target version to 1.8 to fix issues with Java 11. From 9ab9d4201e650271b0de666c101fa9a76f795d89 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 00:10:54 +0000 Subject: [PATCH 13/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 2ad0e26..de89616 100644 --- a/antlr.spec +++ b/antlr.spec @@ -7,7 +7,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 63%{?dist} +Release: 64%{?dist} Epoch: 0 License: ANTLR-PD URL: http://www.antlr2.org/ @@ -210,6 +210,9 @@ cd ../.. %endif %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0:2.7.7-64 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0:2.7.7-63 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 64584949e9ed2c8835660dda63a9b03d9fb3a353 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 12:43:45 +0000 Subject: [PATCH 14/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 53c86dcd025b40df780c771435762fe2972e8948 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 17:39:38 +0000 Subject: [PATCH 15/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 5bf160b..2392558 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 65%{?dist} +Release: 66%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ # ./generate-tarball.sh @@ -130,6 +130,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 2.7.7-66 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Mon Jun 28 2021 Mikolaj Izdebski - 2.7.7-65 - Remove Python runtime From dc12444652b8ed6d673988695f4536a1f773bab3 Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Wed, 11 Aug 2021 14:12:54 +0200 Subject: [PATCH 16/97] Remove files with proprietary license headers --- antlr-examples-license.patch | 98 ------------------------------------ antlr.spec | 8 +-- generate-tarball.sh | 8 ++- sources | 2 +- 4 files changed, 11 insertions(+), 105 deletions(-) delete mode 100644 antlr-examples-license.patch diff --git a/antlr-examples-license.patch b/antlr-examples-license.patch deleted file mode 100644 index 14dda64..0000000 --- a/antlr-examples-license.patch +++ /dev/null @@ -1,98 +0,0 @@ -diff -up antlr-2.7.7/examples/java/unicode.IDENTs/ShowString.java.licensefix antlr-2.7.7/examples/java/unicode.IDENTs/ShowString.java ---- antlr-2.7.7/examples/java/unicode.IDENTs/ShowString.java.licensefix 2012-08-16 10:16:12.157567962 -0400 -+++ antlr-2.7.7/examples/java/unicode.IDENTs/ShowString.java 2012-08-16 10:17:46.425574161 -0400 -@@ -1,19 +1,33 @@ - - /* -- * Copyright (c) 1995-1998 Sun Microsystems, Inc. All Rights Reserved. -+ * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. - * -- * Permission to use, copy, modify, and distribute this software -- * and its documentation for NON-COMMERCIAL purposes and without -- * fee is hereby granted provided that this copyright notice -- * appears in all copies. Please refer to the file "copyright.html" -- * for further important copyright and licensing information. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions -+ * are met: - * -- * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF -- * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -- * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -- * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR -- * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR -- * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. -+ * - Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * -+ * - Redistributions in binary form must reproduce the above copyright -+ * notice, this list of conditions and the following disclaimer in the -+ * documentation and/or other materials provided with the distribution. -+ * -+ * - Neither the name of Oracle or the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - import java.awt.*; -diff -up antlr-2.7.7/examples/java/unicode.IDENTs/StreamConverter.java.licensefix antlr-2.7.7/examples/java/unicode.IDENTs/StreamConverter.java ---- antlr-2.7.7/examples/java/unicode.IDENTs/StreamConverter.java.licensefix 2012-08-16 10:18:24.649576674 -0400 -+++ antlr-2.7.7/examples/java/unicode.IDENTs/StreamConverter.java 2012-08-16 10:18:49.002578275 -0400 -@@ -1,19 +1,33 @@ - - /* -- * Copyright (c) 1995-1998 Sun Microsystems, Inc. All Rights Reserved. -+ * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. - * -- * Permission to use, copy, modify, and distribute this software -- * and its documentation for NON-COMMERCIAL purposes and without -- * fee is hereby granted provided that this copyright notice -- * appears in all copies. Please refer to the file "copyright.html" -- * for further important copyright and licensing information. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions -+ * are met: - * -- * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF -- * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -- * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -- * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR -- * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR -- * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. -+ * - Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * -+ * - Redistributions in binary form must reproduce the above copyright -+ * notice, this list of conditions and the following disclaimer in the -+ * documentation and/or other materials provided with the distribution. -+ * -+ * - Neither the name of Oracle or the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - import java.io.*; diff --git a/antlr.spec b/antlr.spec index 2392558..8b3ae28 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 66%{?dist} +Release: 67%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ # ./generate-tarball.sh @@ -15,8 +15,6 @@ Source3: http://repo2.maven.org/maven2/antlr/antlr/%{version}/%{name}-%{ve # Repack the tarball without prebuilt binaries of unknown origin Source4: generate-tarball.sh Patch1: %{name}-%{version}-newgcc.patch -# see BZ#848662 -Patch2: antlr-examples-license.patch BuildRequires: gcc-c++ BuildRequires: make @@ -73,7 +71,6 @@ This package provides a static C++ library for parsers generated by ANTLR2. find . -name "*.jar" -exec rm -f {} \; cp -p %{SOURCE1} build.xml %patch1 -%patch2 -p1 # CRLF->LF sed -i 's/\r//' LICENSE.txt @@ -130,6 +127,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Wed Aug 11 2021 Marian Koncek - 2.7.7-67 +- Remove files with proprietary license headers + * Wed Jul 21 2021 Fedora Release Engineering - 2.7.7-66 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/generate-tarball.sh b/generate-tarball.sh index 74b872f..0404e77 100755 --- a/generate-tarball.sh +++ b/generate-tarball.sh @@ -10,7 +10,7 @@ wget "http://www.antlr2.org/download/antlr-${version}.tar.gz" -O "${name}-${vers rm -rf tarball-tmp mkdir tarball-tmp cd tarball-tmp -tar xf "../${name}-${version}.orig.tar.gz" +tar -xf "../${name}-${version}.orig.tar.gz" # CLEAN TARBALL # contain questionable things, such as csflex.exe @@ -20,6 +20,10 @@ find -name '*.exe' -delete find -name '*.dll' -delete find -name '*.so' -delete -tar cf "../${name}-${version}.tar.gz" * +# rhbz#1986062 +rm "antlr-${version}/examples/java/unicode.IDENTs/StreamConverter.java" +rm "antlr-${version}/examples/java/unicode.IDENTs/ShowString.java" + +tar -czf "../${name}-${version}.tar.gz" * cd .. rm -r tarball-tmp "${name}-${version}.orig.tar.gz" diff --git a/sources b/sources index 0c0fb2b..d6e6b74 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (antlr-2.7.7.tar.gz) = 7e05d440513663dab1960974ac61694552583bdd20d6eac2bff27f5142b118a26022d910b44312cdac9164b087c7cd4d1c8325e1ec914f9704b3cdd5f4b2b166 +SHA512 (antlr-2.7.7.tar.gz) = 48f62a91ae9c1c8e18c7aadbb4d9173c2fd83c1ba86c2317511977b83f00c9e13e320c520731a1ba66b57f06071bf0b52dfddf2969f4d6a519bffd17885e3ddc SHA512 (antlr-2.7.7.pom) = 4a34de18bee216852f43efddcd3bced1708548ebff7372b4ec4ecb6c289b36190b4d0d5588b86f9b65b3bc64756290b66bf1d6d9ed49d0cb8b972921829cba9e From dcfe62b9763fb4ca99e78cd2adba7e701827d51d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 21:21:29 +0000 Subject: [PATCH 17/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 8b3ae28..d02686d 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 67%{?dist} +Release: 68%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ # ./generate-tarball.sh @@ -127,6 +127,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 2.7.7-68 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Wed Aug 11 2021 Marian Koncek - 2.7.7-67 - Remove files with proprietary license headers From b60351c72dd3a03c0a55adaaf867b64285548bc0 Mon Sep 17 00:00:00 2001 From: Jiri Date: Sat, 5 Feb 2022 19:16:36 +0100 Subject: [PATCH 18/97] Rebuilt for java-17-openjdk as system jdk https://fedoraproject.org/wiki/Changes/Java17 --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index d02686d..e2fdb20 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 68%{?dist} +Release: 69%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ # ./generate-tarball.sh @@ -127,6 +127,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Sat Feb 05 2022 Jiri Vanek - 2.7.7-69 +- Rebuilt for java-17-openjdk as system jdk + * Wed Jan 19 2022 Fedora Release Engineering - 2.7.7-68 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From effe4661d9cb958e8f661595cb5bfa3126df1a82 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 12 May 2022 22:33:23 +0200 Subject: [PATCH 19/97] Add ExclusiveArch: %{java_arches} See: https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs --- antlr.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/antlr.spec b/antlr.spec index e2fdb20..512016e 100644 --- a/antlr.spec +++ b/antlr.spec @@ -7,6 +7,8 @@ Version: 2.7.7 Release: 69%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ +ExclusiveArch: %{java_arches} + # ./generate-tarball.sh Source0: antlr-%{version}.tar.gz Source1: %{name}-build.xml From e9177e26c3ec0a8a574fd9cef8a190ae6a0c15ce Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 20:55:31 +0000 Subject: [PATCH 20/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 512016e..8a5cf5f 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 69%{?dist} +Release: 70%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ ExclusiveArch: %{java_arches} @@ -129,6 +129,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 2.7.7-70 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Feb 05 2022 Jiri Vanek - 2.7.7-69 - Rebuilt for java-17-openjdk as system jdk From d2c363402bfb7ae794182004b7ad7c8b4aec25b0 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 31 Aug 2022 08:36:51 +0200 Subject: [PATCH 21/97] Onboard package into gating --- .fmf/version | 1 + ci.fmf | 1 + gating.yaml | 8 ++++++++ plans/javapackages.fmf | 7 +++++++ 4 files changed, 17 insertions(+) create mode 100644 .fmf/version create mode 100644 ci.fmf create mode 100644 gating.yaml create mode 100644 plans/javapackages.fmf 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/ci.fmf b/ci.fmf new file mode 100644 index 0000000..c5aa0e0 --- /dev/null +++ b/ci.fmf @@ -0,0 +1 @@ +resultsdb-testcase: separate diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..0d484d7 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,8 @@ +--- !Policy +product_versions: + - fedora-* +decision_contexts: + - bodhi_update_push_testing + - bodhi_update_push_stable +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages.functional} diff --git a/plans/javapackages.fmf b/plans/javapackages.fmf new file mode 100644 index 0000000..8f6c9cb --- /dev/null +++ b/plans/javapackages.fmf @@ -0,0 +1,7 @@ +summary: Run javapackages-specific tests +discover: + how: fmf + url: https://src.fedoraproject.org/tests/javapackages + ref: f37 +execute: + how: tmt From 45a897ff268d6b78f7d8eaac30453d13e3032b0e Mon Sep 17 00:00:00 2001 From: Peter Fordham Date: Tue, 6 Dec 2022 22:59:03 +0000 Subject: [PATCH 22/97] Port configure script to C99. https://fedoraproject.org/wiki/Toolchain/PortingToModernC Rebuilding configure with new autotools would also solve the problem. --- antlr-2.7.7-configure-c99.patch | 13 +++++++++++++ antlr.spec | 7 ++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 antlr-2.7.7-configure-c99.patch diff --git a/antlr-2.7.7-configure-c99.patch b/antlr-2.7.7-configure-c99.patch new file mode 100644 index 0000000..38b83bc --- /dev/null +++ b/antlr-2.7.7-configure-c99.patch @@ -0,0 +1,13 @@ +--- configure ++++ configure +@@ -4697,8 +4697,8 @@ main () + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) +- exit(2); +- exit (0); ++ return 2; ++ return 0; + } + _ACEOF + rm -f conftest$ac_exeext diff --git a/antlr.spec b/antlr.spec index 8a5cf5f..c9f7f94 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 70%{?dist} +Release: 71%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ ExclusiveArch: %{java_arches} @@ -17,6 +17,7 @@ Source3: http://repo2.maven.org/maven2/antlr/antlr/%{version}/%{name}-%{ve # Repack the tarball without prebuilt binaries of unknown origin Source4: generate-tarball.sh Patch1: %{name}-%{version}-newgcc.patch +Patch2: %{name}-%{version}-configure-c99.patch BuildRequires: gcc-c++ BuildRequires: make @@ -73,6 +74,7 @@ This package provides a static C++ library for parsers generated by ANTLR2. find . -name "*.jar" -exec rm -f {} \; cp -p %{SOURCE1} build.xml %patch1 +%patch2 # CRLF->LF sed -i 's/\r//' LICENSE.txt @@ -129,6 +131,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Tue Dec 06 2022 Peter Fordham - 2.7.7-71 +- Port configure script to C99. + * Wed Jul 20 2022 Fedora Release Engineering - 2.7.7-70 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 46cd1064df15936ad00004a24cd479b30a6c6209 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 21:50:43 +0000 Subject: [PATCH 23/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index c9f7f94..c86c9d0 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 71%{?dist} +Release: 72%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ ExclusiveArch: %{java_arches} @@ -131,6 +131,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 2.7.7-72 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Dec 06 2022 Peter Fordham - 2.7.7-71 - Port configure script to C99. From 64900ed1b3f1c7a85cf5b277abf0ebe0d37bb763 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 13:24:32 +0000 Subject: [PATCH 24/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index c86c9d0..b3d4015 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 72%{?dist} +Release: 73%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ ExclusiveArch: %{java_arches} @@ -131,6 +131,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 2.7.7-73 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Jan 18 2023 Fedora Release Engineering - 2.7.7-72 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 5db152cd6af7a53f3e8224d22a232ccdfcb4a01b Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 1 Sep 2023 15:02:24 +0200 Subject: [PATCH 25/97] Convert License tag to SPDX format Related: https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2 From afa137463b6f447e7c646706ae4638694dadb1fa Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 26 Oct 2023 07:33:07 +0200 Subject: [PATCH 26/97] Update javapackages test plan to f40 --- plans/javapackages.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/javapackages.fmf b/plans/javapackages.fmf index 8f6c9cb..a2cdaba 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: f37 + ref: f40 execute: how: tmt From a4ec8b80f813a1c4367bd167efdde239dc809787 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 13:07:26 +0000 Subject: [PATCH 27/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index b3d4015..3846732 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 73%{?dist} +Release: 74%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ ExclusiveArch: %{java_arches} @@ -131,6 +131,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 2.7.7-74 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Wed Jul 19 2023 Fedora Release Engineering - 2.7.7-73 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 541fd8948baa57bcb7e3b3e59c9aa514c9dbb821 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 23:10:19 +0000 Subject: [PATCH 28/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 3846732..0e97ba5 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 74%{?dist} +Release: 75%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ ExclusiveArch: %{java_arches} @@ -131,6 +131,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 2.7.7-75 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 2.7.7-74 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From d834f215d43d840fc18ee1dd1a536814bac7e55c Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Tue, 27 Feb 2024 14:35:57 +0100 Subject: [PATCH 29/97] Rebuilt for java-21-openjdk as system jdk https://fedoraproject.org/wiki/Changes/Java21 --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 0e97ba5..0f7ecb3 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 75%{?dist} +Release: 76%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ ExclusiveArch: %{java_arches} @@ -131,6 +131,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Tue Feb 27 2024 Jiri Vanek - 2.7.7-76 +- Rebuilt for java-21-openjdk as system jdk + * Mon Jan 22 2024 Fedora Release Engineering - 2.7.7-75 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 3f13983b8ba0ba4a14c8d55b927df82425739da5 Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:46 +0200 Subject: [PATCH 30/97] Eliminate use of obsolete %patchN syntax (#2283636) --- antlr.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/antlr.spec b/antlr.spec index 0f7ecb3..1a043fe 100644 --- a/antlr.spec +++ b/antlr.spec @@ -73,8 +73,8 @@ This package provides a static C++ library for parsers generated by ANTLR2. # remove all binary libs find . -name "*.jar" -exec rm -f {} \; cp -p %{SOURCE1} build.xml -%patch1 -%patch2 +%patch -P1 +%patch -P2 # CRLF->LF sed -i 's/\r//' LICENSE.txt From 8c1f444f796ba019b4d369e2b14d8461ca4b7e42 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 31 May 2024 05:41:47 +0200 Subject: [PATCH 31/97] Switch to a newer %patch syntax --- antlr.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/antlr.spec b/antlr.spec index 1a043fe..200341a 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 76%{?dist} +Release: 77%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ ExclusiveArch: %{java_arches} @@ -73,8 +73,8 @@ This package provides a static C++ library for parsers generated by ANTLR2. # remove all binary libs find . -name "*.jar" -exec rm -f {} \; cp -p %{SOURCE1} build.xml -%patch -P1 -%patch -P2 +%patch 1 +%patch 2 # CRLF->LF sed -i 's/\r//' LICENSE.txt @@ -131,6 +131,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Fri May 31 2024 Mikolaj Izdebski - 2.7.7-77 +- Switch to a newer patch macro syntax + * Tue Feb 27 2024 Jiri Vanek - 2.7.7-76 - Rebuilt for java-21-openjdk as system jdk From af391d76f325673619cbad0fa68cfc4dfe4096d1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 17:07:26 +0000 Subject: [PATCH 32/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- antlr.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index 200341a..b44203c 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 77%{?dist} +Release: 78%{?dist} License: ANTLR-PD URL: http://www.antlr2.org/ ExclusiveArch: %{java_arches} @@ -131,6 +131,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 2.7.7-78 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri May 31 2024 Mikolaj Izdebski - 2.7.7-77 - Switch to a newer patch macro syntax From 3e1ccd32bd80ffcda84be291845a4b21edc54ad9 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 31 Jul 2024 20:53:29 +0200 Subject: [PATCH 33/97] 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 7e9ffd24290ab417a6892e354a33eaf444206b88 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 20 Aug 2024 16:33:56 +0200 Subject: [PATCH 34/97] Switch from %setup to %autosetup --- antlr-2.7.7-configure-c99.patch | 4 ++-- antlr-2.7.7-newgcc.patch | 4 ++-- antlr.spec | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/antlr-2.7.7-configure-c99.patch b/antlr-2.7.7-configure-c99.patch index 38b83bc..c882c72 100644 --- a/antlr-2.7.7-configure-c99.patch +++ b/antlr-2.7.7-configure-c99.patch @@ -1,5 +1,5 @@ ---- configure -+++ configure +--- antlr/configure ++++ antlr/configure @@ -4697,8 +4697,8 @@ main () for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) diff --git a/antlr-2.7.7-newgcc.patch b/antlr-2.7.7-newgcc.patch index c501bd0..fe85248 100644 --- a/antlr-2.7.7-newgcc.patch +++ b/antlr-2.7.7-newgcc.patch @@ -1,6 +1,6 @@ diff -up ./lib/cpp/antlr/CharScanner.hpp.sav ./lib/cpp/antlr/CharScanner.hpp ---- ./lib/cpp/antlr/CharScanner.hpp.sav 2009-03-20 14:42:43.000000000 -0400 -+++ ./lib/cpp/antlr/CharScanner.hpp 2009-03-20 14:43:29.000000000 -0400 +--- antlr/lib/cpp/antlr/CharScanner.hpp.sav 2009-03-20 14:42:43.000000000 -0400 ++++ antlr/lib/cpp/antlr/CharScanner.hpp 2009-03-20 14:43:29.000000000 -0400 @@ -11,6 +11,8 @@ #include diff --git a/antlr.spec b/antlr.spec index b44203c..a5db40a 100644 --- a/antlr.spec +++ b/antlr.spec @@ -69,12 +69,10 @@ Provides: antlr-static = %{version}-%{release} This package provides a static C++ library for parsers generated by ANTLR2. %prep -%setup -q +%autosetup -p1 -C # remove all binary libs find . -name "*.jar" -exec rm -f {} \; cp -p %{SOURCE1} build.xml -%patch 1 -%patch 2 # CRLF->LF sed -i 's/\r//' LICENSE.txt From d8c80eb3557f9549396bd1f054897f572ba04bcf Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 22 Aug 2024 22:13:18 +0200 Subject: [PATCH 35/97] Switch to non-numdered patches --- antlr.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/antlr.spec b/antlr.spec index a5db40a..aa5c6a6 100644 --- a/antlr.spec +++ b/antlr.spec @@ -16,8 +16,8 @@ Source2: %{name}-script Source3: http://repo2.maven.org/maven2/antlr/antlr/%{version}/%{name}-%{version}.pom # Repack the tarball without prebuilt binaries of unknown origin Source4: generate-tarball.sh -Patch1: %{name}-%{version}-newgcc.patch -Patch2: %{name}-%{version}-configure-c99.patch +Patch: %{name}-%{version}-newgcc.patch +Patch: %{name}-%{version}-configure-c99.patch BuildRequires: gcc-c++ BuildRequires: make From 10492208f3e4b1c9e473fbf6a6e634c20ce2b405 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 36/97] Empty commit to bump autorelease From 7e51b39cd397a5510747855b05f93a42e5ffe903 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 37/97] Empty commit to bump autorelease From 42a3d1c6bafb8ed5a72c246c0348d7c3d8f639d5 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 38/97] Empty commit to bump autorelease From f9503e27bc1e22fbba7410e00702257f55f98423 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 39/97] Empty commit to bump autorelease From 8954ca8e25b874ae96459c4f4fc859a7a3249fa0 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 40/97] Empty commit to bump autorelease From 8926aefa0bc997e5942943adf8313f17c4416d6e Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 41/97] Empty commit to bump autorelease From e2a5222ad21eabf9d2a17d4f10bc013ae526d372 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 42/97] Empty commit to bump autorelease From 4498d598a9378b54a474d7ebc10fd65d0427d75e Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 43/97] Empty commit to bump autorelease From 4723a39078aff9c79c2bf6584426072bf2b37fa0 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 44/97] Empty commit to bump autorelease From 258a06c6d8806562d14b0f09e7fd27c290607cee Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 45/97] Empty commit to bump autorelease From 5d21ecbdb18e19a3a4cf777bf6e8b0f6f2b907ae Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 46/97] Empty commit to bump autorelease From 00ee5449371ddf232ff2fac66c391db66edd7629 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 47/97] Empty commit to bump autorelease From ad6a9f1a6a6b373845a80ad2c9dcb4835cc49db9 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 48/97] Empty commit to bump autorelease From 27b37bdd4fdad9360b6172a75b16ca77fbd81328 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 49/97] Empty commit to bump autorelease From 448a649d261940b93e2372e35266d0c0e5bf60b4 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 50/97] Empty commit to bump autorelease From 8a984a9d006af5ec30440cd57ed12867799d7fed Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 51/97] Empty commit to bump autorelease From 4b35b1ae45133d38f97269dcf233486da3564498 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 52/97] Empty commit to bump autorelease From 5997f2efbf37d4c89ebb7b2042f729767920e76d Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 53/97] Empty commit to bump autorelease From 770cd55ff532c45b326907cd817c176936a5882e Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 54/97] Empty commit to bump autorelease From 40676dd0dc99f8ce4295033c9c105b38c3497bcd Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 55/97] Empty commit to bump autorelease From 5b0448c81d74894d33cd339babac6889c79b225c Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 56/97] Empty commit to bump autorelease From eeb7ffd2fe5afe2a6db6ff1d8e3bac9d9ffef2fb Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 57/97] Empty commit to bump autorelease From 86a395c370a83d4467edaf39aa3c2e8d8ec1416b Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 58/97] Empty commit to bump autorelease From f8339b78a7a7c9f5eba8ad3925fc1826263de4e3 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 59/97] Empty commit to bump autorelease From 3f8ae4d70b3216b68f6ca6c1dfce639cd8712b4e Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 60/97] Empty commit to bump autorelease From ee4532c46e9ce7424dededbe9d8cd37746174df4 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 61/97] Empty commit to bump autorelease From aebbafcaff6915d57dc18938178b81de81ea07db Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 62/97] Empty commit to bump autorelease From 863d76cd5bca4046295188f56c1dd4421b1c6d55 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 63/97] Empty commit to bump autorelease From 652e29d2705f0b22c9972535fdb27d6076f08512 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 64/97] Empty commit to bump autorelease From 2098a8e1af75a9c00fd9ef9363ae720abcaf028f Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 65/97] Empty commit to bump autorelease From 1491536be66632936ab2951168de70d938aef51f Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 66/97] Empty commit to bump autorelease From 9932bff3a9400295ddd6436579fb0ff0d6a97c2f Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 67/97] Empty commit to bump autorelease From 17bf6bbaa070404b4cc5cb0b83854766fd7532d7 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 68/97] Empty commit to bump autorelease From 997840ab62c5a82ad613147f9fe37ce6a22f414d Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 69/97] Empty commit to bump autorelease From a5c444874eef92bd306e324c74d15750f5c5b5f3 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 70/97] Empty commit to bump autorelease From 675e50f78349c071d40bfb1040ae04cb41ca3432 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 71/97] Empty commit to bump autorelease From 751cb5df34b2ee9fc31d799c2b0cf1ca66b8b4b0 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 72/97] Empty commit to bump autorelease From 0921038b2ce67e9579cc53b4ed4d10aff1e6c60c Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 73/97] Empty commit to bump autorelease From be67f786e6162fd7b5ceed5fd4ba9ba0cae20a58 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 74/97] Empty commit to bump autorelease From 3e65dc8fb31d43a1ac026ed6916c0fb576310045 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 75/97] Empty commit to bump autorelease From 792364409106078597f2ecefffb7f75614f3fa9a Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 76/97] Empty commit to bump autorelease From 6a3e6a513e834ed14f553f6d3fc8a6771606dc7e Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 77/97] Empty commit to bump autorelease From 2d106e1056292ba1113e4ce7383077d66452c20a Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 78/97] Empty commit to bump autorelease From 765cbb73314541c35c596b9dfb683e1c525fa549 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 79/97] Empty commit to bump autorelease From f7ad5d6421df20008149c9cbeb55771f41d3a106 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 80/97] Empty commit to bump autorelease From a4095edfd0d28f2376f9d8367b5ec223da907786 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 81/97] Empty commit to bump autorelease From 90ed188a4b02a950edf9fb83636250fd8204a3fa Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 82/97] Empty commit to bump autorelease From c04a49fd72c7949e611e6f8972a9fd60abcd70e5 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 83/97] Empty commit to bump autorelease From 995ce230d05ebf6ea932d284170726ec584f12c1 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 84/97] Empty commit to bump autorelease From d5eb7cd77ac25500d66fbe4623495b78d902978d Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:41:37 +0200 Subject: [PATCH 85/97] Empty commit to bump autorelease From 92d21a2a7b75d5a654fd0f7cafac1f080dc78801 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 23 Aug 2024 00:44:59 +0200 Subject: [PATCH 86/97] Convert to %autorelease and %autochangelog --- antlr.spec | 376 +---------------------------------------------------- changelog | 373 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 375 insertions(+), 374 deletions(-) create mode 100644 changelog diff --git a/antlr.spec b/antlr.spec index aa5c6a6..72627ca 100644 --- a/antlr.spec +++ b/antlr.spec @@ -4,7 +4,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 78%{?dist} +Release: %autorelease License: ANTLR-PD URL: http://www.antlr2.org/ ExclusiveArch: %{java_arches} @@ -129,376 +129,4 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %changelog -* Wed Jul 17 2024 Fedora Release Engineering - 2.7.7-78 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri May 31 2024 Mikolaj Izdebski - 2.7.7-77 -- Switch to a newer patch macro syntax - -* Tue Feb 27 2024 Jiri Vanek - 2.7.7-76 -- Rebuilt for java-21-openjdk as system jdk - -* Mon Jan 22 2024 Fedora Release Engineering - 2.7.7-75 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 2.7.7-74 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Wed Jul 19 2023 Fedora Release Engineering - 2.7.7-73 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Wed Jan 18 2023 Fedora Release Engineering - 2.7.7-72 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Tue Dec 06 2022 Peter Fordham - 2.7.7-71 -- Port configure script to C99. - -* Wed Jul 20 2022 Fedora Release Engineering - 2.7.7-70 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Feb 05 2022 Jiri Vanek - 2.7.7-69 -- Rebuilt for java-17-openjdk as system jdk - -* Wed Jan 19 2022 Fedora Release Engineering - 2.7.7-68 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Aug 11 2021 Marian Koncek - 2.7.7-67 -- Remove files with proprietary license headers - -* Wed Jul 21 2021 Fedora Release Engineering - 2.7.7-66 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Mon Jun 28 2021 Mikolaj Izdebski - 2.7.7-65 -- Remove Python runtime - -* Tue Jan 26 2021 Fedora Release Engineering - 0:2.7.7-64 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 0:2.7.7-63 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jul 21 2020 Fabio Valentini - 0:2.7.7-62 -- Set javac source / target version to 1.8 to fix issues with Java 11. - -* Fri Jul 10 2020 Jiri Vanek - 0:2.7.7-61 -- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 - -* Tue Jan 28 2020 Fedora Release Engineering - 0:2.7.7-60 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Tue Nov 05 2019 Mikolaj Izdebski - 2.7.7-58 -- Mass rebuild for javapackages-tools 201902 - -* Wed Jul 24 2019 Fedora Release Engineering - 0:2.7.7-59 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri May 24 2019 Mikolaj Izdebski - 2.7.7-57 -- Mass rebuild for javapackages-tools 201901 - -* Wed Mar 27 2019 Miro Hrončok - 0:2.7.7-58 -- Subpackage python2-antlr was removed - https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal - -* Thu Jan 31 2019 Fedora Release Engineering - 0:2.7.7-57 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Jul 30 2018 Severin Gehwolf - 0:2.7.7-56 -- Add explicit requirement of javapackages-tools. - -* Tue Jul 24 2018 Michael Simacek - 0:2.7.7-55 -- Repack the tarball without binaries - -* Thu Jul 12 2018 Fedora Release Engineering - 0:2.7.7-54 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 0:2.7.7-53 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Tue Nov 7 2017 Mikolaj Izdebski - 0:2.7.7-52 -- Switch to new license tag: ANTLR-PD - -* Sat Sep 23 2017 Mikolaj Izdebski - 0:2.7.7-51 -- Conditionally allow building without C++ docs - -* Wed Aug 02 2017 Fedora Release Engineering - 0:2.7.7-50 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0:2.7.7-49 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed Jul 12 2017 Miro Hrončok - 0:2.7.7-48 -- Proper python2 subpackage name - -* Thu Feb 16 2017 Michael Simacek - 0:2.7.7-47 -- Add conditional for python - -* Wed Feb 15 2017 Mikolaj Izdebski - 0:2.7.7-46 -- Generalize requires on python2 packages - -* Fri Feb 10 2017 Fedora Release Engineering - 0:2.7.7-45 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jan 31 2017 Mikolaj Izdebski - 0:2.7.7-44 -- Add missing build-requires on GCC - -* Tue Jul 19 2016 Fedora Release Engineering - 0:2.7.7-43 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Tue Mar 01 2016 gil cattaneo 0:2.7.7-42 -- fix URL field (rhbz#1313275) - -* Mon Feb 29 2016 gil cattaneo 0:2.7.7-41 -- use python macros - -* Wed Feb 03 2016 Fedora Release Engineering - 0:2.7.7-40 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Oct 02 2015 gil cattaneo 0:2.7.7-39 -- adapt to current guideline -- remove some rpmlint problems -- disable javadoc doclint -- introduce license macro - -* Fri Aug 21 2015 Marcin Juszkiewicz - 0:2.7.7-38 -- use %%{mono_archs} instead of hardcoding list (rhbz#1255726) - -* Tue Jun 16 2015 Fedora Release Engineering - 0:2.7.7-37 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Fri Apr 24 2015 Orion Poplawski - 0:2.7.7-36 -- Rebuild for gcc 5 C++11 ABI again - -* Sun Feb 22 2015 Orion Poplawski - 0:2.7.7-35 -- Rebuild for gcc 5 C++11 ABI - -* Fri Aug 15 2014 Fedora Release Engineering - 0:2.7.7-34 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Mon Jun 30 2014 Toshio Kuratomi - 2.7.7-33 -- Change python-setuptools-devel BR into python-setuptools. - -* Sat Jun 07 2014 Fedora Release Engineering - 0:2.7.7-32 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Wed May 21 2014 Mikolaj Izdebski - 0:2.7.7-31 -- Use .mfiles generated during build - -* Tue Mar 04 2014 Stanislav Ochotnicky - 0:2.7.7-30 -- Use Requires: java-headless rebuild (#1067528) - -* Mon Nov 11 2013 Stanislav Ochotnicky - 0:2.7.7-29 -- Do not install versioned jar (#1022080) -- Install LICENSE files in each independent subpackage -- Minor spec cleanups - -* Fri Nov 08 2013 Marek Goldmann - 0:2.7.7-28 -- Rebuild - -* Sat Aug 03 2013 Fedora Release Engineering - 0:2.7.7-27 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Feb 13 2013 Fedora Release Engineering - 0:2.7.7-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Sun Nov 25 2012 Mikolaj Izdebski - 0:2.7.7-25 -- Move maven files from C++ to tool subpackage, resolves: rhbz#879885 - -* Thu Nov 1 2012 Mikolaj Izdebski - 0:2.7.7-24 -- Add maven POM - -* Sat Aug 18 2012 Miloš Jakubíček - 0:2.7.7-23 -- Add patch updating license on ShowString.java and StreamConverter.java - examples (thanks to Tom Callaway, see BZ#848662) - -* Wed Jul 18 2012 Fedora Release Engineering - 0:2.7.7-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Wed Feb 01 2012 Jaroslav Reznik 0:2.7.7-21 -- wrong version for jpackage-utils - -* Wed Feb 01 2012 Jaroslav Reznik 0:2.7.7-20 -- Versioned Java (build)/requires for -tool too - -* Mon Jan 30 2012 Jaroslav Reznik 0:2.7.7-19 -- Versioned Java (build)/requires - -* Fri Jan 27 2012 Alexander Kurtakov 0:2.7.7-18 -- Disable c# part for rhel builds. - -* Thu Jan 12 2012 Fedora Release Engineering - 0:2.7.7-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Fri Mar 25 2011 Miloš Jakubíček - 0:2.7.7-16 -- Fixed wrong Obsoletes: antlr on antlr-tool (fix #689703) - -* Mon Feb 07 2011 Fedora Release Engineering - 0:2.7.7-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Mon Feb 07 2011 Miloš Jakubíček - 0:2.7.7-14 -- Remove INSTALL.txt (fix BZ#661626) -- add python subpackage (fix BZ#505312) - -* Mon Feb 07 2011 Miloš Jakubíček - 0:2.7.7-13 -- Added missing Obsoletes: antlr on antlr-tool (fix BZ#603466) - -* Mon Dec 13 2010 Dan Horák - 0:2.7.7-12 -- sync the architecture list in BR with the mono package - -* Tue Nov 23 2010 Rex Dieter - 0:2.7.7-11 -- -tool: +Requires: java jpackage-utils (#595504) - -* Thu Apr 29 2010 Miloš Jakubíček - 0:2.7.7-10 -- Use original upstream tarball, prebuilt jars are anyway removed in %%prep -- Don't overuse macros -- Added explanation about headers in the C++ subpackage -- Remove unnecessary Makefile and Makefile.in from %%docs, permissions fixed -- Added doxygen docs for C++ as a -C++-doc subpackage -- antlr-config moved into the C++ subpackage -- Removed %%post and %%postun javadoc relicts from JPackage - -* Tue Apr 27 2010 Miloš Jakubíček - 0:2.7.7-9 -- Drop native build, alternatives, jedit, gcj bits and other jpackage crap -- Disable debuginfo since we have only a static library. -- Use %%global everywhere -- Split the C++ bindings into a separate -C++ subpackage -- Use -tool subpackage with Provide: antlr to make it possible to be noarch -- Use sed instead of perl => drop BR: perl - -* Tue Apr 20 2010 Orion Poplawski 0:2.7.7-8 -- Cannot be noarch - -* Wed Apr 7 2010 Alexander Kurtakov 0:2.7.7-7 -- Disable gcj. -- Use %%global. - -* Fri Jul 24 2009 Fedora Release Engineering - 0:2.7.7-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Fri Mar 20 2009 Deepak Bhole - 0:2.7.7-5 -- Include cstdio in CharScanner.hpp (needed to build with GCC 4.4) -- Merge changes from includestrings patch into the above one - -* Mon Feb 23 2009 Fedora Release Engineering - 0:2.7.7-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Fri Jan 09 2009 Dennis Gilmore 2.7.7-3 -- exlcude using mono on sparc64 - -* Wed Jul 9 2008 Tom "spot" Callaway 2.7.7-2 -- drop repotag - -* Wed Feb 27 2008 Deepak Bhole - 0:2.7.7-1jpp.7 -- Add strings inclusion (for GCC 4.3) - -* Mon Sep 24 2007 Deepak Bhole - 0:2.7.7-1jpp.6 -- Resolve bz# 242305: Remove libantlr-pic.a, and compile libantlr.a with fPIC - -* Wed Aug 29 2007 Fedora Release Engineering - 2.7.7-1jpp.5 -- Rebuild for selinux ppc32 issue. - -* Tue Jun 12 2007 Deepak Bhole 2.7.7-1jpp.4.fc8 -- Added a PIC compiled archive (bz# 242305) - -* Thu Jun 07 2007 Deepak Bhole 2.7.7-1jpp.3 -- Applied patch to fix conditionals (from skasal at redhat dot com) - -* Mon Mar 26 2007 Deepak Bhole 2.7.7-1jpp.2 -- Added unowned dir to files list - -* Fri Jan 19 2007 Deepak Bhole 0:2.7.7-1jpp.1 -- Upgrade to 2.7.7 -- Resolve 172456 with patches from Vadim Nasardinov and Radu Greab - -* Thu Aug 03 2006 Deepak Bhole = 0:2.7.6-4jpp.2 -- Add missing postun for javadoc. - -* Thu Aug 03 2006 Deepak Bhole = 0:2.7.6-4jpp.1 -- Add missing requirements. - -* Sat Jul 22 2006 Thomas Fitzsimmons - 0:2.7.6-3jpp_5fc -- Unstub docs. - -* Sat Jul 22 2006 Jakub Jelinek - 0:2.7.6-3jpp_4fc -- Remove hack-libgcj requirement. - -* Fri Jul 21 2006 Thomas Fitzsimmons - 0:2.7.6-3jpp_3fc -- Stub docs. (dist-fc6-java) -- Require hack-libgcj for build. (dist-fc6-java) -- Bump release number. - -* Wed Jul 19 2006 Deepak Bhole = 0:2.7.6-3jpp_2fc -- From gbenson@redhat: -- Omit the jedit subpackage to fix dependencies. - -* Wed Jul 19 2006 Deepak Bhole = 0:2.7.6-3jpp_1fc -- Added conditional native compilation. - -* Fri Jan 13 2006 Fernando Nasser - 0:2.7.6-2jpp -- First JPP 1.7 build - -* Fri Jan 13 2006 Fernando Nasser - 0:2.7.6-1jpp -- Update to 2.7.6. - -* Fri Aug 20 2004 Ralph Apel - 0:2.7.4-2jpp -- Build with ant-1.6.2. -- Made native scripts conditional - -* Tue May 18 2004 Ville Skyttä - 0:2.7.4-1jpp -- Update to 2.7.4. - -* Fri Apr 2 2004 Ville Skyttä - 0:2.7.3-2jpp -- Create alternatives also on upgrades. - -* Wed Mar 31 2004 Ville Skyttä - 0:2.7.3-1jpp -- Update to 2.7.3. -- Include gcj build option and a native subpackage, build using - "--with native" to get that. -- Add %%{_bindir}/antlr alternative. - -* Mon Dec 15 2003 Ville Skyttä - 0:2.7.2-3jpp -- Add non-versioned javadoc dir symlink. -- Crosslink with local J2SE javadocs. -- Spec cleanups, change to UTF-8. - -* Sun Mar 30 2003 Ville Skyttä - 0:2.7.2-2jpp -- Rebuild for JPackage 1.5. - -* Sat Mar 1 2003 Ville Skyttä - 2.7.2-1jpp -- Update to 2.7.2. -- Include antlr script and jEdit mode (see antlr-jedit RPM description). -- Use sed instead of bash 2 extension when symlinking jars during build. - -* Tue May 07 2002 Guillaume Rousse 2.7.1-8jpp -- really section macro -- hardcoded distribution and vendor tag -- group tag again - -* Thu May 2 2002 Guillaume Rousse 2.7.1-7jpp -- distribution tag -- group tag -- section macro - -* Fri Jan 18 2002 Guillaume Rousse 2.7.1-6jpp -- versioned dir for javadoc -- no dependencies for manual and javadoc packages -- additional sources in individual archives - -* Sat Dec 1 2001 Guillaume Rousse 2.7.1-5jpp -- javadoc in javadoc package - -* Wed Nov 21 2001 Christian Zoffoli 2.7.1-4jpp -- removed packager tag -- new jpp extension - -* Sat Oct 6 2001 Guillaume Rousse 2.7.1-3jpp -- used a build file instead of makefile -- build classes instead of blindly jared them ! -- used original tarball -- corrected license spelling - -* Sun Sep 30 2001 Guillaume Rousse 2.7.1-2jpp -- first unified release -- s/jPackage/JPackage - -* Tue Aug 28 2001 Guillaume Rousse 2.7.1-1mdk -- first Mandrake release +%autochangelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..520df4d --- /dev/null +++ b/changelog @@ -0,0 +1,373 @@ +* Wed Jul 17 2024 Fedora Release Engineering - 2.7.7-78 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri May 31 2024 Mikolaj Izdebski - 2.7.7-77 +- Switch to a newer patch macro syntax + +* Tue Feb 27 2024 Jiri Vanek - 2.7.7-76 +- Rebuilt for java-21-openjdk as system jdk + +* Mon Jan 22 2024 Fedora Release Engineering - 2.7.7-75 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 2.7.7-74 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 2.7.7-73 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jan 18 2023 Fedora Release Engineering - 2.7.7-72 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 06 2022 Peter Fordham - 2.7.7-71 +- Port configure script to C99. + +* Wed Jul 20 2022 Fedora Release Engineering - 2.7.7-70 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Feb 05 2022 Jiri Vanek - 2.7.7-69 +- Rebuilt for java-17-openjdk as system jdk + +* Wed Jan 19 2022 Fedora Release Engineering - 2.7.7-68 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Aug 11 2021 Marian Koncek - 2.7.7-67 +- Remove files with proprietary license headers + +* Wed Jul 21 2021 Fedora Release Engineering - 2.7.7-66 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jun 28 2021 Mikolaj Izdebski - 2.7.7-65 +- Remove Python runtime + +* Tue Jan 26 2021 Fedora Release Engineering - 0:2.7.7-64 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 0:2.7.7-63 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 21 2020 Fabio Valentini - 0:2.7.7-62 +- Set javac source / target version to 1.8 to fix issues with Java 11. + +* Fri Jul 10 2020 Jiri Vanek - 0:2.7.7-61 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Tue Jan 28 2020 Fedora Release Engineering - 0:2.7.7-60 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Nov 05 2019 Mikolaj Izdebski - 2.7.7-58 +- Mass rebuild for javapackages-tools 201902 + +* Wed Jul 24 2019 Fedora Release Engineering - 0:2.7.7-59 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 24 2019 Mikolaj Izdebski - 2.7.7-57 +- Mass rebuild for javapackages-tools 201901 + +* Wed Mar 27 2019 Miro Hrončok - 0:2.7.7-58 +- Subpackage python2-antlr was removed + https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Thu Jan 31 2019 Fedora Release Engineering - 0:2.7.7-57 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jul 30 2018 Severin Gehwolf - 0:2.7.7-56 +- Add explicit requirement of javapackages-tools. + +* Tue Jul 24 2018 Michael Simacek - 0:2.7.7-55 +- Repack the tarball without binaries + +* Thu Jul 12 2018 Fedora Release Engineering - 0:2.7.7-54 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0:2.7.7-53 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Nov 7 2017 Mikolaj Izdebski - 0:2.7.7-52 +- Switch to new license tag: ANTLR-PD + +* Sat Sep 23 2017 Mikolaj Izdebski - 0:2.7.7-51 +- Conditionally allow building without C++ docs + +* Wed Aug 02 2017 Fedora Release Engineering - 0:2.7.7-50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0:2.7.7-49 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jul 12 2017 Miro Hrončok - 0:2.7.7-48 +- Proper python2 subpackage name + +* Thu Feb 16 2017 Michael Simacek - 0:2.7.7-47 +- Add conditional for python + +* Wed Feb 15 2017 Mikolaj Izdebski - 0:2.7.7-46 +- Generalize requires on python2 packages + +* Fri Feb 10 2017 Fedora Release Engineering - 0:2.7.7-45 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jan 31 2017 Mikolaj Izdebski - 0:2.7.7-44 +- Add missing build-requires on GCC + +* Tue Jul 19 2016 Fedora Release Engineering - 0:2.7.7-43 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Tue Mar 01 2016 gil cattaneo 0:2.7.7-42 +- fix URL field (rhbz#1313275) + +* Mon Feb 29 2016 gil cattaneo 0:2.7.7-41 +- use python macros + +* Wed Feb 03 2016 Fedora Release Engineering - 0:2.7.7-40 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Oct 02 2015 gil cattaneo 0:2.7.7-39 +- adapt to current guideline +- remove some rpmlint problems +- disable javadoc doclint +- introduce license macro + +* Fri Aug 21 2015 Marcin Juszkiewicz - 0:2.7.7-38 +- use %%{mono_archs} instead of hardcoding list (rhbz#1255726) + +* Tue Jun 16 2015 Fedora Release Engineering - 0:2.7.7-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Apr 24 2015 Orion Poplawski - 0:2.7.7-36 +- Rebuild for gcc 5 C++11 ABI again + +* Sun Feb 22 2015 Orion Poplawski - 0:2.7.7-35 +- Rebuild for gcc 5 C++11 ABI + +* Fri Aug 15 2014 Fedora Release Engineering - 0:2.7.7-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Mon Jun 30 2014 Toshio Kuratomi - 2.7.7-33 +- Change python-setuptools-devel BR into python-setuptools. + +* Sat Jun 07 2014 Fedora Release Engineering - 0:2.7.7-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 21 2014 Mikolaj Izdebski - 0:2.7.7-31 +- Use .mfiles generated during build + +* Tue Mar 04 2014 Stanislav Ochotnicky - 0:2.7.7-30 +- Use Requires: java-headless rebuild (#1067528) + +* Mon Nov 11 2013 Stanislav Ochotnicky - 0:2.7.7-29 +- Do not install versioned jar (#1022080) +- Install LICENSE files in each independent subpackage +- Minor spec cleanups + +* Fri Nov 08 2013 Marek Goldmann - 0:2.7.7-28 +- Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0:2.7.7-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 0:2.7.7-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Nov 25 2012 Mikolaj Izdebski - 0:2.7.7-25 +- Move maven files from C++ to tool subpackage, resolves: rhbz#879885 + +* Thu Nov 1 2012 Mikolaj Izdebski - 0:2.7.7-24 +- Add maven POM + +* Sat Aug 18 2012 Miloš Jakubíček - 0:2.7.7-23 +- Add patch updating license on ShowString.java and StreamConverter.java + examples (thanks to Tom Callaway, see BZ#848662) + +* Wed Jul 18 2012 Fedora Release Engineering - 0:2.7.7-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Feb 01 2012 Jaroslav Reznik 0:2.7.7-21 +- wrong version for jpackage-utils + +* Wed Feb 01 2012 Jaroslav Reznik 0:2.7.7-20 +- Versioned Java (build)/requires for -tool too + +* Mon Jan 30 2012 Jaroslav Reznik 0:2.7.7-19 +- Versioned Java (build)/requires + +* Fri Jan 27 2012 Alexander Kurtakov 0:2.7.7-18 +- Disable c# part for rhel builds. + +* Thu Jan 12 2012 Fedora Release Engineering - 0:2.7.7-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Mar 25 2011 Miloš Jakubíček - 0:2.7.7-16 +- Fixed wrong Obsoletes: antlr on antlr-tool (fix #689703) + +* Mon Feb 07 2011 Fedora Release Engineering - 0:2.7.7-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Feb 07 2011 Miloš Jakubíček - 0:2.7.7-14 +- Remove INSTALL.txt (fix BZ#661626) +- add python subpackage (fix BZ#505312) + +* Mon Feb 07 2011 Miloš Jakubíček - 0:2.7.7-13 +- Added missing Obsoletes: antlr on antlr-tool (fix BZ#603466) + +* Mon Dec 13 2010 Dan Horák - 0:2.7.7-12 +- sync the architecture list in BR with the mono package + +* Tue Nov 23 2010 Rex Dieter - 0:2.7.7-11 +- -tool: +Requires: java jpackage-utils (#595504) + +* Thu Apr 29 2010 Miloš Jakubíček - 0:2.7.7-10 +- Use original upstream tarball, prebuilt jars are anyway removed in %%prep +- Don't overuse macros +- Added explanation about headers in the C++ subpackage +- Remove unnecessary Makefile and Makefile.in from %%docs, permissions fixed +- Added doxygen docs for C++ as a -C++-doc subpackage +- antlr-config moved into the C++ subpackage +- Removed %%post and %%postun javadoc relicts from JPackage + +* Tue Apr 27 2010 Miloš Jakubíček - 0:2.7.7-9 +- Drop native build, alternatives, jedit, gcj bits and other jpackage crap +- Disable debuginfo since we have only a static library. +- Use %%global everywhere +- Split the C++ bindings into a separate -C++ subpackage +- Use -tool subpackage with Provide: antlr to make it possible to be noarch +- Use sed instead of perl => drop BR: perl + +* Tue Apr 20 2010 Orion Poplawski 0:2.7.7-8 +- Cannot be noarch + +* Wed Apr 7 2010 Alexander Kurtakov 0:2.7.7-7 +- Disable gcj. +- Use %%global. + +* Fri Jul 24 2009 Fedora Release Engineering - 0:2.7.7-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Fri Mar 20 2009 Deepak Bhole - 0:2.7.7-5 +- Include cstdio in CharScanner.hpp (needed to build with GCC 4.4) +- Merge changes from includestrings patch into the above one + +* Mon Feb 23 2009 Fedora Release Engineering - 0:2.7.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Jan 09 2009 Dennis Gilmore 2.7.7-3 +- exlcude using mono on sparc64 + +* Wed Jul 9 2008 Tom "spot" Callaway 2.7.7-2 +- drop repotag + +* Wed Feb 27 2008 Deepak Bhole - 0:2.7.7-1jpp.7 +- Add strings inclusion (for GCC 4.3) + +* Mon Sep 24 2007 Deepak Bhole - 0:2.7.7-1jpp.6 +- Resolve bz# 242305: Remove libantlr-pic.a, and compile libantlr.a with fPIC + +* Wed Aug 29 2007 Fedora Release Engineering - 2.7.7-1jpp.5 +- Rebuild for selinux ppc32 issue. + +* Tue Jun 12 2007 Deepak Bhole 2.7.7-1jpp.4.fc8 +- Added a PIC compiled archive (bz# 242305) + +* Thu Jun 07 2007 Deepak Bhole 2.7.7-1jpp.3 +- Applied patch to fix conditionals (from skasal at redhat dot com) + +* Mon Mar 26 2007 Deepak Bhole 2.7.7-1jpp.2 +- Added unowned dir to files list + +* Fri Jan 19 2007 Deepak Bhole 0:2.7.7-1jpp.1 +- Upgrade to 2.7.7 +- Resolve 172456 with patches from Vadim Nasardinov and Radu Greab + +* Thu Aug 03 2006 Deepak Bhole = 0:2.7.6-4jpp.2 +- Add missing postun for javadoc. + +* Thu Aug 03 2006 Deepak Bhole = 0:2.7.6-4jpp.1 +- Add missing requirements. + +* Sat Jul 22 2006 Thomas Fitzsimmons - 0:2.7.6-3jpp_5fc +- Unstub docs. + +* Sat Jul 22 2006 Jakub Jelinek - 0:2.7.6-3jpp_4fc +- Remove hack-libgcj requirement. + +* Fri Jul 21 2006 Thomas Fitzsimmons - 0:2.7.6-3jpp_3fc +- Stub docs. (dist-fc6-java) +- Require hack-libgcj for build. (dist-fc6-java) +- Bump release number. + +* Wed Jul 19 2006 Deepak Bhole = 0:2.7.6-3jpp_2fc +- From gbenson@redhat: +- Omit the jedit subpackage to fix dependencies. + +* Wed Jul 19 2006 Deepak Bhole = 0:2.7.6-3jpp_1fc +- Added conditional native compilation. + +* Fri Jan 13 2006 Fernando Nasser - 0:2.7.6-2jpp +- First JPP 1.7 build + +* Fri Jan 13 2006 Fernando Nasser - 0:2.7.6-1jpp +- Update to 2.7.6. + +* Fri Aug 20 2004 Ralph Apel - 0:2.7.4-2jpp +- Build with ant-1.6.2. +- Made native scripts conditional + +* Tue May 18 2004 Ville Skyttä - 0:2.7.4-1jpp +- Update to 2.7.4. + +* Fri Apr 2 2004 Ville Skyttä - 0:2.7.3-2jpp +- Create alternatives also on upgrades. + +* Wed Mar 31 2004 Ville Skyttä - 0:2.7.3-1jpp +- Update to 2.7.3. +- Include gcj build option and a native subpackage, build using + "--with native" to get that. +- Add %%{_bindir}/antlr alternative. + +* Mon Dec 15 2003 Ville Skyttä - 0:2.7.2-3jpp +- Add non-versioned javadoc dir symlink. +- Crosslink with local J2SE javadocs. +- Spec cleanups, change to UTF-8. + +* Sun Mar 30 2003 Ville Skyttä - 0:2.7.2-2jpp +- Rebuild for JPackage 1.5. + +* Sat Mar 1 2003 Ville Skyttä - 2.7.2-1jpp +- Update to 2.7.2. +- Include antlr script and jEdit mode (see antlr-jedit RPM description). +- Use sed instead of bash 2 extension when symlinking jars during build. + +* Tue May 07 2002 Guillaume Rousse 2.7.1-8jpp +- really section macro +- hardcoded distribution and vendor tag +- group tag again + +* Thu May 2 2002 Guillaume Rousse 2.7.1-7jpp +- distribution tag +- group tag +- section macro + +* Fri Jan 18 2002 Guillaume Rousse 2.7.1-6jpp +- versioned dir for javadoc +- no dependencies for manual and javadoc packages +- additional sources in individual archives + +* Sat Dec 1 2001 Guillaume Rousse 2.7.1-5jpp +- javadoc in javadoc package + +* Wed Nov 21 2001 Christian Zoffoli 2.7.1-4jpp +- removed packager tag +- new jpp extension + +* Sat Oct 6 2001 Guillaume Rousse 2.7.1-3jpp +- used a build file instead of makefile +- build classes instead of blindly jared them ! +- used original tarball +- corrected license spelling + +* Sun Sep 30 2001 Guillaume Rousse 2.7.1-2jpp +- first unified release +- s/jPackage/JPackage + +* Tue Aug 28 2001 Guillaume Rousse 2.7.1-1mdk +- first Mandrake release From 12c720ff9171dde56d653e1790c63533ad674359 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 28 Nov 2024 07:44:12 +0100 Subject: [PATCH 87/97] Add basic smoke test --- gating.yaml | 1 + plans/smoke.fmf | 5 +++++ tests/Sanity/smoke/main.fmf | 5 +++++ tests/Sanity/smoke/runtest.sh | 18 ++++++++++++++++++ tests/main.fmf | 4 ++++ 5 files changed, 33 insertions(+) create mode 100644 plans/smoke.fmf create mode 100644 tests/Sanity/smoke/main.fmf create mode 100755 tests/Sanity/smoke/runtest.sh create mode 100644 tests/main.fmf diff --git a/gating.yaml b/gating.yaml index 0d484d7..7b6e38f 100644 --- a/gating.yaml +++ b/gating.yaml @@ -5,4 +5,5 @@ decision_contexts: - bodhi_update_push_testing - bodhi_update_push_stable rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages.functional} diff --git a/plans/smoke.fmf b/plans/smoke.fmf new file mode 100644 index 0000000..a1e7bfd --- /dev/null +++ b/plans/smoke.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt diff --git a/tests/Sanity/smoke/main.fmf b/tests/Sanity/smoke/main.fmf new file mode 100644 index 0000000..ca868a6 --- /dev/null +++ b/tests/Sanity/smoke/main.fmf @@ -0,0 +1,5 @@ +summary: antlr smoke test +description: | + Test basic functionality of antlr. +require: + - antlr-tool diff --git a/tests/Sanity/smoke/runtest.sh b/tests/Sanity/smoke/runtest.sh new file mode 100755 index 0000000..9cccfd0 --- /dev/null +++ b/tests/Sanity/smoke/runtest.sh @@ -0,0 +1,18 @@ +#!/bin/bash +# Author: Mikolaj Izdebski +. /usr/share/beakerlib/beakerlib.sh + +rlJournalStart + + rlPhaseStartTest "check for presence of antlr command" + rlAssertRpm antlr-tool + rlAssertBinaryOrigin antlr antlr-tool + rlPhaseEnd + + rlPhaseStartTest "display antlr help" + rlRun -s "antlr --help" + rlAssertGrep "ANTLR Parser Generator" $rlRun_LOG + rlPhaseEnd + +rlJournalEnd +rlJournalPrintText diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..99fd67e --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,4 @@ +contact: Mikolaj Izdebski +framework: beakerlib +test: ./runtest.sh +tier: 0 From b47b5fb50ce6c06de33c3845bfb78005c7026fa5 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 28 Nov 2024 07:47:37 +0100 Subject: [PATCH 88/97] Use %jpackage_script --- antlr-script | 25 ------------------------- antlr.spec | 7 ++----- plans/javapackages.fmf | 2 +- 3 files changed, 3 insertions(+), 31 deletions(-) delete mode 100644 antlr-script diff --git a/antlr-script b/antlr-script deleted file mode 100644 index 6389106..0000000 --- a/antlr-script +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# antlr script -# JPackage Project - -# Source functions library -if [ -f /usr/share/java-utils/java-functions ] ; then - . /usr/share/java-utils/java-functions -else - echo "Can't find functions library, aborting" - exit 1 -fi - -# Configuration -MAIN_CLASS="antlr.Tool" -BASE_FLAGS="" -BASE_JARS="antlr.jar" - -# Set parameters -set_jvm -set_classpath $BASE_JARS -set_flags $BASE_FLAGS - -# Let's start -run "$@" diff --git a/antlr.spec b/antlr.spec index 72627ca..37a6feb 100644 --- a/antlr.spec +++ b/antlr.spec @@ -12,7 +12,6 @@ ExclusiveArch: %{java_arches} # ./generate-tarball.sh Source0: antlr-%{version}.tar.gz Source1: %{name}-build.xml -Source2: %{name}-script Source3: http://repo2.maven.org/maven2/antlr/antlr/%{version}/%{name}-%{version}.pom # Repack the tarball without prebuilt binaries of unknown origin Source4: generate-tarball.sh @@ -35,9 +34,6 @@ parsers]. %package tool Summary: ANother Tool for Language Recognition Provides: %{name} = %{version}-%{release} -# Explicit requires for javapackages-tools since antlr-script -# uses /usr/share/java-utils/java-functions -Requires: javapackages-tools BuildArch: noarch %description tool @@ -100,8 +96,9 @@ chmod 0644 doc/* %mvn_install -J work/api mkdir -p $RPM_BUILD_ROOT{%{_includedir}/%{name},%{_libdir},%{_bindir}} + # script -install -p -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/antlr +%jpackage_script antlr.Tool "" "" antlr antlr # C++ lib and headers, antlr-config install -p -m 644 lib/cpp/antlr/*.hpp $RPM_BUILD_ROOT%{_includedir}/%{name} 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 75ac4f8f2f2581f61046ec48c6a360fb50d17b69 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 30 Dec 2024 16:01:18 +0100 Subject: [PATCH 89/97] Unify spec style with the rest of Java/Maven packages [skip changelog] --- antlr.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/antlr.spec b/antlr.spec index 37a6feb..2410c0b 100644 --- a/antlr.spec +++ b/antlr.spec @@ -1,10 +1,10 @@ -%global debug_package %{nil} # since we have only a static library +%global debug_package %{nil} -Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 Release: %autorelease +Summary: ANother Tool for Language Recognition License: ANTLR-PD URL: http://www.antlr2.org/ ExclusiveArch: %{java_arches} @@ -33,8 +33,8 @@ parsers]. %package tool Summary: ANother Tool for Language Recognition -Provides: %{name} = %{version}-%{release} BuildArch: noarch +Provides: %{name} = %{version}-%{release} %description tool ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a From 8615b3d28d46ed178533433a242032e008447139 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 11:11:39 +0000 Subject: [PATCH 90/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 4162076cea1106777ed1d80e556211d1edc7da45 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 26 Mar 2025 08:43:18 +0100 Subject: [PATCH 91/97] 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 eb32a64b634133c5fd68371d987436547da0cbe5 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 22 May 2025 13:35:31 +0200 Subject: [PATCH 92/97] 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 f0a13613e3453c84a8060ec60f002eb3dd4b7854 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Sun, 13 Jul 2025 09:22:51 +0200 Subject: [PATCH 93/97] Build with OpenJDK 25 --- antlr.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/antlr.spec b/antlr.spec index 2410c0b..5535db1 100644 --- a/antlr.spec +++ b/antlr.spec @@ -21,8 +21,7 @@ Patch: %{name}-%{version}-configure-c99.patch BuildRequires: gcc-c++ BuildRequires: make BuildRequires: ant -BuildRequires: java-devel -BuildRequires: javapackages-local +BuildRequires: javapackages-local-openjdk25 %description ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a From 9145b3a6b96b0286a42f43b2a78dc2c76846e5ec Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Sun, 13 Jul 2025 21:23:17 +0200 Subject: [PATCH 94/97] Remove javadoc subpackage --- antlr.spec | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/antlr.spec b/antlr.spec index 5535db1..ec7795b 100644 --- a/antlr.spec +++ b/antlr.spec @@ -23,6 +23,9 @@ BuildRequires: make BuildRequires: ant BuildRequires: javapackages-local-openjdk25 +# TODO Remove in Fedora 46 +Obsoletes: %{name}-javadoc < 2.7.7-86 + %description ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, @@ -49,13 +52,6 @@ BuildArch: noarch %description manual Documentation for %{name}. -%package javadoc -Summary: Javadoc for %{name} -BuildArch: noarch - -%description javadoc -Javadoc for %{name}. - %package C++ Summary: C++ bindings for antlr2 generated parsers Provides: antlr-static = %{version}-%{release} @@ -75,7 +71,7 @@ sed -i 's/\r//' LICENSE.txt %mvn_file %{name}:%{name} %{name} %build -ant -Dj2se.apidoc=%{_javadocdir}/java +ant jar # make expects to find it here cp work/lib/antlr.jar . export CLASSPATH=. @@ -92,7 +88,7 @@ chmod 0644 doc/* # jars, POM and depmap %mvn_artifact %{SOURCE3} work/lib/%{name}.jar %mvn_alias %{name}:%{name} %{name}:%{name}all -%mvn_install -J work/api +%mvn_install mkdir -p $RPM_BUILD_ROOT{%{_includedir}/%{name},%{_libdir},%{_bindir}} @@ -121,8 +117,5 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir} %license LICENSE.txt %doc doc/* -%files javadoc -f .mfiles-javadoc -%license LICENSE.txt - %changelog %autochangelog From caf8df7dcb0bbb6f049348736c13bf28eecba9c2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 17:03:48 +0000 Subject: [PATCH 95/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 760610389cb64373dbb27421906da76d47af2e6d Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Tue, 29 Jul 2025 18:57:59 +0200 Subject: [PATCH 96/97] 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. --- antlr.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antlr.spec b/antlr.spec index ec7795b..c89dede 100644 --- a/antlr.spec +++ b/antlr.spec @@ -20,7 +20,7 @@ Patch: %{name}-%{version}-configure-c99.patch BuildRequires: gcc-c++ BuildRequires: make -BuildRequires: ant +BuildRequires: ant-openjdk25 BuildRequires: javapackages-local-openjdk25 # TODO Remove in Fedora 46 From 316bbcb560242edd871e839bad168359d0e2dae3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 03:45:01 +0000 Subject: [PATCH 97/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild