From e28845ffd1a15851f008d214e5617fdcc1f6d7f4 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 19 Nov 2023 14:19:45 +0300 Subject: [PATCH] import perl-String-CRC32-2.100-1.el9 --- .gitignore | 2 +- .perl-String-CRC32.metadata | 2 +- SPECS/perl-String-CRC32.spec | 85 ++++++++++++++++++++++++++++-------- 3 files changed, 70 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index ac2cd34..39793a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/String-CRC32-1.6.tar.gz +SOURCES/String-CRC32-2.100.tar.gz diff --git a/.perl-String-CRC32.metadata b/.perl-String-CRC32.metadata index fcc386b..41225ac 100644 --- a/.perl-String-CRC32.metadata +++ b/.perl-String-CRC32.metadata @@ -1 +1 @@ -4394e420754c7f5d5e857e482657182d4ac1e866 SOURCES/String-CRC32-1.6.tar.gz +09a0dafc1bc49f7cc04122a6859eb007e86ec22c SOURCES/String-CRC32-2.100.tar.gz diff --git a/SPECS/perl-String-CRC32.spec b/SPECS/perl-String-CRC32.spec index 5beacbf..9501149 100644 --- a/SPECS/perl-String-CRC32.spec +++ b/SPECS/perl-String-CRC32.spec @@ -1,30 +1,30 @@ Name: perl-String-CRC32 -Version: 1.6 -Release: 4%{?dist} +Version: 2.100 +Release: 1%{?dist} Summary: Perl interface for cyclic redundancy check generation License: Public Domain -URL: http://search.cpan.org/dist/String-CRC32/ -Source0: http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/String-CRC32-%{version}.tar.gz +URL: https://metacpan.org/release/String-CRC32 +Source0: https://cpan.metacpan.org/modules/by-module/String/String-CRC32-%{version}.tar.gz # Module Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Module Runtime -BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) BuildRequires: perl(strict) -BuildRequires: perl(vars) BuildRequires: perl(warnings) +BuildRequires: perl(XSLoader) # Test Suite # (no additional dependencies) # Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# Avoid perl object provides %{?perl_default_filter} %description @@ -42,12 +42,11 @@ differ from those of the programs mentioned above. %setup -q -n String-CRC32-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -delete +%{make_install} find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} -c %{buildroot} @@ -55,17 +54,69 @@ find %{buildroot} -type f -name '*.bs' -empty -delete make test %files -%if 0%{?_licensedir:1} %license LICENSE -%else -%doc LICENSE -%endif -%doc README.md +%doc Changes README.md %{perl_vendorarch}/String/ %{perl_vendorarch}/auto/String/ %{_mandir}/man3/String::CRC32.3* %changelog +* Sun Nov 19 2023 Arkady L. Shane - 2.100-1 +- Rebuilt for MSVSphere 9.2 + +* Thu Feb 4 2021 Paul Howarth - 2.100-1 +- Update to 2.100 + - Declare vars with our instead of use vars (GH#7) + - Quote $VERSION to preserve formatting (GH#6) +- Use %%license unconditionally + +* Wed Jan 27 2021 Fedora Release Engineering - 2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Nov 9 2020 Paul Howarth - 2-1 +- Update to 2 + - Switch to XSLoader rather than DynaLoader (GH#5) + +* Tue Jul 28 2020 Fedora Release Engineering - 1.8-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 1.8-4 +- Perl 5.32 rebuild + +* Thu Feb 06 2020 Tom Stellard - 1.8-3 +- Spec file cleanups: Use make_build and make_install macros, use NO_PACKLIST=1 + - https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make + - https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMaker + +* Thu Jan 30 2020 Fedora Release Engineering - 1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Nov 1 2019 Paul Howarth - 1.8-1 +- Update to 1.8 + - Perldoc tweaks (GH#3) + +* Fri Jul 26 2019 Fedora Release Engineering - 1.7-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 1.7-5 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jul 04 2018 Petr Pisar - 1.7-2 +- Perl 5.28 rebuild + +* Tue Jul 3 2018 Paul Howarth - 1.7-1 +- Update to 1.7 + - Perldoc tweaks (GH#2) + +* Wed Jun 27 2018 Jitka Plesnikova - 1.6-5 +- Perl 5.28 rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 1.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild