[perl-Test-Module-Used] 0.2.6 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 537f90302342a1d5850898fe3a4d7e09f64d6e59
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Nov 25 17:08:25 2014 +0100

    0.2.6 bump

 .gitignore                 |    1 +
 perl-Test-Module-Used.spec |   39 +++++++++++++++++++++------------------
 sources                    |    2 +-
 3 files changed, 23 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2cce741..7b2f9f9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /Test-Module-Used-0.2.3.tar.gz
 /Test-Module-Used-0.2.4.tar.gz
+/Test-Module-Used-0.2.6.tar.gz
diff --git a/perl-Test-Module-Used.spec b/perl-Test-Module-Used.spec
index 2962253..e1feeb8 100644
--- a/perl-Test-Module-Used.spec
+++ b/perl-Test-Module-Used.spec
@@ -1,18 +1,26 @@
 Name:           perl-Test-Module-Used
-Version:        0.2.4
-Release:        6%{?dist}
+Version:        0.2.6
+Release:        1%{?dist}
 Summary:        Test required module is really used and vice versa between lib/t and META.yml
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Test-Module-Used/
 Source0:        http://www.cpan.org/authors/id/T/TS/TSUCCHI/Test-Module-Used-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::Copy)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(warnings)
 # Run-Time:
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(CPAN::Meta)
 BuildRequires:  perl(Exporter)
+BuildRequires:  perl(File::Find)
 BuildRequires:  perl(File::Spec::Functions)
 BuildRequires:  perl(List::MoreUtils)
 BuildRequires:  perl(Module::CoreList)
@@ -23,7 +31,7 @@ BuildRequires:  perl(version) >= 0.77
 # Tests:
 BuildRequires:  perl(Test::Builder::Tester)
 BuildRequires:  perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(version) >= 0.77
 
 # Remove under-specified depepndencies
@@ -35,33 +43,28 @@ required module is really used and used module is really required.
 
 %prep
 %setup -q -n Test-Module-Used-%{version}
-# Keep inc directory empty to prevent Module::Install::AuthorTests from running
-# in author mode.
-rm -r inc/*
-sed -i -e '/^inc\//d' MANIFEST
-# Drop author_ Module::Install statements not to build-require author test
-# modules just only for populating inc.
-sed -i -e '/author_/d' Makefile.PL
 find -type f -exec chmod -x {} +
 
 %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
-%doc Changes README
+%doc Changes LICENSE README.md
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Nov 25 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 0.2.6-1
+- 0.2.6 bump
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.2.4-6
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 50a6c5a..a5dfe9b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2e9070db0280df846e4e8ab62069fbee  Test-Module-Used-0.2.4.tar.gz
+39a0b35e1881bbc0727b452aa2dd207c  Test-Module-Used-0.2.6.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux