[perl-Class-ErrorHandler] Update to 0.03

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

 



commit 0dac9f71e6ca83b4977c1aa5b74ff3510e8fc374
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue Oct 1 15:05:34 2013 +0100

    Update to 0.03
    
    - New upstream release 0.03
      - Minl migrate
    - Switch to Module::Build flow
    - Classify build requirements by usage
    - Drop %defattr, redundant since rpm 4.4
    - Drop EPEL-5 support since there's no CPAN::Meta there
    - Make %files list more explicit
    - Don't use macros for commands

 .gitignore                   |    3 +-
 perl-Class-ErrorHandler.spec |   78 ++++++++++++++++++++++--------------------
 sources                      |    2 +-
 3 files changed, 43 insertions(+), 40 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d33b66f..86852f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-Class-ErrorHandler-0.01.tar.gz
-/Class-ErrorHandler-0.02.tar.gz
+/Class-ErrorHandler-[0-9.]*.tar.gz
diff --git a/perl-Class-ErrorHandler.spec b/perl-Class-ErrorHandler.spec
index 6db88ab..e1d6522 100644
--- a/perl-Class-ErrorHandler.spec
+++ b/perl-Class-ErrorHandler.spec
@@ -1,30 +1,37 @@
 Name:           perl-Class-ErrorHandler
-Version:        0.02
-Release:        2%{?dist}
+Version:        0.03
+Release:        1%{?dist}
 Summary:        Class::ErrorHandler Perl module
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Class-ErrorHandler/
 Source0:        http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Class-ErrorHandler-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl
-BuildRequires:  perl(Config)
-BuildRequires:  perl(Cwd)
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(ExtUtils::MM_Unix)
-BuildRequires:  perl(ExtUtils::Manifest)
-BuildRequires:  perl(Fcntl)
-BuildRequires:  perl(File::Find)
+# ---------------------------
+# Module build requirements
+# ---------------------------
+BuildRequires:  perl >= 3:5.8.1
+BuildRequires:  perl(CPAN::Meta)
+BuildRequires:  perl(CPAN::Meta::Prereqs)
+BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(File::Spec)
-BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(warnings)
+# ---------------------------
+# Module runtime requirements
+# ---------------------------
 BuildRequires:  perl(strict)
 BuildRequires:  perl(vars)
-BuildRequires:  perl-Pod-Perldoc
-# Tests:
+# ---------------------------
+# Test suite requirements
+# ---------------------------
 BuildRequires:  perl(base)
 BuildRequires:  perl(Test)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# ---------------------------
+# Runtime requirements
+# ---------------------------
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This is Class::ErrorHandler, a base class for classes that need to do
@@ -34,35 +41,32 @@ error handling (which is, probably, most of them).
 %setup -q -n Class-ErrorHandler-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Build.PL installdirs=vendor
+./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-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 \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
-
-perldoc -t perlgpl > COPYING
-perldoc -t perlartistic > Artistic
+./Build install destdir=%{buildroot} create_packlist=0
+%{_fixperms} %{buildroot}
 
 %check
-make test
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+./Build test
 
 %files
-%defattr(-,root,root,-)
-%doc Changes README COPYING Artistic
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc Changes LICENSE README.md
+%{perl_vendorlib}/Class/
+%{_mandir}/man3/Class::ErrorHandler.3pm*
 
 %changelog
+* Tue Oct  1 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.03-1
+- Update to 0.03
+  - Minl migrate
+- Switch to Module::Build flow
+- Classify build requirements by usage
+- Drop %%defattr, redundant since rpm 4.4
+- Drop EPEL-5 support since there's no CPAN::Meta there
+- Make %%files list more explicit
+- Don't use macros for commands
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.02-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -94,7 +98,7 @@ rm -rf $RPM_BUILD_ROOT
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Wed Dec 15 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.01-10
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.01-9
 - Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index cac7588..a10dae0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b516490ce7cf919d690f40f68c59a37c  Class-ErrorHandler-0.02.tar.gz
+1335940a9467e98abfedd85bc09938d1  Class-ErrorHandler-0.03.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