psabata pushed to perl-Throwable (master). "0.200013 bump"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Jul 28 11:39:17 UTC 2015


From 5d4edaf44eb6ca9a5ee83f964ce5b53bf0e13a11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Tue, 28 Jul 2015 13:39:08 +0200
Subject: 0.200013 bump


diff --git a/.gitignore b/.gitignore
index 14c355a..a90b7de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 Throwable-0.101110.tar.gz
 Throwable-0.102080.tar.gz
 /Throwable-0.200012.tar.gz
+/Throwable-0.200013.tar.gz
diff --git a/perl-Throwable.spec b/perl-Throwable.spec
index 36db92c..a022e2d 100644
--- a/perl-Throwable.spec
+++ b/perl-Throwable.spec
@@ -1,17 +1,19 @@
 Name:           perl-Throwable
-Version:        0.200012
-Release:        3%{?dist}
+Version:        0.200013
+Release:        1%{?dist}
 Summary:        Role for classes that can be thrown
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Throwable/
 Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Throwable-%{version}.tar.gz
 BuildArch:      noarch
+# Build
+BuildRequires:  make
 BuildRequires:  perl
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.11
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
-# Run-time
+# Runtime
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Devel::StackTrace) >= 1.32
 BuildRequires:  perl(Module::Runtime) >= 0.002
@@ -20,10 +22,11 @@ BuildRequires:  perl(Moo::Role)
 BuildRequires:  perl(overload)
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Sub::Quote)
-# Tests
+# Tests only
 BuildRequires:  perl(base)
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Test::More) >= 0.96
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 Requires:       perl(Devel::StackTrace) >= 1.32
 Requires:       perl(overload)
 
@@ -38,27 +41,26 @@ any previous value for $@ and calls die $self.
 %setup -q -n Throwable-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 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 -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
-%doc Changes LICENSE README
+%license LICENSE
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jul 28 2015 Petr Ĺ abata <contyk at redhat.com> - 0.200013-1
+- 0.200013 bump
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.200012-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index a510396..d784671 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-458e43d3ec7a816720d5f6aa614b46e1  Throwable-0.200012.tar.gz
+92d4934f601c2d291a65b0bf2ab08dd3  Throwable-0.200013.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Throwable.git/commit/?h=master&id=5d4edaf44eb6ca9a5ee83f964ce5b53bf0e13a11


More information about the perl-devel mailing list