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