Blame SPECS/perl-File-Path.spec

4ac003
%{?scl:%scl_package perl-File-Path}
4ac003
4ac003
Name:           %{?scl_prefix}perl-File-Path
4ac003
Version:        2.09
4ac003
Release:        313%{?dist}
4ac003
Summary:        Create or remove directory trees
4ac003
License:        GPL+ or Artistic
4ac003
Group:          Development/Libraries
4ac003
URL:            http://search.cpan.org/dist/File-Path/
4ac003
Source0:        http://www.cpan.org/authors/id/D/DL/DLAND/File-Path-%{version}.tar.gz
4ac003
BuildArch:      noarch
4ac003
BuildRequires:  %{?scl_prefix}perl
4ac003
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker)
4ac003
BuildRequires:  %{?scl_prefix}perl(strict)
4ac003
# ExtUtils::MakeMaker::Coverage not needed
4ac003
# Run-time:
4ac003
BuildRequires:  %{?scl_prefix}perl(Carp)
4ac003
BuildRequires:  %{?scl_prefix}perl(Cwd)
4ac003
BuildRequires:  %{?scl_prefix}perl(Exporter)
4ac003
BuildRequires:  %{?scl_prefix}perl(File::Basename)
4ac003
BuildRequires:  %{?scl_prefix}perl(File::Spec)
4ac003
# Symbol not used
4ac003
BuildRequires:  %{?scl_prefix}perl(vars)
4ac003
# Tests:
4ac003
BuildRequires:  %{?scl_prefix}perl(Config)
4ac003
BuildRequires:  %{?scl_prefix}perl(File::Spec::Functions)
4ac003
BuildRequires:  %{?scl_prefix}perl(Test::More)
4ac003
%if !%{defined perl_bootstrap} && !%{defined perl_small}
4ac003
# Optional tests:
4ac003
BuildRequires:  %{?scl_prefix}perl(Test::Output)
4ac003
%endif
4ac003
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
4ac003
Requires:       %{?scl_prefix}perl(Carp)
4ac003
4ac003
%description
4ac003
This module provides a convenient way to create directories of arbitrary
4ac003
depth and to delete an entire directory subtree from the file system.
4ac003
4ac003
%prep
4ac003
%setup -q -n File-Path-%{version}
4ac003
4ac003
%build
4ac003
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
4ac003
4ac003
%install
4ac003
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
4ac003
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
4ac003
%{_fixperms} $RPM_BUILD_ROOT/*
4ac003
4ac003
%check
4ac003
%{?scl:scl enable %{scl} '}make test%{?scl:'}
4ac003
4ac003
%files
4ac003
%doc Changes README TODO
4ac003
%{perl_vendorlib}/*
4ac003
%{_mandir}/man3/*
4ac003
4ac003
%changelog
4ac003
* Sun Jan 25 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.09-313
4ac003
- Rebuild of bootstrapped package
4ac003
4ac003
* Thu Jan 22 2015 Petr Pisar <ppisar@redhat.com> - 2.09-312
4ac003
- Disable optional tests for small build root
4ac003
4ac003
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.09-311
4ac003
- Perl 5.20 re-rebuild of bootstrapped packages
4ac003
4ac003
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.09-310
4ac003
- Increase release to favour standalone package
4ac003
4ac003
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.09-294
4ac003
- Perl 5.20 rebuild
4ac003
4ac003
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-293
4ac003
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4ac003
4ac003
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.09-292
4ac003
- Perl 5.18 re-rebuild of bootstrapped packages
4ac003
4ac003
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-291
4ac003
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4ac003
4ac003
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.09-290
4ac003
- Increase release to favour standalone package
4ac003
4ac003
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.09-2
4ac003
- Link minimal build-root packages against libperl.so explicitly
4ac003
4ac003
* Fri Mar 22 2013 Petr Pisar <ppisar@redhat.com> 2.09-1
4ac003
- Specfile autogenerated by cpanspec 1.78.