[perl-Test-Compile] v1.2.0 bump

Jitka Plesnikova jplesnik at fedoraproject.org
Fri Nov 14 14:20:24 UTC 2014


commit 0a2a4c5d1b2be3d9e61d896a4f3153e3b4e87747
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Fri Nov 14 15:20:14 2014 +0100

    v1.2.0 bump

 .gitignore             |    1 +
 perl-Test-Compile.spec |   15 +++++++++++----
 sources                |    2 +-
 3 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ec6eb35..50bb7f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ Test-Compile-0.13.tar.gz
 /Test-Compile-0.22.tar.gz
 /Test-Compile-0.23.tar.gz
 /Test-Compile-0.24.tar.gz
+/Test-Compile-v1.2.0.tar.gz
diff --git a/perl-Test-Compile.spec b/perl-Test-Compile.spec
index 7ce535a..906234a 100644
--- a/perl-Test-Compile.spec
+++ b/perl-Test-Compile.spec
@@ -1,11 +1,14 @@
+# Real version
+%global cpan_version v1.2.0
+
 Name:           perl-Test-Compile
-Version:        0.24
-Release:        5%{?dist}
+Version:        %(echo '%{cpan_version}' | tr -d 'v')
+Release:        1%{?dist}
 Summary:        Check whether Perl module files compile correctly
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Test-Compile/
-Source0:        http://search.cpan.org/CPAN/authors/id/E/EG/EGILES/Test-Compile-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/E/EG/EGILES/Test-Compile-%{cpan_version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -15,6 +18,7 @@ BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::Builder)
 BuildRequires:  perl(UNIVERSAL::require)
+BuildRequires:  perl(version)
 BuildRequires:  perl(warnings)
 # Tests
 # Test::More version is described in Changes
@@ -28,7 +32,7 @@ Test::Compile lets you check the validity of a Perl module file or Perl script
 file, and report its results in standard Test::Simple fashion.
 
 %prep
-%setup -q -n Test-Compile-%{version}
+%setup -q -n Test-Compile-%{cpan_version}
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
@@ -48,6 +52,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Nov 14 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.2.0-1
+- 1.2.0 bump
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.24-5
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 24e97e0..0c40923 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-52c2b3d0bbd918b1a498e3df5c7fa9d3  Test-Compile-0.24.tar.gz
+6d16f40adf0339ab7c6759bb6bd3b8e4  Test-Compile-v1.2.0.tar.gz



More information about the perl-devel mailing list