From 915a3e2b56fa01f9c6b57f31828c49765648dfb3 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Aug 09 2017 14:32:04 +0000
Subject: 0.14 bump


---

diff --git a/.gitignore b/.gitignore
index e4036d9..c8759a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /Pinto-0.09999.tar.gz
 /Pinto-0.11.tar.gz
 /Pinto-0.12.tar.gz
+/Pinto-0.14.tar.gz
diff --git a/Pinto-0.09999-Use-Module-Build.patch 
b/Pinto-0.09999-Use-Module-Build.patch
deleted file mode 100644
index c5e2791..0000000
--- a/Pinto-0.09999-Use-Module-Build.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up Pinto-0.09996/inc/Pinto/Module/Build.pm.orig 
Pinto-0.09996/inc/Pinto/Module/Build.pm
---- Pinto-0.09996/inc/Pinto/Module/Build.pm.orig       2014-11-20 
14:50:30.115581243 +0100
-+++ Pinto-0.09996/inc/Pinto/Module/Build.pm    2014-11-20 14:50:55.606887042 
+0100
-@@ -3,7 +3,7 @@ package Pinto::Module::Build;
- use strict;
- use warnings;
- 
--use base 'Module::Build::CleanInstall';
-+use base 'Module::Build';
- 
- 
#------------------------------------------------------------------------------
- 1;
diff --git a/perl-Pinto.spec b/perl-Pinto.spec
index f9680bb..7bcd9c4 100644
--- a/perl-Pinto.spec
+++ b/perl-Pinto.spec
@@ -1,7 +1,7 @@
 Name:           perl-Pinto
 Epoch:          1
-Version:        0.12
-Release:        4%{?dist}
+Version:        0.14
+Release:        1%{?dist}
 Summary:        Curate a repository of Perl modules
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -9,8 +9,6 @@ URL:            http://search.cpan.org/dist/Pinto/
 Source0:        
http://www.cpan.org/authors/id/T/TH/THALJEF/Pinto-%{version}.tar.gz
 Source1:        pintod.service
 Source2:        pintod.conf
-# Replace using Module::Build::CleanInstall by Module::Build
-Patch0:         Pinto-0.09999-Use-Module-Build.patch
 BuildArch:      noarch
 BuildRequires:  perl-interpreter
 BuildRequires:  perl-generators
@@ -22,6 +20,7 @@ BuildRequires:  perl(App::cpanminus) >= 1.6920
 BuildRequires:  perl(Archive::Extract) >= 0.68
 BuildRequires:  perl(Authen::Simple::Passwd)
 BuildRequires:  perl(base)
+BuildRequires:  perl(blib)
 BuildRequires:  perl(Capture::Tiny)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Class::Load)
@@ -45,7 +44,7 @@ BuildRequires:  perl(Digest::MD5)
 BuildRequires:  perl(Digest::SHA)
 BuildRequires:  perl(Dist::Metadata) >= 0.924
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(File::Copy)
 BuildRequires:  perl(File::Find)
 BuildRequires:  perl(File::HomeDir)
@@ -111,7 +110,6 @@ BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(String::Format)
 BuildRequires:  perl(Term::ANSIColor)
-BuildRequires:  perl(Term::EditorEdit)
 BuildRequires:  perl(Test::Builder::Module)
 BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::File)
@@ -169,21 +167,21 @@ dependencies go into your application.
 
 %prep
 %setup -q -n Pinto-%{version}
-%patch0 -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=%{buildroot}
+
 install -Dp -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/pintod.service
 install -Dp -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/pintod
 
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} %{buildroot}/*
 
 %check
-./Build test
+make test
 
 %post
 %systemd_post pintod.service
@@ -206,6 +204,9 @@ install -Dp -m0644 %{SOURCE2} 
%{buildroot}%{_sysconfdir}/sysconfig/pintod
 %config(noreplace) %{_sysconfdir}/sysconfig/pintod
 
 %changelog
+* Wed Aug 09 2017 Jitka Plesnikova <jples...@redhat.com> - 1:0.14-1
+- 0.14 bump
+
 * Thu Jul 27 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
1:0.12-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
 
diff --git a/sources b/sources
index edf83a8..52dcf8f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5bcdd6bbe20fd73784daaa678dd87f09  Pinto-0.12.tar.gz
+SHA512 (Pinto-0.14.tar.gz) = 
5670fab1022e05ffed3f533bee8cf1a73f3faf3abf6f9f8bffcd09dcd42fd7673abce5d5163c2024ee229dad264cc097f3d4917f094e34134b479eb3dd806f82


        
https://src.fedoraproject.org/rpms/perl-Pinto/c/915a3e2b56fa01f9c6b57f31828c49765648dfb3?branch=master
_______________________________________________
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