ppisar pushed to perl-Proc-Guard (master). "0.07 bump"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Mar 26 07:48:28 UTC 2015


>From 72c8b45ac37799c3449fba7d46093c85def821f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Thu, 26 Mar 2015 08:46:54 +0100
Subject: 0.07 bump


diff --git a/.gitignore b/.gitignore
index b012e2f..738a1ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Proc-Guard-0.06.tar.gz
+/Proc-Guard-0.07.tar.gz
diff --git a/perl-Proc-Guard.spec b/perl-Proc-Guard.spec
index 1349f9e..36f7127 100644
--- a/perl-Proc-Guard.spec
+++ b/perl-Proc-Guard.spec
@@ -1,5 +1,5 @@
 Name:           perl-Proc-Guard
-Version:        0.06
+Version:        0.07
 Release:        1%{?dist}
 Summary:        Process runner with RAII pattern
 License:        GPL+ or Artistic
@@ -8,14 +8,11 @@ URL:            http://search.cpan.org/dist/Proc-Guard/
 Source0:        http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Proc-Guard-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl
-BuildRequires:  perl(inc::Module::Install)
-BuildRequires:  perl(Module::Install::AuthorTests)
-BuildRequires:  perl(Module::Install::Metadata)
-BuildRequires:  perl(Module::Install::ReadmeMarkdownFromPod)
-BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  perl(Module::Build)
 # Run-time:
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Class::Accessor::Lite) >= 0.05
+BuildRequires:  perl(Errno)
 BuildRequires:  perl(Exporter) >= 5.63
 BuildRequires:  perl(POSIX)
 BuildRequires:  perl(strict)
@@ -40,27 +37,27 @@ This is useful for testing code working with server process.
 
 %prep
 %setup -q -n Proc-Guard-%{version}
-# Remove bundled modules, but keep the directory to skip xt tests
-rm -r inc/*
-sed -i -e '/^inc\//d' MANIFEST
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Build.PL installdirs=vendor
+./Build
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-%{_fixperms} $RPM_BUILD_ROOT/*
+./Build install destdir=%{buildroot} create_packlist=0
+%{_fixperms} %{buildroot}/*
 
 %check
-make test
+./Build test
 
 %files
+%license LICENSE
 %doc Changes README.mkdn
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Mar 26 2015 Petr Pisar <ppisar at redhat.com> - 0.07-1
+- 0.07 bump
+
 * Fri Mar 06 2015 Petr Pisar <ppisar at redhat.com> 0.06-1
 - Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index 33bf0e6..cae0880 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-44a3eb2bfcc8cce049b975afa546466e  Proc-Guard-0.06.tar.gz
+b5e369742f25302ae0075019987e3f68  Proc-Guard-0.07.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Proc-Guard.git/commit/?h=master&id=72c8b45ac37799c3449fba7d46093c85def821f6


More information about the scm-commits mailing list