[perl-Text-Table] 1.120 bump - clean deffattr - license changed since 1.120 to ISC = BSD (2 clause)

Marcela Mašláňová mmaslano at fedoraproject.org
Mon May 16 06:56:00 UTC 2011


commit d8a8647d1a921187a87cb18610be6b569d54c87b
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Mon May 16 08:55:27 2011 +0200

    1.120 bump
    - clean deffattr
    - license changed since 1.120 to ISC = BSD (2 clause)

 .gitignore           |    1 +
 perl-Text-Table.spec |   26 +++++++++++++++++---------
 sources              |    2 +-
 3 files changed, 19 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9a2d4f0..d55a23e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ Text-Table-1.114.tar.gz
 /Text-Table-1.116.tar.gz
 /Text-Table-1.117.tar.gz
 /Text-Table-1.118.tar.gz
+/Text-Table-1.120.tar.gz
diff --git a/perl-Text-Table.spec b/perl-Text-Table.spec
index bc70606..bda460a 100644
--- a/perl-Text-Table.spec
+++ b/perl-Text-Table.spec
@@ -1,16 +1,20 @@
 Name:           perl-Text-Table
-Version:        1.118
+Version:        1.120
 Release:        1%{?dist}
 Summary:        Organize Data in Tables
-License:        GPL+ or Artistic
+License:        BSD
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Text-Table/
 Source0:        http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Text-Table-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Text::Aligner) >= 0.05
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
 # Tests only:
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
 Requires:       perl(Text::Aligner) >= 0.05
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -30,25 +34,29 @@ requirements as you use them.
 %setup -q -n Text-Table-%{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 {} \;
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test
+./Build test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri May 16 2011 Marcela Mašláňová <mmaslano at redhat.com> 1.120-1
+- 1.120 bump
+- clean deffattr
+- license changed since 1.120 to ISC = BSD (2 clause)
+
 * Fri May  6 2011 Marcela Mašláňová <mmaslano at redhat.com> 1.118-1
 - 1.118 bump
 
diff --git a/sources b/sources
index 875015b..2ece832 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cfa0c4c503bf81d29be86d2f0beceba6  Text-Table-1.118.tar.gz
+d5b8c43c76ec95392ca048694c13034e  Text-Table-1.120.tar.gz


More information about the scm-commits mailing list