pghmcfc pushed to perl-namespace-autoclean (f23). "Update to 0.27 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Sep 9 09:39:11 UTC 2015


From 67e3ced29421baada7f6a9b8cfc99a4a1a8a1dca Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Wed, 9 Sep 2015 10:30:47 +0100
Subject: Update to 0.27

- New upstream release 0.27
  - Package with only ExtUtils::MakeMaker to ease installation on perl 5.6

diff --git a/perl-namespace-autoclean.spec b/perl-namespace-autoclean.spec
index 37562d1..391a93f 100644
--- a/perl-namespace-autoclean.spec
+++ b/perl-namespace-autoclean.spec
@@ -1,6 +1,6 @@
 Name:           perl-namespace-autoclean
-Version:        0.26
-Release:        4%{?dist}
+Version:        0.27
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Summary:        Keep imports out of your namespace
@@ -8,8 +8,11 @@ Source0:        http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/namespace-auto
 URL:            http://search.cpan.org/dist/namespace-autoclean
 BuildArch:      noarch
 # Module Build
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
 BuildRequires:  perl
-BuildRequires:  perl(Module::Build::Tiny) >= 0.039
+BuildRequires:  perl(ExtUtils::MakeMaker)
 # Module
 BuildRequires:  perl(B::Hooks::EndOfScope) >= 0.12
 BuildRequires:  perl(List::Util)
@@ -21,7 +24,6 @@ BuildRequires:  perl(warnings)
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(constant)
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
 BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(overload)
@@ -60,14 +62,16 @@ anything that looks like a method.
 %setup -q -n namespace-autoclean-%{version}
 
 %build
-perl Build.PL --installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install --destdir=%{buildroot} --create_packlist=0
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
 
 %check
-./Build test
+make test
 
 %files
 %license LICENSE
@@ -76,6 +80,10 @@ perl Build.PL --installdirs=vendor
 %{_mandir}/man3/namespace::autoclean.3*
 
 %changelog
+* Wed Sep  9 2015 Paul Howarth <paul at city-fan.org> - 0.27-1
+- Update to 0.27
+  - Package with only ExtUtils::MakeMaker to ease installation on perl 5.6
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.26-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 981031b..b2bda17 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1fb1238dc3164a83b36779b8fb02431f  namespace-autoclean-0.26.tar.gz
+777d5850f4840a757c5a0e8b30c05716  namespace-autoclean-0.27.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-namespace-autoclean.git/commit/?h=f23&id=67e3ced29421baada7f6a9b8cfc99a4a1a8a1dca


More information about the perl-devel mailing list