Update to 0.15

- New upstream release 0.15
  - Adjusted packaging and tests to become perl-5.6 friendly, including only
    using core or dual-lifed prerequisites
- Switch to ExtUtils::MakeMaker flow
This commit is contained in:
Paul Howarth 2014-06-20 10:58:40 +01:00
parent d9dbe2fe5c
commit 316eea4477
2 changed files with 17 additions and 8 deletions

View File

@ -1,6 +1,6 @@
Name: perl-Test-Warnings Name: perl-Test-Warnings
Version: 0.014 Version: 0.015
Release: 2%{?dist} Release: 1%{?dist}
Summary: Test for warnings and the lack of them Summary: Test for warnings and the lack of them
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -8,7 +8,8 @@ URL: http://search.cpan.org/dist/Test-Warnings
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Warnings-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Warnings-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Build # Build
BuildRequires: perl(Module::Build::Tiny) >= 0.035 BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
# Module # Module
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder)
@ -55,14 +56,16 @@ with use Test::Warnings; whether or not your tests have a plan.
%setup -q -n Test-Warnings-%{version} %setup -q -n Test-Warnings-%{version}
%build %build
perl Build.PL --installdirs=vendor perl Makefile.PL INSTALLDIRS=vendor
./Build make %{?_smp_mflags}
%install %install
./Build install --destdir=%{buildroot} --create_packlist=0 make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
%check %check
./Build test make test
%files %files
%doc Changes CONTRIBUTING LICENSE README README.md examples/ %doc Changes CONTRIBUTING LICENSE README README.md examples/
@ -70,6 +73,12 @@ perl Build.PL --installdirs=vendor
%{_mandir}/man3/Test::Warnings.3pm* %{_mandir}/man3/Test::Warnings.3pm*
%changelog %changelog
* Fri Jun 20 2014 Paul Howarth <paul@city-fan.org> - 0.015-1
- Update to 0.15
- Adjusted packaging and tests to become perl-5.6 friendly, including only
using core or dual-lifed prerequisites
- Switch to ExtUtils::MakeMaker flow
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.014-2 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.014-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

View File

@ -1 +1 @@
d8fed8dc1790bb76cc828ba354fb3a8c Test-Warnings-0.014.tar.gz 9ae44c9e00f1e24e058959a98fb5531a Test-Warnings-0.015.tar.gz