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