commit 2b10f872e4c41a61b4ce724592ccf31ea9233790 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Thu Feb 13 16:55:25 2014 +0000 Update to 0.07 - New upstream release 0.07: - Repository moved to the github moose organization - This release by ETHER -> update source URL - Switch to Module::Build::Tiny flow - Package upstream's CONTRIBUTING and README.md files - Don't need to remove empty directories from the buildroot - Don't bother with the author/release tests perl-Class-Load-XS.spec | 44 ++++++++++++++++++++++++-------------------- sources | 2 +- 2 files changed, 25 insertions(+), 21 deletions(-) --- diff --git a/perl-Class-Load-XS.spec b/perl-Class-Load-XS.spec index cf8cc7d..e536c97 100644 --- a/perl-Class-Load-XS.spec +++ b/perl-Class-Load-XS.spec @@ -1,40 +1,32 @@ -#TODO: BR: Test::Pod::No404s when available -#TODO: BR: Test::Pod::LinkCheck when available - Name: perl-Class-Load-XS -Version: 0.06 -Release: 4%{?dist} +Version: 0.07 +Release: 1%{?dist} Summary: XS implementation of parts of Class::Load Group: Development/Libraries License: Artistic 2.0 URL: http://search.cpan.org/dist/Class-Load-XS/ -Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-XS-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Load-XS-%{version}.tar.gz # =================================================================== # Module build requirements # =================================================================== -BuildRequires: perl(Module::Build) +BuildRequires: perl(Module::Build::Tiny) >= 0.034 # =================================================================== # Module requirements # =================================================================== BuildRequires: perl(Class::Load) >= 0.20 +BuildRequires: perl(XSLoader) # =================================================================== # Regular test suite requirements # =================================================================== BuildRequires: perl(constant) +BuildRequires: perl(lib) BuildRequires: perl(Module::Implementation) >= 0.04 BuildRequires: perl(Test::Fatal) -BuildRequires: perl(Test::More) +BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::Without::Module) BuildRequires: perl(version) # =================================================================== -# Author/Release test requirements -# =================================================================== -BuildRequires: perl(Test::CPAN::Changes) -BuildRequires: perl(Test::EOL) -BuildRequires: perl(Test::NoTabs) -BuildRequires: perl(Test::Pod) -# =================================================================== # Runtime requirements # =================================================================== Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -48,26 +40,38 @@ See Class::Load for API details. %prep %setup -q -n Class-Load-XS-%{version} +# Put the XS file where Module::Build::Tiny expects to find it +# https://github.com/moose/Class-Load-XS/issues/1 +mv XS.xs lib/Class/Load/ + %build -perl Build.PL installdirs=vendor optimize="%{optflags}" +perl Build.PL --installdirs=vendor ./Build %install -./Build install destdir=%{buildroot} create_packlist=0 +./Build install --destdir=%{buildroot} --create_packlist=0 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' -find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null %{_fixperms} %{buildroot} %check -RELEASE_TESTING=1 ./Build test +./Build test %files -%doc Changes LICENSE README +%doc Changes CONTRIBUTING LICENSE README README.md %{perl_vendorarch}/auto/Class/ %{perl_vendorarch}/Class/ %{_mandir}/man3/Class::Load::XS.3pm* %changelog +* Thu Feb 13 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.07-1 +- Update to 0.07: + - Repository moved to the github moose organization +- This release by ETHER -> update source URL +- Switch to Module::Build::Tiny flow +- Package upstream's CONTRIBUTING and README.md files +- Don't need to remove empty directories from the buildroot +- Don't bother with the author/release tests + * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.06-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index db49c4c..2373d74 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a3e73647f84eb8bd26847c3dda78f0d3 Class-Load-XS-0.06.tar.gz +ae36673ed4be02aa03df210a1d4e8756 Class-Load-XS-0.07.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