|
|
|
@ -1,37 +1,34 @@
|
|
|
|
|
Name: perl-Locale-Codes
|
|
|
|
|
Version: 3.57
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 3.42
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Distribution of modules to handle locale codes
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Locale-Codes
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Locale-Codes-%{version}.tar.gz
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Locale-Codes/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/S/SB/SBECK/Locale-Codes-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
|
|
# Run-time
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
# deprecate not used on perl < 5.27.7
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(if)
|
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
|
# Tests:
|
|
|
|
|
# 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
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
# deprecate not used on perl < 5.27.7
|
|
|
|
|
|
|
|
|
|
# Filter dependencies on private modules, they are not provided. Generator:
|
|
|
|
|
# Filter under-specified provides
|
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Locale::Codes\\)$
|
|
|
|
|
|
|
|
|
|
# Filter dependencies on private modules. 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\\)
|
|
|
|
|
|
|
|
|
@ -45,11 +42,12 @@ including languages, countries, currency, etc.
|
|
|
|
|
chmod -x examples/*
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -62,38 +60,8 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jun 04 2018 Petr Pisar <ppisar@redhat.com> - 3.57-1
|
|
|
|
|
- 3.57 bump
|
|
|
|
|
|
|
|
|
|
* Fri Mar 02 2018 Petr Pisar <ppisar@redhat.com> - 3.56-1
|
|
|
|
|
- 3.56 bump
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.55-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Nov 20 2017 Petr Pisar <ppisar@redhat.com> - 3.55-1
|
|
|
|
|
- 3.55 bump
|
|
|
|
|
|
|
|
|
|
* Mon Sep 04 2017 Petr Pisar <ppisar@redhat.com> - 3.54-1
|
|
|
|
|
- 3.54 bump
|
|
|
|
|
|
|
|
|
|
* Wed Jul 26 2017 Petr Pisar <ppisar@redhat.com> - 3.53-1
|
|
|
|
|
- 3.53 bump
|
|
|
|
|
|
|
|
|
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.52-2
|
|
|
|
|
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Mon Jun 05 2017 Petr Pisar <ppisar@redhat.com> - 3.52-1
|
|
|
|
|
- 3.52 bump
|
|
|
|
|
|
|
|
|
|
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.51-2
|
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Apr 10 2017 Petr Pisar <ppisar@redhat.com> - 3.51-1
|
|
|
|
|
- 3.51 bump
|
|
|
|
|
|
|
|
|
|
* Thu Mar 02 2017 Petr Pisar <ppisar@redhat.com> - 3.50-1
|
|
|
|
|
- 3.50 bump
|
|
|
|
|
* Sun Dec 10 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.42-2
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.42-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|