Update to 2.10
- New upstream release 2.10 - Remove erroneous perl 5.8 requirement - Support for handling lvalue methods - Convert to building with Dist::Zilla - Repository migrated to the github moose organization - Refresh configure_requires checking in generated Makefile.PL - New CONTRIBUTING file - Updated tests: - Compile test now only runs for authors - Check-deps test replaced by information-only report-prereqs test - Drop obsoletes/provides for old tests sub-package - Drop redundant Group tag - Classify buildreqs by usage - Make %files list more explicit
This commit is contained in:
parent
d19f4bc814
commit
437b889747
|
@ -1,8 +1 @@
|
|||
Class-Method-Modifiers-1.05.tar.gz
|
||||
/Class-Method-Modifiers-1.07.tar.gz
|
||||
/Class-Method-Modifiers-1.08.tar.gz
|
||||
/Class-Method-Modifiers-1.09.tar.gz
|
||||
/Class-Method-Modifiers-1.10.tar.gz
|
||||
/Class-Method-Modifiers-1.12.tar.gz
|
||||
/Class-Method-Modifiers-2.00.tar.gz
|
||||
/Class-Method-Modifiers-2.03.tar.gz
|
||||
/Class-Method-Modifiers-[0-9.]*.tar.gz
|
||||
|
|
|
@ -1,24 +1,40 @@
|
|||
Name: perl-Class-Method-Modifiers
|
||||
Summary: Provides Moose-like method modifiers
|
||||
Version: 2.03
|
||||
Release: 3%{?dist}
|
||||
Version: 2.10
|
||||
Release: 1%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Method-Modifiers-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/Class-Method-Modifiers
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Method-Modifiers-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: perl(Class::MOP)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36
|
||||
# Module Build
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||
# Module Runtime
|
||||
BuildRequires: perl(B)
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Test Suite
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(List::Util)
|
||||
BuildRequires: perl(Test::Fatal)
|
||||
BuildRequires: perl(Test::More)
|
||||
|
||||
# obsolete/provide old tests subpackage
|
||||
# can be removed during F19 development cycle
|
||||
Obsoletes: %{name}-tests < 1.08-3
|
||||
Provides: %{name}-tests = %{version}-%{release}
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(if)
|
||||
BuildRequires: perl(version)
|
||||
# Optional Test Requirements
|
||||
%if 0%{!?perl_bootstrap:1}
|
||||
BuildRequires: perl(CPAN::Meta)
|
||||
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120900
|
||||
BuildRequires: perl(Moose)
|
||||
%endif
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(B)
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Exporter)
|
||||
|
||||
# Avoid doc-file dependencies
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
|
@ -40,6 +56,9 @@ particular modifiers work.
|
|||
%prep
|
||||
%setup -q -n Class-Method-Modifiers-%{version}
|
||||
|
||||
# Drop unnecessary exec permissions from test files
|
||||
chmod -c -x t/*.t
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
@ -47,18 +66,33 @@ make %{?_smp_mflags}
|
|||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes LICENSE README t/
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*.3*
|
||||
%doc Changes CONTRIBUTING LICENSE README README.md t/
|
||||
%{perl_vendorlib}/Class/
|
||||
%{_mandir}/man3/Class::Method::Modifiers.3*
|
||||
|
||||
%changelog
|
||||
* Sun Mar 16 2014 Paul Howarth <paul@city-fan.org> <paul@city-fan.org> - 2.10-1
|
||||
- Update to 2.10
|
||||
- Remove erroneous perl 5.8 requirement
|
||||
- Support for handling lvalue methods
|
||||
- Convert to building with Dist::Zilla
|
||||
- Repository migrated to the github moose organization
|
||||
- Refresh configure_requires checking in generated Makefile.PL
|
||||
- New CONTRIBUTING file
|
||||
- Updated tests:
|
||||
- Compile test now only runs for authors
|
||||
- Check-deps test replaced by information-only report-prereqs test
|
||||
- Drop obsoletes/provides for old tests sub-package
|
||||
- Drop redundant Group tag
|
||||
- Classify buildreqs by usage
|
||||
- Make %%files list more explicit
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.03-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue