From 90fc94e0723245d096ba1f6412731c3970174547 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Fri, 27 May 2016 14:29:04 +0200
Subject: 1.3.0 bump

---
 .gitignore             |  3 +++
 perl-Test-Compile.spec | 25 +++++++++++++++++++++----
 sources                |  2 +-
 3 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/.gitignore b/.gitignore
index ec6eb35..6e263a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,6 @@ 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
+/Test-Compile-v1.2.1.tar.gz
+/Test-Compile-v1.3.0.tar.gz
diff --git a/perl-Test-Compile.spec b/perl-Test-Compile.spec
index 98d1b59..2b8127b 100644
--- a/perl-Test-Compile.spec
+++ b/perl-Test-Compile.spec
@@ -1,12 +1,18 @@
+# Real version
+%global cpan_version v1.3.0
+
 Name:           perl-Test-Compile
-Version:        0.24
+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:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time
@@ -15,6 +21,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 +35,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
@@ -43,11 +50,21 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} +
 make test
 
 %files
-%doc Changes LICENSE README
+%license LICENSE
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Sep 25 2015 Jitka Plesnikova <jples...@redhat.com> - 1.3.0-1
+- 1.3.0 bump
+
+* Tue Dec 09 2014 Jitka Plesnikova <jples...@redhat.com> - 1.2.1-1
+- 1.2.1 bump
+
+* Fri Nov 14 2014 Jitka Plesnikova <jples...@redhat.com> - 1.2.0-1
+- 1.2.0 bump
+
 * Mon Feb 25 2013 Petr Ĺ abata <con...@redhat.com> - 0.24-1
 - 0.24 bump (docs only)
 
diff --git a/sources b/sources
index 24e97e0..ef19f68 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-52c2b3d0bbd918b1a498e3df5c7fa9d3  Test-Compile-0.24.tar.gz
+c7e8c9255d818823d440ac640527e7f8  Test-Compile-v1.3.0.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Test-Compile.git/commit/?h=epel7&id=90fc94e0723245d096ba1f6412731c3970174547
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to