From 05574b051be7d36b06d19defe9cc86d0e3a6340d Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Thu, 16 Mar 2017 10:17:21 +0100
Subject: 0.013 bump

---
 .gitignore                                    |  1 +
 module_data_remove_module_build_version.patch | 91 ---------------------------
 perl-Module-Data.spec                         | 36 +++++------
 sources                                       |  2 +-
 4 files changed, 20 insertions(+), 110 deletions(-)
 delete mode 100644 module_data_remove_module_build_version.patch

diff --git a/.gitignore b/.gitignore
index 6635654..7ac7c89 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Module-Data-0.007.tar.gz
+/Module-Data-0.013.tar.gz
diff --git a/module_data_remove_module_build_version.patch 
b/module_data_remove_module_build_version.patch
deleted file mode 100644
index ffdce87..0000000
--- a/module_data_remove_module_build_version.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-diff -Naur old/Build.PL new/Build.PL
---- old/Build.PL       2013-11-21 00:09:32.000000000 +1100
-+++ new/Build.PL       2014-08-09 20:28:14.394904978 +1000
-@@ -7,10 +7,10 @@
- 
- my %module_build_args = (
-   "build_requires" => {
--    "Module::Build" => "0.4202"
-+    "Module::Build" => "0"
-   },
-   "configure_requires" => {
--    "Module::Build" => "0.4202"
-+    "Module::Build" => "0"
-   },
-   "dist_abstract" => "Introspect context information about modules in \@INC",
-   "dist_author" => [
-@@ -49,7 +49,7 @@
-   "Carp" => 0,
-   "Data::Dump" => 0,
-   "FindBin" => 0,
--  "Module::Build" => "0.4202",
-+  "Module::Build" => "0",
-   "Path::Class" => 0,
-   "Test::Fatal" => 0,
-   "Test::More" => "1.001002"
-diff -Naur old/META.json new/META.json
---- old/META.json      2013-11-21 00:09:32.000000000 +1100
-+++ new/META.json      2014-08-09 20:29:51.155164678 +1000
-@@ -16,12 +16,12 @@
-    "prereqs" : {
-       "build" : {
-          "requires" : {
--            "Module::Build" : "0.4202"
-+            "Module::Build" : "0"
-          }
-       },
-       "configure" : {
-          "requires" : {
--            "Module::Build" : "0.4202"
-+            "Module::Build" : "0"
-          }
-       },
-       "develop" : {
-@@ -173,7 +173,7 @@
-          "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.002001",
-          "Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "1.7.2",
-          "FindBin" : "1.51",
--         "Module::Build" : "0.4202",
-+         "Module::Build" : "0",
-          "Module::Metadata" : "1.000019",
-          "Module::Runtime" : "0.013",
-          "Moo" : "1.003001",
-diff -Naur old/META.yml new/META.yml
---- old/META.yml       2013-11-21 00:09:32.000000000 +1100
-+++ new/META.yml       2014-08-09 20:29:59.546273925 +1000
-@@ -6,12 +6,12 @@
-   Carp: 0
-   Data::Dump: 0
-   FindBin: 0
--  Module::Build: 0.4202
-+  Module::Build: 0
-   Path::Class: 0
-   Test::Fatal: 0
-   Test::More: 1.001002
- configure_requires:
--  Module::Build: 0.4202
-+  Module::Build: 0
- dynamic_config: 0
- generated_by: 'Dist::Zilla version 5.006, CPAN::Meta::Converter version 
2.132830'
- license: perl
-@@ -87,7 +87,7 @@
-     Dist::Zilla::PluginBundle::Author::KENTNL: 2.002001
-     Dist::Zilla::PluginBundle::Author::KENTNL::Lite: 1.7.2
-     FindBin: 1.51
--    Module::Build: 0.4202
-+    Module::Build: 0
-     Module::Metadata: 1.000019
-     Module::Runtime: 0.013
-     Moo: 1.003001
-diff -Naur old/t/000-report-versions-tiny.t new/t/000-report-versions-tiny.t
---- old/t/000-report-versions-tiny.t   2013-11-21 00:09:32.000000000 +1100
-+++ new/t/000-report-versions-tiny.t   2014-08-09 20:28:35.832184054 +1000
-@@ -51,7 +51,7 @@
- eval { $v .= pmver('Carp','any version') };
- eval { $v .= pmver('Data::Dump','any version') };
- eval { $v .= pmver('FindBin','any version') };
--eval { $v .= pmver('Module::Build','0.4202') };
-+eval { $v .= pmver('Module::Build','any version') };
- eval { $v .= pmver('Module::Metadata','any version') };
- eval { $v .= pmver('Module::Runtime','any version') };
- eval { $v .= pmver('Moo','any version') };
diff --git a/perl-Module-Data.spec b/perl-Module-Data.spec
index 567d9fc..c7bb17e 100644
--- a/perl-Module-Data.spec
+++ b/perl-Module-Data.spec
@@ -1,35 +1,33 @@
 Name:           perl-Module-Data
-Version:        0.007
-Release:        7%{?dist}
+Version:        0.013
+Release:        1%{?dist}
 Summary:        Introspect context information about modules in @INC
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Module-Data/
 Source0:        
http://www.cpan.org/modules/by-module/Module/Module-Data-%{version}.tar.gz
-# This restriction is un-necessary for F20
-Patch1:         module_data_remove_module_build_version.patch
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl-generators
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Data::Dump)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(FindBin)
-BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Module::Metadata)
 BuildRequires:  perl(Module::Runtime)
 BuildRequires:  perl(Moo)
-BuildRequires:  perl(Path::Class)
-BuildRequires:  perl(Path::Class::File)
-BuildRequires:  perl(Path::ScanINC) >= 0.002
+BuildRequires:  perl(Path::ScanINC) >= 0.011
+BuildRequires:  perl(Path::Tiny)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(Sub::Quote)
 BuildRequires:  perl(Test::Fatal)
-BuildRequires:  perl(Test::More) >= 1.001002
+BuildRequires:  perl(Test::More) >= 0.96
 BuildRequires:  perl(warnings)
 Requires:       perl(Module::Metadata)
 Requires:       perl(Module::Runtime)
-Requires:       perl(Path::Class::File)
-Requires:       perl(Path::ScanINC) >= 0.002
+Requires:       perl(Path::ScanINC) >= 0.011
+Requires:       perl(Path::Tiny)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
 %description
@@ -37,26 +35,28 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} 
-V:version`"; echo $versi
 
 %prep
 %setup -q -n Module-Data-%{version}
-%patch1 -p1
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
 
 %install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-./Build test
+make test
 
 %files
-%doc Changes LICENSE README
+%license LICENSE
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Mar 16 2017 Jitka Plesnikova <jples...@redhat.com> - 0.013-1
+- 0.013 bump
+
 * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.007-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
diff --git a/sources b/sources
index f9f12be..3c25b04 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-70a72f0105c3fc11afa36e8d1376d5ad  Module-Data-0.007.tar.gz
+SHA512 (Module-Data-0.013.tar.gz) = 
44905c3e1e03edddb295fb44da214be6f113d6674f5162d52bcdbb68880fd829a234d5d128106cf0e68aab5a4d9ace368c13d868cf8b7085caa05ebf5d9f6c48
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Module-Data.git/commit/?h=f26&id=05574b051be7d36b06d19defe9cc86d0e3a6340d
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to