Update to 0.11
- New upstream release 0.11 - CPAN RT#74317: imported url validation from CPAN::Meta - CPAN RT#66692: updated license type - Updates to examples - BR: perl(Test::CPAN::Meta) rather than perl(Test::CPAN::Meta::YAML) - Don't need to remove empty directories from buildroot - Use DESTDIR rather than PERL_INSTALL_ROOT - Drop %defattr, redundant since rpm 4.4
This commit is contained in:
parent
e08d961332
commit
3f3cc66829
@ -1,6 +1,6 @@
|
||||
Name: perl-Test-CPAN-Meta-JSON
|
||||
Version: 0.10
|
||||
Release: 3%{?dist}
|
||||
Version: 0.11
|
||||
Release: 1%{?dist}
|
||||
Summary: Validate a META.json file within a CPAN distribution
|
||||
Group: Development/Libraries
|
||||
License: Artistic 2.0
|
||||
@ -14,7 +14,7 @@ BuildRequires: perl(IO::File)
|
||||
BuildRequires: perl(JSON) >= 2.15
|
||||
BuildRequires: perl(Test::Builder)
|
||||
BuildRequires: perl(Test::Builder::Tester)
|
||||
BuildRequires: perl(Test::CPAN::Meta::YAML)
|
||||
BuildRequires: perl(Test::CPAN::Meta)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
@ -40,9 +40,8 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
@ -52,13 +51,22 @@ make test AUTOMATED_TESTING=1
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README examples/
|
||||
%{perl_vendorlib}/Test/
|
||||
%{_mandir}/man3/Test::CPAN::Meta::JSON.3pm*
|
||||
%{_mandir}/man3/Test::CPAN::Meta::JSON::Version.3pm*
|
||||
|
||||
%changelog
|
||||
* Sun Apr 15 2012 Paul Howarth <paul@city-fan.org> - 0.11-1
|
||||
- Update to 0.11
|
||||
- CPAN RT#74317: imported url validation from CPAN::Meta
|
||||
- CPAN RT#66692: updated license type
|
||||
- Updates to examples
|
||||
- BR: perl(Test::CPAN::Meta) rather than perl(Test::CPAN::Meta::YAML)
|
||||
- Don't need to remove empty directories from buildroot
|
||||
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
||||
- Drop %%defattr, redundant since rpm 4.4
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user