From 9416cd2848f52c723146e9bd932b4af4a6cb56a7 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Mon, 12 Apr 2021 12:51:16 +0200 Subject: [PATCH 01/24] Rebase to byacc-2.0-20210328 (#1943961) --- byacc.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/byacc.spec b/byacc.spec index ab710d1..dddfa92 100644 --- a/byacc.spec +++ b/byacc.spec @@ -1,9 +1,9 @@ -%define byaccdate 20210109 +%define byaccdate 20210328 Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 2%{?dist} +Release: 1%{?dist} License: Public Domain URL: http://invisible-island.net/byacc/byacc.html Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz @@ -51,6 +51,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Mon Apr 12 2021 Arjun Shankar - 2.0-20210328-1 +- Rebase to byacc-2.0-20210328 (#1943961) + * Tue Jan 26 2021 Fedora Release Engineering - 2.0.20210109-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index ac895a9..cd42337 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (byacc-20210109.tgz) = 95eafe81948fee1839fed8fff71d65c23d85de02af51672c118b2eed7c680f0dd300cec54cf366a248307c480844edc66a027575b29e20ef2f71f3c243ad5202 +SHA512 (byacc-20210328.tgz) = fdcf98976524c1f37710cf9551a357ebc24ece94dd2bd10501d4fafb914a7ab4847926b99647e387f22a3d3206e6a4bfc14a4c41115702382fcc1d6f688f9dae From e10f6184266d02098463675a0b4395dee023c339 Mon Sep 17 00:00:00 2001 From: Edjunior Machado Date: Fri, 9 Apr 2021 18:04:11 +0200 Subject: [PATCH 02/24] Introduce CI gating --- .fmf/version | 1 + gating.yaml | 19 +++++ plans/ci.fmf | 6 ++ tests/Regression/upstream-testsuite/Makefile | 63 +++++++++++++++ tests/Regression/upstream-testsuite/PURPOSE | 3 + tests/Regression/upstream-testsuite/main.fmf | 19 +++++ .../Regression/upstream-testsuite/runtest.sh | 77 +++++++++++++++++++ 7 files changed, 188 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/ci.fmf create mode 100644 tests/Regression/upstream-testsuite/Makefile create mode 100644 tests/Regression/upstream-testsuite/PURPOSE create mode 100644 tests/Regression/upstream-testsuite/main.fmf create mode 100755 tests/Regression/upstream-testsuite/runtest.sh diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..ce3cdc1 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,19 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} diff --git a/plans/ci.fmf b/plans/ci.fmf new file mode 100644 index 0000000..1ad2c12 --- /dev/null +++ b/plans/ci.fmf @@ -0,0 +1,6 @@ +summary: CI Gating Plan +discover: + how: fmf + directory: tests +execute: + how: beakerlib diff --git a/tests/Regression/upstream-testsuite/Makefile b/tests/Regression/upstream-testsuite/Makefile new file mode 100644 index 0000000..3c290f1 --- /dev/null +++ b/tests/Regression/upstream-testsuite/Makefile @@ -0,0 +1,63 @@ +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Makefile of /tools/byacc/Regression/upstream-testsuite +# Description: Runs the upstream byacc testsuite. +# Author: Arjun Shankar +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2016 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +export TEST=/tools/byacc/Regression/upstream-testsuite +export TESTVERSION=1.0 + +BUILT_FILES= + +FILES=$(METADATA) runtest.sh Makefile PURPOSE + +.PHONY: all install download clean + +run: $(FILES) build + ./runtest.sh + +build: $(BUILT_FILES) + test -x runtest.sh || chmod a+x runtest.sh + +clean: + rm -f *~ $(BUILT_FILES) + + +include /usr/share/rhts/lib/rhts-make.include + +$(METADATA): Makefile + @echo "Owner: Arjun Shankar " > $(METADATA) + @echo "Name: $(TEST)" >> $(METADATA) + @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) + @echo "Path: $(TEST_DIR)" >> $(METADATA) + @echo "Description: Runs the upstream byacc testsuite." >> $(METADATA) + @echo "Type: Regression" >> $(METADATA) + @echo "TestTime: 30m" >> $(METADATA) + @echo "RunFor: byacc" >> $(METADATA) + @echo "Requires: byacc gcc glibc-devel glibc-headers make sed rpm-build yum-utils" >> $(METADATA) + @echo "Priority: Normal" >> $(METADATA) + @echo "License: GPLv2+" >> $(METADATA) + @echo "Confidential: no" >> $(METADATA) + @echo "Destructive: no" >> $(METADATA) + @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA) + + rhts-lint $(METADATA) diff --git a/tests/Regression/upstream-testsuite/PURPOSE b/tests/Regression/upstream-testsuite/PURPOSE new file mode 100644 index 0000000..646563d --- /dev/null +++ b/tests/Regression/upstream-testsuite/PURPOSE @@ -0,0 +1,3 @@ +PURPOSE of /tools/byacc/Regression/upstream-testsuite +Description: Runs the upstream byacc testsuite. +Author: Arjun Shankar diff --git a/tests/Regression/upstream-testsuite/main.fmf b/tests/Regression/upstream-testsuite/main.fmf new file mode 100644 index 0000000..fae3d3c --- /dev/null +++ b/tests/Regression/upstream-testsuite/main.fmf @@ -0,0 +1,19 @@ +summary: Runs the upstream byacc testsuite. +description: '' +contact: Arjun Shankar +component: +- byacc +test: ./runtest.sh +framework: beakerlib +recommend: +- byacc +- gcc +- glibc-devel +- glibc-headers +- make +- sed +- rpm-build +- yum-utils +duration: 30m +extra-summary: /tools/byacc/Regression/upstream-testsuite +extra-task: /tools/byacc/Regression/upstream-testsuite diff --git a/tests/Regression/upstream-testsuite/runtest.sh b/tests/Regression/upstream-testsuite/runtest.sh new file mode 100755 index 0000000..810849d --- /dev/null +++ b/tests/Regression/upstream-testsuite/runtest.sh @@ -0,0 +1,77 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /tools/byacc/Regression/upstream-testsuite +# Description: Runs the upstream byacc testsuite. +# Author: Arjun Shankar +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2016 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +PACKAGE="byacc" +REQUIRES="byacc gcc glibc-devel make sed rpm-build" +MY_USER="byacctestuser" +DOTEST=$(mktemp) + +cat > $DOTEST <<-EOF +#!/bin/bash +set -xe +_BASEDIR=\$1 +_TMP=\$(mktemp -d) +rpm --define="_topdir \$_TMP" -Uvh \$_BASEDIR/byacc*.src.rpm +rpmbuild --define="_topdir \$_TMP" -bc \$_TMP/SPECS/byacc.spec +pushd \$_TMP/BUILD/byacc-* +# In case the test fails, the existcode of make check is non-zero. +# In such case this script fails too because of set -e above. +make check +popd +set -xe +EOF + +rlJournalStart + rlPhaseStartSetup + rlRun "useradd $MY_USER" 0,9 + rlRun "chown $MY_USER:$MY_USER $DOTEST" + rlAssertRpm --all + rlRun "TMP=\$(mktemp -d)" + rlRun "chmod a+rx $TMP" + rlRun "pushd $TMP" + if rlIsRHEL; then + rlFetchSrcForInstalled $PACKAGE + else + yumdownloader --source $PACKAGE + fi + rlRun "chmod a+r byacc*.src.rpm" + rlPhaseEnd + + rlPhaseStartTest + rlRun "su - $MY_USER -c 'bash $DOTEST $(pwd)'" + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "popd" + rlRun "rm -rf $TMP $DOTEST" + rlRun "userdel -f $MY_USER" + rlPhaseEnd +rlJournalPrintText +rlJournalEnd From b271c607c67496ae4ab6dfc5f5e4aa63b6b190c1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 14:02:45 +0000 Subject: [PATCH 03/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 8c022fb172b06c04fa1990c26ed825a97735f0cd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 19:00:08 +0000 Subject: [PATCH 04/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- byacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/byacc.spec b/byacc.spec index dddfa92..a15c61b 100644 --- a/byacc.spec +++ b/byacc.spec @@ -3,7 +3,7 @@ Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 1%{?dist} +Release: 2%{?dist} License: Public Domain URL: http://invisible-island.net/byacc/byacc.html Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz @@ -51,6 +51,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 2.0.20210328-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Mon Apr 12 2021 Arjun Shankar - 2.0-20210328-1 - Rebase to byacc-2.0-20210328 (#1943961) From b120829b40fae67efacc617c42029ce228de75fe Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Mon, 30 Aug 2021 18:24:58 +0200 Subject: [PATCH 05/24] Rebase to byacc-2.0-20210808 (#1962986) --- byacc.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/byacc.spec b/byacc.spec index a15c61b..e00c7ce 100644 --- a/byacc.spec +++ b/byacc.spec @@ -1,9 +1,9 @@ -%define byaccdate 20210328 +%define byaccdate 20210808 Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 2%{?dist} +Release: 1%{?dist} License: Public Domain URL: http://invisible-island.net/byacc/byacc.html Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz @@ -51,6 +51,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Mon Aug 30 2021 Arjun Shankar - 2.0-20210808-1 +- Rebase to byacc-2.0-20210808 (#1962986) + * Wed Jul 21 2021 Fedora Release Engineering - 2.0.20210328-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index cd42337..9d581c4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (byacc-20210328.tgz) = fdcf98976524c1f37710cf9551a357ebc24ece94dd2bd10501d4fafb914a7ab4847926b99647e387f22a3d3206e6a4bfc14a4c41115702382fcc1d6f688f9dae +SHA512 (byacc-20210808.tgz) = cde092dbd845364752aca228a838b97fc34378c7dd7f860c614d13c8ec7167b8416422ded82864d22e8c3c447b47b30abca591ef8ab667c49f9fa070d68114c4 From 9d810272a8465d8f2160327bfe8f9f70733a923d Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Mon, 13 Dec 2021 21:15:48 +0100 Subject: [PATCH 06/24] Rebuild to re-test and resolve gating failure --- byacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/byacc.spec b/byacc.spec index e00c7ce..3e904c0 100644 --- a/byacc.spec +++ b/byacc.spec @@ -3,7 +3,7 @@ Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 1%{?dist} +Release: 2%{?dist} License: Public Domain URL: http://invisible-island.net/byacc/byacc.html Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz @@ -51,6 +51,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Mon Dec 13 2021 Arjun Shankar - 2.0-20210808-2 +- Rebuild (#1962986) + * Mon Aug 30 2021 Arjun Shankar - 2.0-20210808-1 - Rebase to byacc-2.0-20210808 (#1962986) From 961e0e4ad3ae164a6b722433c2cbb818c2074de9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 22:44:00 +0000 Subject: [PATCH 07/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- byacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/byacc.spec b/byacc.spec index 3e904c0..c4996c9 100644 --- a/byacc.spec +++ b/byacc.spec @@ -3,7 +3,7 @@ Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 2%{?dist} +Release: 3%{?dist} License: Public Domain URL: http://invisible-island.net/byacc/byacc.html Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz @@ -51,6 +51,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 2.0.20210808-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Dec 13 2021 Arjun Shankar - 2.0-20210808-2 - Rebuild (#1962986) From 35c232b7cf4de5df48fa58bf8b5fbdbc25b816c1 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Tue, 15 Feb 2022 15:21:14 +0100 Subject: [PATCH 08/24] Rebase to byacc-2.0-20220128 (#2035590) --- byacc.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/byacc.spec b/byacc.spec index c4996c9..0aad5c0 100644 --- a/byacc.spec +++ b/byacc.spec @@ -1,9 +1,9 @@ -%define byaccdate 20210808 +%define byaccdate 20220128 Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 3%{?dist} +Release: 1%{?dist} License: Public Domain URL: http://invisible-island.net/byacc/byacc.html Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz @@ -51,6 +51,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Tue Feb 15 2022 Arjun Shankar - 2.0-20220128-1 +- Rebase to byacc-2.0-20220128 (#2035590) + * Wed Jan 19 2022 Fedora Release Engineering - 2.0.20210808-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 9d581c4..7f6e1ae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (byacc-20210808.tgz) = cde092dbd845364752aca228a838b97fc34378c7dd7f860c614d13c8ec7167b8416422ded82864d22e8c3c447b47b30abca591ef8ab667c49f9fa070d68114c4 +SHA512 (byacc-20220128.tgz) = e8ae4c56f5be4cc0ef1d281c43f02c6296fdc40f630269f2a61af511f270ae059ad185b9718190b8133018f7b74b7ca6f84ced5d63a359960b52ea2a3ef562ea From 0989175bb0073dd23e6079290044ddbf8c3bf3e7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 22:24:38 +0000 Subject: [PATCH 09/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- byacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/byacc.spec b/byacc.spec index 0aad5c0..72e66cd 100644 --- a/byacc.spec +++ b/byacc.spec @@ -3,7 +3,7 @@ Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 1%{?dist} +Release: 2%{?dist} License: Public Domain URL: http://invisible-island.net/byacc/byacc.html Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz @@ -51,6 +51,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 2.0.20220128-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Tue Feb 15 2022 Arjun Shankar - 2.0-20220128-1 - Rebase to byacc-2.0-20220128 (#2035590) From 6cd43500902d912b61c7fcdfbaa0dbaf98c14ca3 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Tue, 29 Nov 2022 15:36:23 +0100 Subject: [PATCH 10/24] Rebase to byacc-2.0-20221106 (#2141488) --- byacc.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/byacc.spec b/byacc.spec index 72e66cd..179c003 100644 --- a/byacc.spec +++ b/byacc.spec @@ -1,9 +1,9 @@ -%define byaccdate 20220128 +%define byaccdate 20221106 Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 2%{?dist} +Release: 1%{?dist} License: Public Domain URL: http://invisible-island.net/byacc/byacc.html Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz @@ -51,6 +51,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Tue Nov 29 2022 Arjun Shankar - 2.0.20221106-1 +- Rebase to byacc-2.0-20221106 (#2141488) + * Wed Jul 20 2022 Fedora Release Engineering - 2.0.20220128-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 7f6e1ae..4777665 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (byacc-20220128.tgz) = e8ae4c56f5be4cc0ef1d281c43f02c6296fdc40f630269f2a61af511f270ae059ad185b9718190b8133018f7b74b7ca6f84ced5d63a359960b52ea2a3ef562ea +SHA512 (byacc-20221106.tgz) = 866933b4eb2296565ce70b4ade565e4679f3b652715f0066072bbcc42b95389fa47a2f96cd03de577807dcc49bf453b1d4f7e22b96c80fef1aa66898d3de5d5c From 42de208631a96dbb1602cf62c66c7d752ed91099 Mon Sep 17 00:00:00 2001 From: Edjunior Machado Date: Fri, 9 Dec 2022 17:13:13 +0100 Subject: [PATCH 11/24] tests: Fix fmf plan deprecated attributes --- plans/ci.fmf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plans/ci.fmf b/plans/ci.fmf index 1ad2c12..3fd3ab7 100644 --- a/plans/ci.fmf +++ b/plans/ci.fmf @@ -1,6 +1,5 @@ summary: CI Gating Plan discover: how: fmf - directory: tests execute: - how: beakerlib + how: tmt From 762fe5e625c73598896f2be3092a6826a6cb45e5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 23:19:36 +0000 Subject: [PATCH 12/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- byacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/byacc.spec b/byacc.spec index 179c003..2907863 100644 --- a/byacc.spec +++ b/byacc.spec @@ -3,7 +3,7 @@ Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 1%{?dist} +Release: 2%{?dist} License: Public Domain URL: http://invisible-island.net/byacc/byacc.html Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz @@ -51,6 +51,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 2.0.20221106-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Nov 29 2022 Arjun Shankar - 2.0.20221106-1 - Rebase to byacc-2.0-20221106 (#2141488) From c9a03a13b3be77591bf114f02d5faf638502885a Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Thu, 23 Feb 2023 12:55:28 +0100 Subject: [PATCH 13/24] Rebase to byacc-2.0.20230219 (#2156901) --- byacc.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/byacc.spec b/byacc.spec index 2907863..9c1f4d3 100644 --- a/byacc.spec +++ b/byacc.spec @@ -1,9 +1,9 @@ -%define byaccdate 20221106 +%define byaccdate 20230219 Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 2%{?dist} +Release: 1%{?dist} License: Public Domain URL: http://invisible-island.net/byacc/byacc.html Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz @@ -51,6 +51,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Thu Feb 23 2023 Arjun Shankar - 2.0.20230219-1 +- Rebase to byacc-2.0.20230219 (#2156901) + * Wed Jan 18 2023 Fedora Release Engineering - 2.0.20221106-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 4777665..d2e5648 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (byacc-20221106.tgz) = 866933b4eb2296565ce70b4ade565e4679f3b652715f0066072bbcc42b95389fa47a2f96cd03de577807dcc49bf453b1d4f7e22b96c80fef1aa66898d3de5d5c +SHA512 (byacc-20230219.tgz) = 55fb9abc82afffb68a2167eb3f6211b1c2c91dda4f3b6004c01c46b2022bbec4ed8f793cfb86094eaa66decbd40d9e6f06af5b0da9d72f30ca0676aa38eb2d5e From f625dfc39660b4dd33c730662af024517482eb90 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Thu, 29 Jun 2023 15:27:56 +0200 Subject: [PATCH 14/24] Rebase to byacc-2.0.20230521 (#2208910) --- byacc.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/byacc.spec b/byacc.spec index 9c1f4d3..f4c808b 100644 --- a/byacc.spec +++ b/byacc.spec @@ -1,4 +1,4 @@ -%define byaccdate 20230219 +%define byaccdate 20230521 Summary: Berkeley Yacc, a parser generator Name: byacc @@ -51,6 +51,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Thu Jun 29 2023 Arjun Shankar - 2.0.20230521-1 +- Rebase to byacc-2.0.20230521 (#2208910) + * Thu Feb 23 2023 Arjun Shankar - 2.0.20230219-1 - Rebase to byacc-2.0.20230219 (#2156901) diff --git a/sources b/sources index d2e5648..87e9838 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (byacc-20230219.tgz) = 55fb9abc82afffb68a2167eb3f6211b1c2c91dda4f3b6004c01c46b2022bbec4ed8f793cfb86094eaa66decbd40d9e6f06af5b0da9d72f30ca0676aa38eb2d5e +SHA512 (byacc-20230521.tgz) = 9437806510f49a785ab7d4685c56708cd0053d242f1491e9c40af36112d6c6c471e579a75da75980a0356c1c9f319afbb8cc01139d6823511d285e0dd413d9c4 From dd98084648da62af1fe0c7915831e363cb3b8b44 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Thu, 26 Oct 2023 18:35:33 +0200 Subject: [PATCH 15/24] Migrate License field to SPDX identifiers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2 Reviewed-by: Frédéric Bérat --- byacc.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/byacc.spec b/byacc.spec index f4c808b..90feb89 100644 --- a/byacc.spec +++ b/byacc.spec @@ -3,8 +3,16 @@ Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 1%{?dist} -License: Public Domain +Release: 2%{?dist} + +# An SPDX license string check done against byacc-20230521 using fossology +# found strings corresponding to the licenses noted below across the byacc +# source tree. byacc is in the public domain, and the "public domain +# declaration" was documented in fedora-license-data as per Fedora policy +# via the following commit: +# https://gitlab.com/fedora/legal/fedora-license-data/-/commit/04ec53689413bb +License: LicenseRef-Fedora-Public-Domain AND GPL-3.0-or-later WITH Autoconf-exception-generic-3.0 AND X11 AND X11-distribute-modifications-variant AND FSFUL + URL: http://invisible-island.net/byacc/byacc.html Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz @@ -51,6 +59,12 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Thu Oct 26 2023 Arjun Shankar - 2.0.20230521-2 +- Analyse byacc sources for license information +- Migrate License field to SPDX identifiers for + https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2 + (#2222081) + * Thu Jun 29 2023 Arjun Shankar - 2.0.20230521-1 - Rebase to byacc-2.0.20230521 (#2208910) From 08f53ed8b926b754e723059135daab369c460991 Mon Sep 17 00:00:00 2001 From: Edjunior Machado Date: Wed, 8 Nov 2023 11:11:00 +0100 Subject: [PATCH 16/24] tests: Fix pushd on upstream-testsuite build script --- tests/Regression/upstream-testsuite/runtest.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/Regression/upstream-testsuite/runtest.sh b/tests/Regression/upstream-testsuite/runtest.sh index 810849d..421687b 100755 --- a/tests/Regression/upstream-testsuite/runtest.sh +++ b/tests/Regression/upstream-testsuite/runtest.sh @@ -40,7 +40,7 @@ _BASEDIR=\$1 _TMP=\$(mktemp -d) rpm --define="_topdir \$_TMP" -Uvh \$_BASEDIR/byacc*.src.rpm rpmbuild --define="_topdir \$_TMP" -bc \$_TMP/SPECS/byacc.spec -pushd \$_TMP/BUILD/byacc-* +pushd \$(find \$_TMP/BUILD/ -name yacc -type f -exec dirname {} \;) # In case the test fails, the existcode of make check is non-zero. # In such case this script fails too because of set -e above. make check @@ -56,11 +56,7 @@ rlJournalStart rlRun "TMP=\$(mktemp -d)" rlRun "chmod a+rx $TMP" rlRun "pushd $TMP" - if rlIsRHEL; then - rlFetchSrcForInstalled $PACKAGE - else - yumdownloader --source $PACKAGE - fi + rlFetchSrcForInstalled $PACKAGE rlRun "chmod a+r byacc*.src.rpm" rlPhaseEnd From 1c5566002d24356ba7df40df092eccf0de629a9a Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Wed, 8 Nov 2023 13:05:06 +0100 Subject: [PATCH 17/24] Rebuilt to re-trigger automated bodhi (Fedora Updates System) tests --- byacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/byacc.spec b/byacc.spec index 90feb89..3467014 100644 --- a/byacc.spec +++ b/byacc.spec @@ -3,7 +3,7 @@ Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 2%{?dist} +Release: 3%{?dist} # An SPDX license string check done against byacc-20230521 using fossology # found strings corresponding to the licenses noted below across the byacc @@ -59,6 +59,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Wed Nov 08 2023 Arjun Shankar - 2.0.20230521-3 +- Rebuilt to re-trigger automated bodhi (Fedora Updates System) tests + * Thu Oct 26 2023 Arjun Shankar - 2.0.20230521-2 - Analyse byacc sources for license information - Migrate License field to SPDX identifiers for From c93ab2790852bd729a6b51a6f38fe6546d2c6ae7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 14:51:57 +0000 Subject: [PATCH 18/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- byacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/byacc.spec b/byacc.spec index 3467014..8331ded 100644 --- a/byacc.spec +++ b/byacc.spec @@ -3,7 +3,7 @@ Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 3%{?dist} +Release: 4%{?dist} # An SPDX license string check done against byacc-20230521 using fossology # found strings corresponding to the licenses noted below across the byacc @@ -59,6 +59,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 2.0.20230521-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Wed Nov 08 2023 Arjun Shankar - 2.0.20230521-3 - Rebuilt to re-trigger automated bodhi (Fedora Updates System) tests From 4fe2be8d06fec8517b937d3d3f0544a12bc6f422 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 23 Jan 2024 00:59:58 +0000 Subject: [PATCH 19/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- byacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/byacc.spec b/byacc.spec index 8331ded..3df6b48 100644 --- a/byacc.spec +++ b/byacc.spec @@ -3,7 +3,7 @@ Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 4%{?dist} +Release: 5%{?dist} # An SPDX license string check done against byacc-20230521 using fossology # found strings corresponding to the licenses noted below across the byacc @@ -59,6 +59,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Tue Jan 23 2024 Fedora Release Engineering - 2.0.20230521-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 2.0.20230521-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From d4f84b2edfdbc0e82c7f6864e25290287aec1685 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Fri, 1 Mar 2024 12:30:24 +0100 Subject: [PATCH 20/24] Rebase to byacc-2.0.20240109 (#2257541) --- byacc.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/byacc.spec b/byacc.spec index 3df6b48..0ce331d 100644 --- a/byacc.spec +++ b/byacc.spec @@ -1,9 +1,9 @@ -%define byaccdate 20230521 +%define byaccdate 20240109 Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 5%{?dist} +Release: 1%{?dist} # An SPDX license string check done against byacc-20230521 using fossology # found strings corresponding to the licenses noted below across the byacc @@ -59,6 +59,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Fri Mar 01 2024 Arjun Shankar - 2.0.20240109-1 +- Rebase to byacc-2.0.20240109 (#2257541) + * Tue Jan 23 2024 Fedora Release Engineering - 2.0.20230521-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 87e9838..fd61084 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (byacc-20230521.tgz) = 9437806510f49a785ab7d4685c56708cd0053d242f1491e9c40af36112d6c6c471e579a75da75980a0356c1c9f319afbb8cc01139d6823511d285e0dd413d9c4 +SHA512 (byacc-20240109.tgz) = d1c50ede256a6c960243a16f4bfcafb5c78c19c82f10c567443b59a3ccacdcde37d09da491e22e0601b1b7864ba3f16068ca2eaf7c250d0bcb26449b735cb5b5 From 094048bef727842972a11f0d7f819f644c80c114 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 18:45:59 +0000 Subject: [PATCH 21/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- byacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/byacc.spec b/byacc.spec index 0ce331d..99f5985 100644 --- a/byacc.spec +++ b/byacc.spec @@ -3,7 +3,7 @@ Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 1%{?dist} +Release: 2%{?dist} # An SPDX license string check done against byacc-20230521 using fossology # found strings corresponding to the licenses noted below across the byacc @@ -59,6 +59,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 2.0.20240109-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Mar 01 2024 Arjun Shankar - 2.0.20240109-1 - Rebase to byacc-2.0.20240109 (#2257541) From f46f692488aca630daa8df2d635ef02d33033ef6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 13:05:15 +0000 Subject: [PATCH 22/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- byacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/byacc.spec b/byacc.spec index 99f5985..2e820e4 100644 --- a/byacc.spec +++ b/byacc.spec @@ -3,7 +3,7 @@ Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 2%{?dist} +Release: 3%{?dist} # An SPDX license string check done against byacc-20230521 using fossology # found strings corresponding to the licenses noted below across the byacc @@ -59,6 +59,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 2.0.20240109-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Jul 17 2024 Fedora Release Engineering - 2.0.20240109-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From a69b4dca78c69a4756a9fec3edc5d55f929e16a4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 17:59:11 +0000 Subject: [PATCH 23/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- byacc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/byacc.spec b/byacc.spec index 2e820e4..17850c8 100644 --- a/byacc.spec +++ b/byacc.spec @@ -3,7 +3,7 @@ Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 3%{?dist} +Release: 4%{?dist} # An SPDX license string check done against byacc-20230521 using fossology # found strings corresponding to the licenses noted below across the byacc @@ -59,6 +59,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 2.0.20240109-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Jan 16 2025 Fedora Release Engineering - 2.0.20240109-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 2f8a39f3a357f48b4c3c5d51464bbc7320a1dd49 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Tue, 16 Sep 2025 16:38:15 +0200 Subject: [PATCH 24/24] Rebase to byacc-2.0.20241231 (#2335136) --- byacc.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/byacc.spec b/byacc.spec index 17850c8..64da894 100644 --- a/byacc.spec +++ b/byacc.spec @@ -1,9 +1,9 @@ -%define byaccdate 20240109 +%define byaccdate 20241231 Summary: Berkeley Yacc, a parser generator Name: byacc Version: 2.0.%{byaccdate} -Release: 4%{?dist} +Release: 1%{?dist} # An SPDX license string check done against byacc-20230521 using fossology # found strings corresponding to the licenses noted below across the byacc @@ -59,6 +59,9 @@ echo ====================TESTING END===================== %{_mandir}/man1/byacc.1* %changelog +* Tue Sep 16 2025 Arjun Shankar - 2.0.20241231-1 +- Rebase to byacc-2.0.20241231 (#2335136) + * Wed Jul 23 2025 Fedora Release Engineering - 2.0.20240109-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/sources b/sources index fd61084..d745357 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (byacc-20240109.tgz) = d1c50ede256a6c960243a16f4bfcafb5c78c19c82f10c567443b59a3ccacdcde37d09da491e22e0601b1b7864ba3f16068ca2eaf7c250d0bcb26449b735cb5b5 +SHA512 (byacc-20241231.tgz) = e4a9f50f1c9024bec697d2956f5fb431bef15a644a714adba8fa8fb2a5abd7aea6efb5d1b3fe5e775ec8cf6dae834da5533251fc77fb5c3f4e5b52ba60216498