From be9ff1942bdc8d7f115f2604ba618b437c5da0cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Mon, 2 May 2016 10:19:36 +0200
Subject: 2.08 bump

---
 .gitignore                                         |  1 +
 ...ta-Changes-2.06-Install-bin-ini.report.pl.patch | 28 ----------------------
 perl-Module-Metadata-Changes.spec                  | 26 +++++++++++---------
 sources                                            |  2 +-
 4 files changed, 17 insertions(+), 40 deletions(-)
 delete mode 100644 Module-Metadata-Changes-2.06-Install-bin-ini.report.pl.patch

diff --git a/.gitignore b/.gitignore
index acfa6e6..bd1a68e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /Module-Metadata-Changes-2.05.tgz
 /Module-Metadata-Changes-2.06.tgz
+/Module-Metadata-Changes-2.08.tgz
diff --git a/Module-Metadata-Changes-2.06-Install-bin-ini.report.pl.patch 
b/Module-Metadata-Changes-2.06-Install-bin-ini.report.pl.patch
deleted file mode 100644
index 26784f2..0000000
--- a/Module-Metadata-Changes-2.06-Install-bin-ini.report.pl.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 47a7f06ad18689543b081ba46a6aa5adfbca5fb7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
-Date: Thu, 19 Feb 2015 17:16:42 +0100
-Subject: [PATCH] Install bin/ini.report.pl
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Petr Písař <ppi...@redhat.com>
----
- Makefile.PL | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/Makefile.PL b/Makefile.PL
-index 47a5249..fa4867d 100644
---- a/Makefile.PL
-+++ b/Makefile.PL
-@@ -25,6 +25,7 @@ my(%params) =
-       NAME      => 'Module::Metadata::Changes',
-       LICENSE   => 'artistic_2',
-       PL_FILES  => {},
-+      EXE_FILES => [ 'bin/ini.report.pl' ],
-       PREREQ_PM =>
-       {
-               'Config::IniFiles' => 2.88,
--- 
-2.4.3
-
diff --git a/perl-Module-Metadata-Changes.spec 
b/perl-Module-Metadata-Changes.spec
index d4e4050..316dee1 100644
--- a/perl-Module-Metadata-Changes.spec
+++ b/perl-Module-Metadata-Changes.spec
@@ -1,20 +1,19 @@
 Name:           perl-Module-Metadata-Changes
-Version:        2.06
-Release:        2%{?dist}
+Version:        2.08
+Release:        1%{?dist}
 Summary:        Manage a module's machine-readable Changes/CHANGES file
-License:        Artistic 2.0
+License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Module-Metadata-Changes/
 Source0:        
http://www.cpan.org/authors/id/R/RS/RSAVAGE/Module-Metadata-Changes-%{version}.tgz
-# Install bin scripts, CPAN RT#102247
-Patch0:         Module-Metadata-Changes-2.06-Install-bin-ini.report.pl.patch
 # Search templates and CSS in the system directories
-Patch1:         
Module-Metadata-Changes-2.06-Search-assets-in-system-directories.patch
+Patch0:         
Module-Metadata-Changes-2.06-Search-assets-in-system-directories.patch
 BuildArch:      noarch
 BuildRequires:  coreutils
 BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl
+BuildRequires:  perl-generators
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  sed
 BuildRequires:  web-assets-devel
@@ -33,8 +32,8 @@ BuildRequires:  perl(HTML::Template) >= 2.95
 BuildRequires:  perl(Moo) >= 2.000002
 # Pod::Usage not used at tests
 BuildRequires:  perl(strict)
-BuildRequires:  perl(Try::Tiny)
-BuildRequires:  perl(Types::Standard)
+BuildRequires:  perl(Try::Tiny) >= 0.24
+BuildRequires:  perl(Types::Standard) >= 1.000005
 BuildRequires:  perl(version)
 BuildRequires:  perl(warnings)
 # Tests:
@@ -51,12 +50,14 @@ Requires:       perl(HTML::Entities::Interpolate) >= 1.05
 Requires:       perl(HTML::Template) >= 2.95
 Requires:       perl(File::Slurper) >= 0.008
 Requires:       perl(Moo) >= 2.000002
+Requires:       perl(Try::Tiny) >= 0.24
+Requires:       perl(Types::Standard) >= 1.000005
 Requires:       web-assets-filesystem
 
 %{?perl_default_filter}
 
 # Filter under-specified dependencies
-%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\((Config::IniFiles|DateTime::Format::W3CDTF|File::Slurper|HTML::Entities::Interpolate|HTML::Template|Moo)\\)$
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\((Config::IniFiles|DateTime::Format::W3CDTF|File::Slurper|HTML::Entities::Interpolate|HTML::Template|Moo|Try::Tiny|Types::Standard)\\)$
 
 %description
 Module::Metadata::Changes is a pure Perl module. It allows you to convert
@@ -67,7 +68,6 @@ old-style Changes/CHANGES files, and to read and write 
Changelog.ini files.
 # Enable writing for patching
 find -type f -exec chmod u+w {} +
 %patch0 -p1
-%patch1 -p1
 chmod -x scripts/report.names.pl
 sed -i -e '1 s/^#!.*/#!perl/' bin/ini.report.pl
 
@@ -77,7 +77,7 @@ 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 .packlist -delete
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 # Install templates
@@ -107,6 +107,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon May 02 2016 Petr Pisar <ppi...@redhat.com> - 2.08-1
+- 2.08 bump
+- License changed to (GPL+ or Artistic)
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
2.06-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
diff --git a/sources b/sources
index 01f3392..98e7148 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-583ef38995e9388019dde54ab3417545  Module-Metadata-Changes-2.06.tgz
+60dc1f461ac85f0af442e11d3b53a7fa  Module-Metadata-Changes-2.08.tgz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Module-Metadata-Changes.git/commit/?h=master&id=be9ff1942bdc8d7f115f2604ba618b437c5da0cc
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to