[perl-TheSchwartz] Update to 1.11

Emmanuel Seyman eseyman at fedoraproject.org
Sun Nov 9 02:18:11 UTC 2014


commit 6df1201e309608ddb9e9b95b7ad24c0c8c7df123
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun Nov 9 03:18:00 2014 +0100

    Update to 1.11

 .gitignore            |    1 +
 perl-TheSchwartz.spec |   24 +++++++++++++-----------
 sources               |    2 +-
 3 files changed, 15 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ef3ed4d..7c5374a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 TheSchwartz-1.10.tar.gz
+/TheSchwartz-1.11.tar.gz
diff --git a/perl-TheSchwartz.spec b/perl-TheSchwartz.spec
index b63de09..58f1880 100644
--- a/perl-TheSchwartz.spec
+++ b/perl-TheSchwartz.spec
@@ -1,10 +1,10 @@
 Name:           perl-TheSchwartz
-Version:        1.10
-Release:        15%{?dist}
+Version:        1.11
+Release:        1%{?dist}
 Summary:        Reliable job queue
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/TheSchwartz/
-Source0:        http://search.cpan.org/CPAN/authors/id/S/SI/SIXAPART/TheSchwartz-1.10.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/J/JF/JFEARN/TheSchwartz-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl(Data::ObjectDriver)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -23,28 +23,30 @@ atomically to perform. Failed jobs can be left in the queue to retry later.
 %setup -q -n TheSchwartz-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__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 -depth -type d -exec rmdir {} 2>/dev/null \;
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test
+./Build test
 
 %files
-%doc CHANGES
+%doc CHANGES doc README.md
 %{perl_vendorlib}/*
 %{_mandir}/man1/*
 %{_mandir}/man3/*
 %{_bindir}/schwartzmon
 
 %changelog
+* Sun Nov 09 2014 Emmanuel Seyman <emmanuel at seyman.fr> - 1.11-1
+- Update to 1.11
+- Move from Make to Module::Build as buildsystem
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.10-15
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index fb1d110..c87c71c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2225bd8190671b49e3a29b8f866b7afb  TheSchwartz-1.10.tar.gz
+ff7a33bf3ebd8c9fc16f23fb7df2fca7  TheSchwartz-1.11.tar.gz



More information about the perl-devel mailing list