Compare commits

...

No commits in common. "c10s" and "c8s" have entirely different histories.
c10s ... c8s

6 changed files with 45 additions and 85 deletions

3
.gitignore vendored
View File

@ -1,3 +1,2 @@
Parse-Yapp-1.05.tar.gz SOURCES/Parse-Yapp-1.21.tar.gz
/Parse-Yapp-1.2.tar.gz
/Parse-Yapp-1.21.tar.gz /Parse-Yapp-1.21.tar.gz

View File

@ -1,19 +1,7 @@
# Fedora
--- !Policy
id: fedora_policy
product_versions:
- fedora-*
decision_contexts:
- bodhi_update_push_testing
- bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
# RHEL
--- !Policy --- !Policy
product_versions: product_versions:
- rhel-* - rhel-8
decision_context: osci_compose_gate decision_context: osci_compose_gate
rules: rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View File

@ -3,11 +3,12 @@
Name: perl-Parse-Yapp Name: perl-Parse-Yapp
# Keep 2-digit version for history # Keep 2-digit version for history
Version: %{cpan_version} Version: %{cpan_version}
Release: 21%{?dist} Release: 3%{?dist}
Summary: Perl extension for generating and using LALR parsers Summary: Perl extension for generating and using LALR parsers
License: GPL-1.0-or-later OR Artistic-1.0-Perl Group: Development/Libraries
URL: https://metacpan.org/release/Parse-Yapp License: GPL+ or Artistic
Source0: https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-%{cpan_version}.tar.gz URL: http://search.cpan.org/dist/Parse-Yapp/
Source0: http://www.cpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-%{cpan_version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: make BuildRequires: make
@ -19,6 +20,7 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(vars) BuildRequires: perl(vars)
Requires: perl-libs
%description %description
Parse::Yapp (Yet Another Perl Parser compiler) is a collection of modules that Parse::Yapp (Yet Another Perl Parser compiler) is a collection of modules that
@ -46,11 +48,11 @@ for F in t/*.t; do
done done
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%{make_build} make %{?_smp_mflags}
%install %install
%{make_install} make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
# Install tests # Install tests
@ -76,63 +78,9 @@ make test
%{_libexecdir}/%{name} %{_libexecdir}/%{name}
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.21-21 * Wed Jul 19 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-3
- Bump release for October 2024 mass rebuild: - Replace versioned MODULE_COMPAT by non-versioned perl-libs
Resolves: RHEL-64018 - Resolves: rhbz#2219504
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.21-20
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-17
- Package tests
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-14
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-11
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-8
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-6
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-3
- Perl 5.28 rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-2 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

9
tests/bz_2219504-check.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
OUTPUT=`rpm -qR perl-Parse-Yapp`
if ! echo "$OUTPUT" | grep -q "MODULE_COMPAT_"; then
exit 0
else
exit 1
fi

17
tests/bz_2219504.fmf Normal file
View File

@ -0,0 +1,17 @@
summary: Test for BZ 2219504
component:
- perl-Parse-Yapp
require:
- bash
- perl-Parse-Yapp
test: ./bz_2219504-check.sh
enabled: false
adjust:
- when: distro == centos-stream-8 or distro == rhel-8
enabled: true
tag:
- TestCaseCopy
- Tier1
tier: '1'
extra-nitrate: TC#0615608
id: 2b1bd777-55b6-450d-ba0a-ada64b948d5a

View File

@ -2,10 +2,9 @@ summary: Upstream tests
component: perl-Parse-Yapp component: perl-Parse-Yapp
require: perl-Parse-Yapp-tests require: perl-Parse-Yapp-tests
test: /usr/libexec/perl-Parse-Yapp/test test: /usr/libexec/perl-Parse-Yapp/test
enabled: true
tag: tag:
- Tier1
- rhel-buildroot - rhel-buildroot
adjust: tier: '1'
- enabled: false extra-nitrate: TC#0615609
when: distro < rhel-10 or distro < centos-stream-10 id: 126682dc-42cf-4b34-a226-20e29d77667c
continue: false