0b7252
Name:           perl-File-Which
0b7252
Version:        1.23
0b7252
Release:        4%{?dist}
0b7252
Summary:        Portable implementation of the 'which' utility
0b7252
License:        GPL+ or Artistic
0b7252
URL:            https://metacpan.org/release/File-Which
0b7252
Source0:        https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-Which-%{version}.tar.gz
0b7252
BuildArch:      noarch
0b7252
BuildRequires:  perl-interpreter
0b7252
BuildRequires:  perl-generators
0b7252
BuildRequires:  perl(ExtUtils::MakeMaker)
0b7252
BuildRequires:  perl(strict)
0b7252
# Run-time:
0b7252
BuildRequires:  perl(constant)
0b7252
BuildRequires:  perl(Exporter)
0b7252
BuildRequires:  perl(File::Spec) >= 0.60
0b7252
BuildRequires:  perl(warnings)
0b7252
# Tests:
0b7252
BuildRequires:  perl(Env)
0b7252
BuildRequires:  perl(Config)
0b7252
BuildRequires:  perl(Test::More) >= 0.80
0b7252
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
0b7252
Requires:       perl(File::Spec) >= 0.60
0b7252
0b7252
# Remove under-specified dependencies
0b7252
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)$
0b7252
0b7252
%description
0b7252
File::Which is a portable implementation (in Perl) of 'which', and can
0b7252
be used to get the absolute filename of an executable program
0b7252
installed somewhere in your PATH, or just check for its existence.
0b7252
0b7252
%prep
0b7252
%setup -q -n File-Which-%{version}
0b7252
0b7252
%build
0b7252
perl Makefile.PL INSTALLDIRS=vendor
0b7252
make %{?_smp_mflags}
0b7252
0b7252
%install
0b7252
make pure_install DESTDIR=%{buildroot}
0b7252
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
0b7252
chmod -R u+w %{buildroot}
0b7252
0b7252
%check
0b7252
make test
0b7252
0b7252
%files
0b7252
%doc Changes README
0b7252
%{perl_vendorlib}/File/
0b7252
%{_mandir}/man3/File::Which.3*
0b7252
0b7252
%changelog
0b7252
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-4
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0b7252
0b7252
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.23-3
0b7252
- Perl 5.30 rebuild
0b7252
0b7252
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-2
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0b7252
0b7252
* Wed Jan  2 2019 Tom Callaway <spot@fedoraproject.org> - 1.23-1
0b7252
- update to 1.23
0b7252
0b7252
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.22-4
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0b7252
0b7252
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.22-3
0b7252
- Perl 5.28 rebuild
0b7252
0b7252
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.22-2
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0b7252
0b7252
* Tue Sep 12 2017 Tom Callaway <spot@fedoraproject.org> - 1.22-1
0b7252
- update to 1.22
0b7252
0b7252
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-5
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0b7252
0b7252
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-4
0b7252
- Perl 5.26 rebuild
0b7252
0b7252
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-3
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0b7252
0b7252
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-2
0b7252
- Perl 5.24 rebuild
0b7252
0b7252
* Thu Mar 03 2016 Tom Callaway <spot@fedoraproject.org> - 1.21-1
0b7252
- update to 1.21
0b7252
0b7252
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0b7252
0b7252
* Thu Jul 30 2015 Tom Callaway <spot@fedoraproject.org> - 1.19-1
0b7252
- update to 1.19
0b7252
0b7252
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-5
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0b7252
0b7252
* Mon Jun 15 2015 Paul Howarth <paul@city-fan.org> - 1.18-4
0b7252
- No longer needs any non-core buildreqs, and hence bootstrapping
0b7252
- Drop references to pwhich, which is no longer included
0b7252
- This release by PLICEASE → update source URL
0b7252
0b7252
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-3
0b7252
- Perl 5.22 re-rebuild of bootstrapped packages
0b7252
0b7252
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-2
0b7252
- Perl 5.22 rebuild
0b7252
0b7252
* Tue May 26 2015 Tom Callaway <spot@fedoraproject.org> - 1.18-1
0b7252
- update to 1.18
0b7252
0b7252
* Thu Jan 15 2015 Petr Pisar <ppisar@redhat.com> - 1.09-19
0b7252
- Specify all dependencies
0b7252
0b7252
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-18
0b7252
- Perl 5.20 re-rebuild of bootstrapped packages
0b7252
0b7252
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-17
0b7252
- Perl 5.20 rebuild
0b7252
0b7252
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-16
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0b7252
0b7252
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-15
0b7252
- Perl 5.18 re-rebuild of bootstrapped packages
0b7252
0b7252
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-14
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0b7252
0b7252
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.09-13
0b7252
- Perl 5.18 rebuild
0b7252
0b7252
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-12
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0b7252
0b7252
* Wed Oct 24 2012 Petr Šabata <contyk@redhat.com> - 1.09-11
0b7252
- Specify all dependencies
0b7252
- Modernize spec
0b7252
- Drop command macros
0b7252
0b7252
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-10
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0b7252
0b7252
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.09-9
0b7252
- Perl 5.16 re-rebuild of bootstrapped packages
0b7252
0b7252
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.09-8
0b7252
- Perl 5.16 rebuild
0b7252
0b7252
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-7
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0b7252
0b7252
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.09-6
0b7252
- Perl mass rebuild
0b7252
- add perl_bootstrap macro
0b7252
0b7252
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-5
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0b7252
0b7252
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-4
0b7252
- 661697 rebuild for fixing problems with vendorach/lib
0b7252
0b7252
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-3
0b7252
- Mass rebuild with perl-5.12.0
0b7252
0b7252
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.09-2
0b7252
- rebuild against perl 5.10.1
0b7252
0b7252
* Mon Oct  5 2009 Stepan Kasal <skasal@redhat.com> - 1.09-1
0b7252
- new upstream version
0b7252
0b7252
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-6
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0b7252
0b7252
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-5
0b7252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0b7252
0b7252
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-4
0b7252
- Rebuild for perl 5.10 (again)
0b7252
0b7252
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-3
0b7252
- rebuild for new perl
0b7252
0b7252
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-2.1
0b7252
- correct license tag
0b7252
- add BR: perl(ExtUtils::MakeMaker)
0b7252
0b7252
* Mon Dec 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.05-2
0b7252
- find: fixed arguments order.
0b7252
0b7252
* Sun Dec 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.05-1
0b7252
- First build.