3.39_01 bump
This commit is contained in:
parent
ec151a4f17
commit
7cefb44186
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/PathTools-3.33.tar.gz
|
||||
/PathTools-3.39_01.tar.gz
|
||||
|
||||
@ -1,11 +1,12 @@
|
||||
%global cpan_version 3.39_01
|
||||
Name: perl-PathTools
|
||||
Version: 3.33
|
||||
Release: 8%{?dist}
|
||||
Version: %(echo '%{cpan_version}' | tr _ .)
|
||||
Release: 1%{?dist}
|
||||
Summary: PathTools Perl module (Cwd, File::Spec)
|
||||
License: (GPL+ or Artistic) and BSD
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/PathTools/
|
||||
Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/PathTools-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/PathTools-%{cpan_version}.tar.gz
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Run-time:
|
||||
BuildRequires: perl(Carp)
|
||||
@ -18,7 +19,7 @@ BuildRequires: perl(vars)
|
||||
BuildRequires: perl(Carp::Heavy)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(Test)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Scalar::Util)
|
||||
@ -31,7 +32,10 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n PathTools-%{version}
|
||||
%setup -q -n PathTools-%{cpan_version}
|
||||
# Remove bundled modules
|
||||
rm -r t/lib
|
||||
sed -i -e '/^t\/lib\//d' MANIFEST
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
@ -39,11 +43,8 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
@ -57,6 +58,9 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 18 2012 Petr Pisar <ppisar@redhat.com> - 3.39.01-1
|
||||
- 3.39_01 bump
|
||||
|
||||
* Wed Aug 15 2012 Petr Pisar <ppisar@redhat.com> - 3.33-8
|
||||
- Specify all dependencies
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user