[perl-Class-Base] update to 0.04

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

 



commit 4fdaffd59fc9a4c1cdb05b9712e17193663eb4e2
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Wed Feb 8 10:45:52 2012 +0100

    update to 0.04

 .gitignore           |    1 +
 perl-Class-Base.spec |   30 ++++++++++++------------------
 sources              |    2 +-
 3 files changed, 14 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 572b006..d194386 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Class-Base-0.03.tar.gz
+/Class-Base-0.04.tar.gz
diff --git a/perl-Class-Base.spec b/perl-Class-Base.spec
index 705057a..b7dfa26 100644
--- a/perl-Class-Base.spec
+++ b/perl-Class-Base.spec
@@ -1,19 +1,17 @@
 Name:           perl-Class-Base
-Version:        0.03
-Release:        11%{?dist}
+Version:        0.04
+Release:        1%{?dist}
 Summary:        Useful base class for deriving other modules
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Class-Base/
-Source0:        http://www.cpan.org/authors/id/A/AB/ABW/Class-Base-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/Class-Base-%{version}.tar.gz
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
 
-# core
-BuildRequires: perl(ExtUtils::MakeMaker)
-# cpan
-
+%?perl_default_filter
 
 %description
 This module implements a simple base class from which other modules can be
@@ -23,16 +21,12 @@ init(), params(), clone(), error() and debug().
 %prep
 %setup -q -n Class-Base-%{version}
 
-chmod -c -x test.pl
-
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -42,16 +36,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
-%doc Changes README TODO test.pl
+%doc Changes README TODO
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Feb 08 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.04-1
+- update to latest upstream version
+- clean up and modernize spec
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.03-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index c1e6157..1593ee0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-213f52c9747d2ea861c92bcd02842353  Class-Base-0.03.tar.gz
+526cc491f2a02991fce061bcc13e2fa8  Class-Base-0.04.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