[perl-File-Temp] 0.2301 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 8533e181dc3025e3b18a7c043db8daf3193b8463
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Mon Apr 15 15:09:04 2013 +0200

    0.2301 bump

 .gitignore          |    1 +
 perl-File-Temp.spec |   26 ++++++++++++++++----------
 sources             |    2 +-
 3 files changed, 18 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e8e3add..1ff62e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /File-Temp-0.23.tar.gz
+/File-Temp-0.2301.tar.gz
diff --git a/perl-File-Temp.spec b/perl-File-Temp.spec
index 2f1a4e9..61dcd7d 100644
--- a/perl-File-Temp.spec
+++ b/perl-File-Temp.spec
@@ -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@xxxxxxxxxx> - 0.23.01-1
+- 0.2301 bump
+
 * Fri Mar 22 2013 Petr Pisar <ppisar@xxxxxxxxxx> 0.23-1
 - Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index 759e5b9..7f58993 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0db571dc413db53c5bcbba41e3c3cadc  File-Temp-0.23.tar.gz
+75a8aec1916ebbe88988ce68e84ccdd7  File-Temp-0.2301.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux