From 68cde91d83a183b79bf76f8b2c91f68311e7f73a Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 6 Jan 2025 07:54:26 +0300 Subject: [PATCH] import perl-Encode-Detect-1.01-48.el10 --- .perl-Encode-Detect.metadata | 2 +- SPECS/perl-Encode-Detect.spec | 72 ++++++++++++++++++++++++++--------- 2 files changed, 55 insertions(+), 19 deletions(-) diff --git a/.perl-Encode-Detect.metadata b/.perl-Encode-Detect.metadata index c43a65f..e715d75 100644 --- a/.perl-Encode-Detect.metadata +++ b/.perl-Encode-Detect.metadata @@ -1 +1 @@ -c2285d5b0678ceeb93508ee09d30386a59053c08 SOURCES/Encode-Detect-1.01.tar.gz +c2285d5b0678ceeb93508ee09d30386a59053c08 SOURCES/Encode-Detect-1.01.tar.gz diff --git a/SPECS/perl-Encode-Detect.spec b/SPECS/perl-Encode-Detect.spec index a457e0f..e89ccd5 100644 --- a/SPECS/perl-Encode-Detect.spec +++ b/SPECS/perl-Encode-Detect.spec @@ -1,19 +1,27 @@ Name: perl-Encode-Detect Version: 1.01 -Release: 37%{?dist} +Release: 48%{?dist} Summary: Encode::Encoding subclass that detects the encoding of data -License: MPLv1.1 or GPLv2+ or LGPLv2+ +License: MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.0-or-later URL: https://metacpan.org/release/Encode-Detect Source0: https://cpan.metacpan.org/authors/id/J/JG/JGMYERS/Encode-Detect-%{version}.tar.gz +BuildRequires: coreutils BuildRequires: perl-devel BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(Module::Build) +# Run-time +BuildRequires: perl(base) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Encode) +BuildRequires: perl(Encode::Encoding) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Requires: perl(Encode::Encoding) %description This Perl module is an Encode::Encoding subclass that uses @@ -22,13 +30,6 @@ decodes it using the encoder of the detected charset. %prep %setup -q -n Encode-Detect-%{version} -cat <%{name}-req -#!/bin/sh -%{__perl_requires} $* |\ - sed -e '/perl(base)/d' -EOF -%define __perl_requires %{_builddir}/Encode-Detect-%{version}/%{name}-req -%{__chmod} +x %{__perl_requires} %build %{__perl} Build.PL installdirs=vendor optimize="${RPM_OPT_FLAGS}" @@ -39,8 +40,7 @@ EOF %install ./Build install destdir="${RPM_BUILD_ROOT}" create_packlist=0 -find "${RPM_BUILD_ROOT}" -type f -name "*.bs" -size 0 -exec %{__rm} -f {} \; -find "${RPM_BUILD_ROOT}" -depth -type d -exec rmdir {} 2>/dev/null \; +find "${RPM_BUILD_ROOT}" -type f -name "*.bs" -empty -delete %{_fixperms} "${RPM_BUILD_ROOT}"/* %files @@ -51,12 +51,48 @@ find "${RPM_BUILD_ROOT}" -depth -type d -exec rmdir {} 2>/dev/null \; %{_mandir}/man3/Encode::Detect::Detector.3* %changelog -* Mon Aug 09 2021 Mohan Boddu - 1.01-37 -- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Related: rhbz#1991688 +* Mon Jan 06 2025 Arkady L. Shane - 1.01-48 +- Rebuilt for MSVSphere 10 -* Fri Apr 16 2021 Mohan Boddu - 1.01-36 -- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 +* Fri Jul 19 2024 Fedora Release Engineering - 1.01-48 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jun 10 2024 Jitka Plesnikova - 1.01-47 +- Perl 5.40 rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 1.01-46 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 1.01-45 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jul 20 2023 Fedora Release Engineering - 1.01-44 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jul 11 2023 Jitka Plesnikova - 1.01-43 +- Perl 5.38 rebuild + +* Wed Jun 07 2023 Michal Josef Špaček - 1.01-42 +- Update license to SPDX format +- Modernize spec + +* Fri Jan 20 2023 Fedora Release Engineering - 1.01-41 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 1.01-40 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue May 31 2022 Jitka Plesnikova - 1.01-39 +- Perl 5.36 rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 1.01-38 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.01-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 1.01-36 +- Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.01-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild