|
|
9b2d09 |
%global cpan_version 3.40
|
|
|
9b2d09 |
Name: perl-PathTools
|
|
|
9b2d09 |
Version: %(echo '%{cpan_version}' | tr _ .)
|
|
|
513307 |
Release: 5%{?dist}
|
|
|
9b2d09 |
Summary: PathTools Perl module (Cwd, File::Spec)
|
|
|
9b2d09 |
License: (GPL+ or Artistic) and BSD
|
|
|
9b2d09 |
Group: Development/Libraries
|
|
|
9b2d09 |
URL: http://search.cpan.org/dist/PathTools/
|
|
|
9b2d09 |
Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/PathTools-%{cpan_version}.tar.gz
|
|
|
9b2d09 |
# Disable VMS test (bug #973713)
|
|
|
9b2d09 |
Patch0: PathTools-3.40-Disable-VMS-tests.patch
|
|
|
9b2d09 |
BuildRequires: perl
|
|
|
9b2d09 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
9b2d09 |
# Run-time:
|
|
|
9b2d09 |
BuildRequires: perl(Carp)
|
|
|
9b2d09 |
BuildRequires: perl(Exporter)
|
|
|
9b2d09 |
# File::Basename not needed because of removed File::Spec::VMS
|
|
|
9b2d09 |
BuildRequires: perl(Scalar::Util)
|
|
|
9b2d09 |
BuildRequires: perl(strict)
|
|
|
9b2d09 |
BuildRequires: perl(vars)
|
|
|
9b2d09 |
# Tests:
|
|
|
9b2d09 |
BuildRequires: perl(Carp::Heavy)
|
|
|
9b2d09 |
BuildRequires: perl(Config)
|
|
|
9b2d09 |
BuildRequires: perl(File::Path)
|
|
|
9b2d09 |
BuildRequires: perl(lib)
|
|
|
9b2d09 |
BuildRequires: perl(Test::More)
|
|
|
9b2d09 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
9b2d09 |
Requires: perl(Carp)
|
|
|
9b2d09 |
Requires: perl(Scalar::Util)
|
|
|
9b2d09 |
|
|
|
9b2d09 |
%{?perl_default_filter}
|
|
|
9b2d09 |
|
|
|
9b2d09 |
%description
|
|
|
9b2d09 |
This is the combined distribution for the File::Spec and Cwd modules.
|
|
|
9b2d09 |
|
|
|
9b2d09 |
%prep
|
|
|
9b2d09 |
%setup -q -n PathTools-%{cpan_version}
|
|
|
9b2d09 |
%patch0 -p1
|
|
|
9b2d09 |
# Remove bundled modules
|
|
|
9b2d09 |
rm -r t/lib
|
|
|
9b2d09 |
sed -i -e '/^t\/lib\//d' MANIFEST
|
|
|
9b2d09 |
# Do not distribute File::Spec::VMS as it works on VMS only (bug #973713)
|
|
|
9b2d09 |
rm lib/File/Spec/VMS.pm
|
|
|
9b2d09 |
sed -i -e '/^lib\/File\/Spec\/VMS.pm/d' MANIFEST
|
|
|
9b2d09 |
|
|
|
9b2d09 |
%build
|
|
|
9b2d09 |
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
9b2d09 |
make %{?_smp_mflags}
|
|
|
9b2d09 |
|
|
|
9b2d09 |
%install
|
|
|
9b2d09 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
9b2d09 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
9b2d09 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
9b2d09 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
9b2d09 |
|
|
|
9b2d09 |
%check
|
|
|
9b2d09 |
make test
|
|
|
9b2d09 |
|
|
|
9b2d09 |
%files
|
|
|
9b2d09 |
%doc Changes README
|
|
|
9b2d09 |
%{perl_vendorarch}/auto/*
|
|
|
9b2d09 |
%{perl_vendorarch}/Cwd.pm
|
|
|
9b2d09 |
%{perl_vendorarch}/File/
|
|
|
9b2d09 |
%{_mandir}/man3/*
|
|
|
9b2d09 |
|
|
|
9b2d09 |
%changelog
|
|
|
513307 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.40-5
|
|
|
513307 |
- Mass rebuild 2014-01-24
|
|
|
513307 |
|
|
|
513307 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.40-4
|
|
|
513307 |
- Mass rebuild 2013-12-27
|
|
|
513307 |
|
|
|
9b2d09 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 3.40-3
|
|
|
9b2d09 |
- Disable VMS test (bug #973713)
|
|
|
9b2d09 |
|
|
|
9b2d09 |
* Fri Jun 14 2013 Petr Pisar <ppisar@redhat.com> - 3.40-2
|
|
|
9b2d09 |
- Do not distribute File::Spec::VMS (bug #973713)
|
|
|
9b2d09 |
|
|
|
9b2d09 |
* Mon Feb 04 2013 Petr Pisar <ppisar@redhat.com> - 3.40-1
|
|
|
9b2d09 |
- 3.40 bump
|
|
|
9b2d09 |
|
|
|
9b2d09 |
* Tue Sep 18 2012 Petr Pisar <ppisar@redhat.com> - 3.39.01-1
|
|
|
9b2d09 |
- 3.39_01 bump
|
|
|
9b2d09 |
|
|
|
9b2d09 |
* Wed Aug 15 2012 Petr Pisar <ppisar@redhat.com> - 3.33-8
|
|
|
9b2d09 |
- Specify all dependencies
|
|
|
9b2d09 |
|
|
|
9b2d09 |
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 3.33-7.1
|
|
|
9b2d09 |
- Rebuild for perl 5.16
|
|
|
9b2d09 |
|
|
|
9b2d09 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.33-7
|
|
|
9b2d09 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9b2d09 |
|
|
|
9b2d09 |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 3.33-6
|
|
|
9b2d09 |
- Perl 5.16 rebuild
|
|
|
9b2d09 |
|
|
|
9b2d09 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.33-5
|
|
|
9b2d09 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
9b2d09 |
|
|
|
9b2d09 |
* Mon Jul 25 2011 Petr Pisar <ppisar@redhat.com> - 3.33-4
|
|
|
9b2d09 |
- RPM 4.9 dependency filtering added
|
|
|
9b2d09 |
|
|
|
9b2d09 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.33-3
|
|
|
9b2d09 |
- Perl mass rebuild
|
|
|
9b2d09 |
|
|
|
9b2d09 |
* Sun May 29 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.33-2
|
|
|
9b2d09 |
- Own the %%{perl_vendorarch}/File dir.
|
|
|
9b2d09 |
|
|
|
9b2d09 |
* Mon Feb 28 2011 Marcela Mašláňová <mmaslano@redhat.com> 3.33-1
|
|
|
9b2d09 |
- Specfile autogenerated by cpanspec 1.79.
|