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