Name: perl-URL-Encode-XS Version: 0.03 Release: 25%{?dist} Summary: XS implementation of URL::Encode License: GPL+ or Artistic URL: https://metacpan.org/release/URL-Encode-XS Source0: https://cpan.metacpan.org/modules/by-module/URL/URL-Encode-XS-%{version}.tar.gz Patch0: URL-Encode-XS-0.03-Fix-building-on-Perl-without-.-in-INC.patch # Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59 BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Module::Install::ReadmeFromPod) # Module BuildRequires: perl(Exporter) BuildRequires: perl(strict) BuildRequires: perl(XSLoader) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(utf8) # Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Exporter) Requires: perl(XSLoader) %description This package implements the original URL::Encode via XS interface. The main URL::Encode package will use this package automatically if it can find it. Do not use this package directly, use URL::Encode instead. %prep %setup -qn URL-Encode-XS-%{version} # Unbundle inc::Module::Install and friends rm -rf inc/ sed -i -e '/^inc\// d' MANIFEST # Fix build on Perl without "." in @INC, CPAN RT#121686 %patch0 -p1 # Avoid doc-file dependencies chmod -c -x dev/* %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name '*.bs' -empty -delete -print %{_fixperms} -c %{buildroot} %check make test %files %doc Changes dev/ README %{perl_vendorarch}/auto/URL/ %{perl_vendorarch}/URL/ %{_mandir}/man3/URL::Encode::XS.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.03-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.03-24 - Perl 5.36 rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.03-23 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.03-22 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.03-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.03-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.03-19 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.03-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Oct 30 2019 Paul Howarth - 0.03-17 - Spec tidy-up - Use author-independent source URL - Classify buildreqs by usage - Unbundle inc::Module::Install and friends - Simplify find commands using -empty and -delete - Fix permissions verbosely - Make %%files list more explicit * Fri Jul 26 2019 Fedora Release Engineering - 0.03-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.03-15 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.03-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.03-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 0.03-12 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.03-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.03-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.03-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.03-8 - Perl 5.26 rebuild * Mon May 15 2017 Petr Pisar - 0.03-7 - Fix build on Perl without "." in @INC (CPAN RT#121686) * Sat Feb 11 2017 Fedora Release Engineering - 0.03-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.03-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.03-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.03-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.03-2 - Perl 5.22 rebuild * Mon Jan 12 2015 David Dick - 0.03-1 - Initial Package.