Name: perl-File-PathList Version: 1.04 Release: 34%{?dist} Summary: Find a file within a set of paths (like @INC or Java classpaths) License: GPL+ or Artistic URL: https://metacpan.org/release/File-PathList Source0: https://cpan.metacpan.org/authors/id/A/AD/ADAMK/File-PathList-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(inc::Module::Install) >= 0.76 BuildRequires: perl(Module::Install::Metadata) BuildRequires: perl(Module::Install::WriteAll) BuildRequires: sed # Run-time: BuildRequires: perl(File::Spec) >= 0.80 BuildRequires: perl(File::Spec::Unix) BuildRequires: perl(Params::Util) >= 0.24 BuildRequires: perl(strict) BuildRequires: perl(vars) # Tests only: BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(Test::More) >= 0.47 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(File::Spec) >= 0.80 Requires: perl(Params::Util) >= 0.24 # Remove underspecified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::Spec|Params::Util)\\)$ %description Many systems that map generic relative paths to absolute paths do so with a set of base paths. For example, perl itself when loading classes first turn a "Class::Name" into a path like "Class/Name.pm", and then looks through each element of @INC to find the actual file. To aid in portability, all relative paths are provided as UNIX-style relative paths, and converted to the localized version in the process of looking up the path. %prep %setup -q -n File-PathList-%{version} # Remove bundled modules rm -r ./inc sed -i -e '/^inc\//d' MANIFEST %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.04-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.04-33 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.04-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.04-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.04-30 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.04-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.04-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.04-27 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.04-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.04-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.04-24 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.04-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.04-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.04-21 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.04-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.04-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 1.04-18 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.04-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 1.04-16 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.04-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 26 2016 Petr Pisar - 1.04-14 - Modernize spec file * Thu Jun 18 2015 Fedora Release Engineering - 1.04-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jun 04 2015 Jitka Plesnikova - 1.04-12 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 1.04-11 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.04-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.04-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 1.04-8 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.04-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.04-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 1.04-5 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.04-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jul 25 2011 Petr Pisar - 1.04-3 - RPM 4.9 dependency filtering added * Tue Jun 21 2011 Marcela Mašláňová - 1.04-2 - Perl mass rebuild * Thu Mar 24 2011 Petr Pisar 1.04-1 - Specfile autogenerated by cpanspec 1.78. - Remove BuildRoot stuff - Enhance description