From a210261f2854dd240fd477f5954bb3bb65cd8bbb Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <[email protected]>
Date: Sun, 1 Jan 2017 22:04:55 +0100
Subject: 0.297 bump

---
 .gitignore        |  1 +
 perl-App-cpm.spec | 18 +++++++++++-------
 sources           |  2 +-
 3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/.gitignore b/.gitignore
index 63dfc3e..3d2bc5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
 /App-cpm-0.214.tar.gz
 /App-cpm-0.293.tar.gz
 /App-cpm-0.294.tar.gz
+/App-cpm-0.297.tar.gz
diff --git a/perl-App-cpm.spec b/perl-App-cpm.spec
index adaebd2..499eccd 100644
--- a/perl-App-cpm.spec
+++ b/perl-App-cpm.spec
@@ -1,5 +1,5 @@
 Name:           perl-App-cpm
-Version:        0.294
+Version:        0.297
 Release:        1%{?dist}
 Summary:        Fast CPAN module installer
 License:        GPL+ or Artistic
@@ -10,7 +10,7 @@ BuildArch:      noarch
 BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl-generators
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(Module::Build::Tiny) >= 0.034
 BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
 # Runtime
@@ -40,6 +40,7 @@ BuildRequires:  perl(HTTP::Tiny)
 BuildRequires:  perl(JSON::PP) >= 2.27300
 BuildRequires:  perl(List::Util)
 # BuildRequires:  perl(local::lib)
+BuildRequires:  perl(Menlo::Builder::Static)
 BuildRequires:  perl(Menlo::CLI::Compat)
 BuildRequires:  perl(Module::CoreList)
 # BuildRequires:  perl(Module::CPANfile)
@@ -70,15 +71,15 @@ parallel.
 %setup -q -n App-cpm-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-make %{?_smp_mflags}
+perl Build.PL --installdirs=vendor
+./Build
 
 %install
-make pure_install DESTDIR=%{buildroot}
-%{_fixperms} %{buildroot}/*
+./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test
+./Build test
 
 %files
 %license LICENSE
@@ -89,6 +90,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sun Jan 01 2017 Jitka Plesnikova <[email protected]> - 0.297-1
+- 0.297 bump
+
 * Wed Dec 14 2016 Jitka Plesnikova <[email protected]> - 0.294-1
 - 0.294 bump
 
diff --git a/sources b/sources
index 2e7d18f..b9c2d7d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (App-cpm-0.294.tar.gz) = 
b8bdad55116cdd2ed245f6b9cd1887d0d4f2933d8184ceef23fdf2cc886f65c4496b8a844fdd3efeb7f3027d97ce9ddcc82b0597a411e4b0f929405ef912134b
+SHA512 (App-cpm-0.297.tar.gz) = 
83312ab71d56d4775c9d9dc7bf30e6c1542437605842ac7348fb7bbe9260ae99a273961fa7182c5bb31cd4e628aad4df4d2d967cd8fd842c4cbaa27e6f589d29
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-App-cpm.git/commit/?h=master&id=a210261f2854dd240fd477f5954bb3bb65cd8bbb
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to