Update to 0.12

- New upstream release 0.12
  - Move variable declaration to fix warning under
    -Werror=declaration-after-statement, to allow compilation under MSVC (GH#3)
  - Converted distribution packaging to Dist::Zilla
  - Fix licence in LICENSE and pod
- Package new upstream CONTRIBUTING and LICENSE files
- Classify buildreqs by usage
This commit is contained in:
Paul Howarth 2014-09-23 16:39:25 +01:00
parent 3e38181bd2
commit 6e7edecc13
2 changed files with 30 additions and 9 deletions

View File

@ -1,21 +1,28 @@
# TODO: BR: perl(B::C) when available
Name: perl-Sub-Name
Version: 0.09
Release: 2%{?dist}
Version: 0.12
Release: 1%{?dist}
Summary: Name - or rename - a sub
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Sub-Name/
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Sub-Name-%{version}.tar.gz
# Module Build
BuildRequires: perl
BuildRequires: perl(base)
BuildRequires: perl(Devel::CheckBin)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
# Test Suite
BuildRequires: perl(B::Deparse)
BuildRequires: perl(Devel::CheckBin)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::More) >= 0.88
# Optional Tests
BuildRequires: perl(CPAN::Meta) >= 2.120900
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Don't "provide" private perl objects
@ -45,12 +52,26 @@ find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
make test
%files
%doc Changes README
%if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%doc Changes CONTRIBUTING README
%{perl_vendorarch}/auto/Sub/
%{perl_vendorarch}/Sub/
%{_mandir}/man3/Sub::Name.3pm*
%changelog
* Tue Sep 23 2014 Paul Howarth <paul@city-fan.org> - 0.12-1
- Update to 0.12
- Move variable declaration to fix warning under
-Werror=declaration-after-statement, to allow compilation under MSVC (GH#3)
- Converted distribution packaging to Dist::Zilla
- Fix licence in LICENSE and pod
- Package new upstream CONTRIBUTING and LICENSE files
- Classify buildreqs by usage
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-2
- Perl 5.20 rebuild

View File

@ -1 +1 @@
24f2fadd4e4c42907cfcd7c03ee8f4c8 Sub-Name-0.09.tar.gz
421afad5e34c0b4f753d578d99be535f Sub-Name-0.12.tar.gz