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:
parent
3e38181bd2
commit
6e7edecc13
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user