2.12 bump, documentation fixes

- %license is now supported in EPEL too
This commit is contained in:
Petr Šabata 2016-03-05 11:47:41 +01:00
parent 591fc7cfbb
commit f2bc4c8277
2 changed files with 13 additions and 10 deletions

View File

@ -1,21 +1,24 @@
Name: perl-Class-Method-Modifiers Name: perl-Class-Method-Modifiers
Summary: Provides Moose-like method modifiers Summary: Provides Moose-like method modifiers
Version: 2.11 Version: 2.12
Release: 7%{?dist} Release: 1%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Class-Method-Modifiers URL: http://search.cpan.org/dist/Class-Method-Modifiers
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Method-Modifiers-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Method-Modifiers-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Module Runtime # Module Runtime
BuildRequires: perl(B) BuildRequires: perl(B)
BuildRequires: perl(base) BuildRequires: perl(base)
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Test Suite # Test Suite
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(if) BuildRequires: perl(if)
@ -64,23 +67,23 @@ make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot} %{_fixperms} %{buildroot}
%check %check
make test make test
%files %files
%if 0%{?_licensedir:1}
%license LICENSE %license LICENSE
%else
%doc LICENSE
%endif
%doc Changes CONTRIBUTING README t/ %doc Changes CONTRIBUTING README t/
%{perl_vendorlib}/Class/ %{perl_vendorlib}/Class/
%{_mandir}/man3/Class::Method::Modifiers.3* %{_mandir}/man3/Class::Method::Modifiers.3*
%changelog %changelog
* Sat Mar 05 2016 Petr Šabata <contyk@redhat.com> - 2.12-1
- 2.12 bump, documentation fixes
- %%license is now supported in EPEL too
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-7 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1 @@
c6982e9e89325713d5afaff82cfe1744 Class-Method-Modifiers-2.11.tar.gz f55400c7a8134acf3657f8af89bdd7af Class-Method-Modifiers-2.12.tar.gz