Name: perl-IRI Version: 0.011 Release: 14%{?dist} Summary: Internationalized Resource Identifiers License: GPL+ or Artistic URL: https://metacpan.org/release/IRI Source0: https://cpan.metacpan.org/authors/id/G/GW/GWILLIAMS/IRI-%{version}.tar.gz # Simplify Makefile.PL to skip unwanted dependencies Patch0: IRI-0.011-Disable-author-features.patch BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(inc::Module::Install) BuildRequires: perl(lib) BuildRequires: perl(Module::Install::Metadata) BuildRequires: perl(Module::Install::WriteAll) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Data::Dumper) BuildRequires: perl(Moo) BuildRequires: perl(MooX::HandlesVia) BuildRequires: perl(Scalar::Util) # Types::Standard version from Type::Tiny in META.yml BuildRequires: perl(Types::Standard) >= 0.008 # Test: BuildRequires: perl(:VERSION) >= 5.14 BuildRequires: perl(Encode) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Try::Tiny) BuildRequires: perl(URI) BuildRequires: perl(utf8) # Types::Standard version from Type::Tiny in META.yml Requires: perl(Types::Standard) >= 0.008 # Filter underspecified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Test::More|Types::Standard)\\)$ %description The IRI module provides an object representation for Internationalized Resource Identifiers (IRIs) as defined by RFC 3987 and supports their parsing, serializing, and base resolution. %package tests Summary: Tests for %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness Requires: perl(Test::More) >= 0.88 %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n IRI-%{version} %patch0 -p1 # Remove bundled modules rm -rf inc/* perl -i -ne 'print $_ unless m{^inc/}' MANIFEST # Correct permissions chmod +x t/*.t %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh cd %{_libexecdir}/%{name} && exec prove -I . -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 %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %files tests %{_libexecdir}/%{name} %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.011-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.011-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.011-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.011-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.011-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.011-9 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.011-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Dec 17 2021 Petr Pisar - 0.011-7 - Package tests * Thu Jul 22 2021 Fedora Release Engineering - 0.011-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.011-5 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.011-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.011-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.011-2 - Perl 5.32 rebuild * Thu Feb 20 2020 Petr Pisar - 0.011-1 - 0.011 bump * Thu Jan 30 2020 Fedora Release Engineering - 0.010-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 02 2020 Petr Pisar - 0.010-1 - 0.010 bump * Tue Nov 05 2019 Petr Pisar - 0.009-5 - Modernize a spec file * Fri Jul 26 2019 Fedora Release Engineering - 0.009-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.009-3 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.009-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 31 2018 Petr Pisar - 0.009-1 - 0.009 bump * Fri Jul 13 2018 Fedora Release Engineering - 0.008-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 0.008-3 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.008-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Aug 11 2017 Petr Pisar - 0.008-1 - 0.008 bump * Thu Jul 27 2017 Fedora Release Engineering - 0.007-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 0.007-2 - Perl 5.26 rebuild * Mon Apr 03 2017 Petr Pisar - 0.007-1 - 0.007 bump * Sat Feb 11 2017 Fedora Release Engineering - 0.006-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jul 20 2016 Petr Pisar - 0.006-1 - 0.006 bump * Mon May 16 2016 Jitka Plesnikova - 0.005-2 - Perl 5.24 rebuild * Tue Apr 05 2016 Petr Pisar - 0.005-1 - 0.005 bump * Wed Mar 16 2016 Petr Pisar 0.004-1 - Specfile autogenerated by cpanspec 1.78.