From d82bee7028329b34164ecc82a9c85f60bc7bae34 Mon Sep 17 00:00:00 2001 From: Petr Šabata Date: Jun 04 2015 13:33:54 +0000 Subject: 0.14 bump - Update source URL - Modernize the SPEC --- diff --git a/.gitignore b/.gitignore index e4747c5..3ab22d9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Class-C3-Adopt-NEXT-0.13.tar.gz +/Class-C3-Adopt-NEXT-0.14.tar.gz diff --git a/perl-Class-C3-Adopt-NEXT.spec b/perl-Class-C3-Adopt-NEXT.spec index 64fb0ba..c284761 100644 --- a/perl-Class-C3-Adopt-NEXT.spec +++ b/perl-Class-C3-Adopt-NEXT.spec @@ -1,23 +1,28 @@ -Name: perl-Class-C3-Adopt-NEXT -Version: 0.13 -Release: 12%{?dist} -# lib/Class/C3/Adopt/NEXT.pm -> GPL+ or Artistic -License: GPL+ or Artistic -Group: Development/Libraries -Summary: Reduce one's dependency on NEXT -Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Class-C3-Adopt-NEXT-%{version}.tar.gz -Url: http://search.cpan.org/dist/Class-C3-Adopt-NEXT -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -BuildArch: noarch - -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 -BuildRequires: perl(List::MoreUtils) -BuildRequires: perl(MRO::Compat) -BuildRequires: perl(NEXT) -# test -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Exception) >= 0.27 +Name: perl-Class-C3-Adopt-NEXT +Version: 0.14 +Release: 1%{?dist} +License: GPL+ or Artistic +Summary: Reduce one's dependency on NEXT +Source: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-C3-Adopt-NEXT-%{version}.tar.gz +Url: http://search.cpan.org/dist/Class-C3-Adopt-NEXT +BuildArch: noarch +# Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(List::Util) >= 1.33 +BuildRequires: perl(MRO::Compat) +BuildRequires: perl(NEXT) +BuildRequires: perl(warnings::register) +# Tests only +BuildRequires: perl(base) +BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) +BuildRequires: perl(Test::Exception) >= 0.27 +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description NEXT was a good solution a few years ago, but isn't any more. It's @@ -31,37 +36,32 @@ but using Class::C3 to do the hard work. You can then write new code without 'NEXT', and migrate individual source files to use 'Class::C3' or method modifiers as appropriate, at whatever pace you're comfortable with. - - %prep %setup -q -n Class-C3-Adopt-NEXT-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install -rm -rf %{buildroot} - -make pure_install PERL_INSTALL_ROOT=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' - +make pure_install DESTDIR=%{buildroot} %{_fixperms} %{buildroot}/* %check make test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) -%doc Changes +%license LICENSE +%doc Changes CONTRIBUTING README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Thu Jun 04 2015 Petr Šabata - 0.14-1 +- 0.14 bump +- Update source URL +- Modernize the SPEC + * Fri Aug 29 2014 Jitka Plesnikova - 0.13-12 - Perl 5.20 rebuild diff --git a/sources b/sources index 8209cc9..78fff84 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4b4a59b5004ab7e715315e3131773e04 Class-C3-Adopt-NEXT-0.13.tar.gz +dd16e50e9c9898cde69e25db77da9035 Class-C3-Adopt-NEXT-0.14.tar.gz