Compare commits

...

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

8 changed files with 170 additions and 15 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

42
.gitignore vendored
View File

@ -1,2 +1,42 @@
SOURCES/Locale-Codes-3.57.tar.gz
/Locale-Codes-3.17.tar.gz
/Locale-Codes-3.18.tar.gz
/Locale-Codes-3.20.tar.gz
/Locale-Codes-3.21.tar.gz
/Locale-Codes-3.22.tar.gz
/Locale-Codes-3.23.tar.gz
/Locale-Codes-3.24.tar.gz
/Locale-Codes-3.25.tar.gz
/Locale-Codes-3.26.tar.gz
/Locale-Codes-3.27.tar.gz
/Locale-Codes-3.28.tar.gz
/Locale-Codes-3.29.tar.gz
/Locale-Codes-3.30.tar.gz
/Locale-Codes-3.31.tar.gz
/Locale-Codes-3.32.tar.gz
/Locale-Codes-3.33.tar.gz
/Locale-Codes-3.34.tar.gz
/Locale-Codes-3.35.tar.gz
/Locale-Codes-3.36.tar.gz
/Locale-Codes-3.37.tar.gz
/Locale-Codes-3.38.tar.gz
/Locale-Codes-3.39.tar.gz
/Locale-Codes-3.40.tar.gz
/Locale-Codes-3.41.tar.gz
/Locale-Codes-3.42.tar.gz
/Locale-Codes-3.50.tar.gz
/Locale-Codes-3.51.tar.gz
/Locale-Codes-3.52.tar.gz
/Locale-Codes-3.53.tar.gz
/Locale-Codes-3.54.tar.gz
/Locale-Codes-3.55.tar.gz
/Locale-Codes-3.56.tar.gz
/Locale-Codes-3.57.tar.gz
/Locale-Codes-3.58.tar.gz
/Locale-Codes-3.60.tar.gz
/Locale-Codes-3.61.tar.gz
/Locale-Codes-3.62.tar.gz
/Locale-Codes-3.63.tar.gz
/Locale-Codes-3.64.tar.gz
/Locale-Codes-3.65.tar.gz
/Locale-Codes-3.66.tar.gz
/Locale-Codes-3.67.tar.gz

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !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}

View File

@ -0,0 +1,2 @@
from Config import *
addFilter("-tests\.noarch: W: no-documentation");

View File

@ -1,6 +1,6 @@
Name: perl-Locale-Codes
Version: 3.57
Release: 1%{?dist}
Version: 3.67
Release: 3%{?dist}
Summary: Distribution of modules to handle locale codes
License: GPL+ or Artistic
URL: https://metacpan.org/release/Locale-Codes
@ -17,42 +17,67 @@ BuildRequires: perl(warnings)
BuildRequires: perl(:VERSION) >= 5.6
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
# deprecate not used on perl < 5.27.7
BuildRequires: perl(deprecate)
BuildRequires: perl(Exporter)
BuildRequires: perl(if)
BuildRequires: perl(utf8)
# Tests:
BuildRequires: perl(Storable)
BuildRequires: perl(Test::More)
# Optional tests:
# File::Basename not used
# Test::Pod 1.00 not used
# Test::Pod::Coverage 1.00 not used
# Release tests are deleted
BuildRequires: perl(Test::Inter) >= 1.09
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# deprecate not used on perl < 5.27.7
Requires: perl(deprecate)
# Filter dependencies on private modules, they are not provided. Generator:
# for F in $(find lib -type f); do perl -e '$/ = undef; $_ = <>; if (/^package #\R([\w:]*);/m) { print qq{|^perl\\\\($1\\\\)} }' "$F"; done
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Locale::Codes::Country_Retired\\)|^perl\\(Locale::Codes::LangFam_Retired\\)|^perl\\(Locale::Codes::Script_Retired\\)|^perl\\(Locale::Codes::LangExt_Codes\\)|^perl\\(Locale::Codes::LangFam_Codes\\)|^perl\\(Locale::Codes::Script_Codes\\)|^perl\\(Locale::Codes::Language_Codes\\)|^perl\\(Locale::Codes::LangExt_Retired\\)|^perl\\(Locale::Codes::Currency_Codes\\)|^perl\\(Locale::Codes::LangVar_Retired\\)|^perl\\(Locale::Codes::Language_Retired\\)|^perl\\(Locale::Codes::Country_Codes\\)|^perl\\(Locale::Codes::LangVar_Codes\\)|^perl\\(Locale::Codes::Currency_Retired\\)
# Filter dependencies on test subscripts
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(do_tests\\.pl\\)
# Filter underspecified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Test::Inter\\)$
%description
Locale-Codes is a distribution containing a set of modules. The modules
each deal with different types of codes which identify parts of the locale
including languages, countries, currency, etc.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
Requires: perl(Test::Inter) >= 1.09
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep
%setup -q -n Locale-Codes-%{version}
chmod -x examples/*
chmod +x t/*.pl
# Delete release tests
rm t/_*
perl -i -lne 'print $_ unless m{\At/_}' MANIFEST
# Delete unused files
rm t/runtests t/runtests.bat
perl -i -lne 'print $_ unless m{\At/runtests}' MANIFEST
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
%{make_install}
%{_fixperms} %{buildroot}/*
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/usr/bin/sh
cd %{_libexecdir}/%{name} && exec prove -j $(getconf _NPROCESSORS_ONLN)
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
make test
%files
@ -61,7 +86,78 @@ make test
%{perl_vendorlib}/*
%{_mandir}/man3/*
%files tests
%{_libexecdir}/%{name}
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.67-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.67-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Mar 02 2021 Petr Pisar <ppisar@redhat.com> - 3.67-1
- 3.67 bump
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.66-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Dec 01 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.66-1
- 3.66 bump
* Wed Sep 02 2020 Petr Pisar <ppisar@redhat.com> - 3.65-1
- 3.65 bump
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.64-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.64-2
- Perl 5.32 rebuild
* Wed Jun 03 2020 Petr Pisar <ppisar@redhat.com> - 3.64-1
- 3.64 bump
* Wed Mar 04 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.63-1
- 3.63 bump
* Tue Mar 03 2020 Petr Pisar <ppisar@redhat.com> - 3.62-3
- depracate module is used on current perl
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.62-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Aug 30 2019 Petr Pisar <ppisar@redhat.com> - 3.62-1
- 3.62 bump
- Package tests
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.61-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Jun 05 2019 Petr Pisar <ppisar@redhat.com> - 3.61-1
- 3.61 bump
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.60-2
- Perl 5.30 rebuild
* Fri Mar 01 2019 Petr Pisar <ppisar@redhat.com> - 3.60-1
- 3.60 bump
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.59-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Dec 05 2018 Petr Pisar <ppisar@redhat.com> - 3.59-1
- 3.59 bump
* Tue Sep 04 2018 Petr Pisar <ppisar@redhat.com> - 3.58-1
- 3.58 bump
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.57-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.57-2
- Perl 5.28 rebuild
* Mon Jun 04 2018 Petr Pisar <ppisar@redhat.com> - 3.57-1
- 3.57 bump

5
plans/sanity.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Sanity tests
discover:
how: fmf
execute:
how: tmt

View File

@ -1 +1 @@
SHA512 (Locale-Codes-3.57.tar.gz) = cde90bf177d80c15460ae624a266cdc51d8c93ba8cbe2ef99a85cb743525705da8f7106134455ca0eec84f046e1819dc8808bab84623af39cf7bccc92d1d49bf
SHA512 (Locale-Codes-3.67.tar.gz) = aa477c07f5e673c6810e8ba33ba699691525c48d2e5311a93c0222a4ee58afc52d23597450101f822c077d3fb6b762df2bb2276aed76f8391ad9ce38f329a7f8

4
tests/upstream-tests.fmf Normal file
View File

@ -0,0 +1,4 @@
summary: Upstream tests
component: perl-Locale-Codes
require: perl-Locale-Codes-tests
test: /usr/libexec/perl-Locale-Codes/test