spot pushed to perl-Test-MockModule (master). "update to 0.09"

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

 



>From 4046004494803386deba4b6351a9fa002c3bd6d9 Mon Sep 17 00:00:00 2001
From: Tom Callaway <spot@xxxxxxxxxxxxxxxxx>
Date: Fri, 27 Mar 2015 14:41:25 -0400
Subject: update to 0.09


diff --git a/.gitignore b/.gitignore
index 59f55b3..94deb53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Test-MockModule-0.05.tar.gz
+/Test-MockModule-0.09.tar.gz
diff --git a/perl-Test-MockModule.spec b/perl-Test-MockModule.spec
index f20e320..44becdb 100644
--- a/perl-Test-MockModule.spec
+++ b/perl-Test-MockModule.spec
@@ -1,16 +1,15 @@
 Name:           perl-Test-MockModule
-Version:        0.05
-Release:        22%{?dist}
+Version:        0.09
+Release:        1%{?dist}
 Summary:        Override subroutines in a module for unit testing
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Test-MockModule/
 Source0:        http://search.cpan.org/CPAN/authors/id/S/SI/SIMONFLK/Test-MockModule-%{version}.tar.gz
-
 BuildArch:      noarch
 BuildRequires:  perl(CGI)
 BuildRequires:  perl(Test::More), perl(Test::Pod), perl(Test::Pod::Coverage)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Module::Build), perl(SUPER)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -20,26 +19,26 @@ Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 %setup -q -n Test-MockModule-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make
+%{__perl} Build.PL installdirs=vendor
+./Build
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
-make test
+./Build test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
+%license LICENSE
 %{perl_vendorlib}/Test
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Fri Mar 27 2015 Tom Callaway <spot@xxxxxxxxxxxxxxxxx> - 0.09-1
+- update to 0.09
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.05-22
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 7425703..0c215e3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1b013aeeb221f83e7f325a2f98169296  Test-MockModule-0.05.tar.gz
+0006964fcda710fcf2832924cdb67546  Test-MockModule-0.09.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Test-MockModule.git/commit/?h=master&id=4046004494803386deba4b6351a9fa002c3bd6d9
--
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