0.2301 bump

This commit is contained in:
Petr Písař 2013-04-15 15:09:04 +02:00
parent 6d329db6e1
commit 8533e181dc
3 changed files with 18 additions and 11 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/File-Temp-0.23.tar.gz
/File-Temp-0.2301.tar.gz

View File

@ -1,15 +1,16 @@
%global cpan_version 0.2301
Name: perl-File-Temp
Version: 0.23
# Keep 2-digit version to align with future versions
Version: %(echo '%{cpan_version}' | sed 's/\(\...\)\(.\)/\1.\2/')
Release: 1%{?dist}
Summary: Return name and handle of a temporary file safely
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-Temp/
Source0: http://www.cpan.org/authors/id/T/TJ/TJENNESS/File-Temp-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/File-Temp-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(File::Spec) >= 0.8
BuildRequires: perl(Module::Build) >= 0.36
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
@ -22,6 +23,7 @@ BuildRequires: perl(Errno)
BuildRequires: perl(Exporter)
BuildRequires: perl(Fcntl) >= 1.03
BuildRequires: perl(File::Path) >= 2.06
BuildRequires: perl(File::Spec) >= 0.8
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IO::Seekable)
BuildRequires: perl(overload)
@ -51,26 +53,30 @@ name and the open file handle of a temporary file. The tempdir() function
can be used to create a temporary directory.
%prep
%setup -q -n File-Temp-%{version}
%setup -q -n File-Temp-%{cpan_version}
chmod -x misc/benchmark.pl
%fix_shbang_line misc/benchmark.pl
%build
perl Build.PL installdirs=vendor
./Build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
make test
%files
%doc ChangeLog misc README
%doc Changes LICENSE misc README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Apr 15 2013 Petr Pisar <ppisar@redhat.com> - 0.23.01-1
- 0.2301 bump
* Fri Mar 22 2013 Petr Pisar <ppisar@redhat.com> 0.23-1
- Specfile autogenerated by cpanspec 1.78.

View File

@ -1 +1 @@
0db571dc413db53c5bcbba41e3c3cadc File-Temp-0.23.tar.gz
75a8aec1916ebbe88988ce68e84ccdd7 File-Temp-0.2301.tar.gz