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:
parent
d9dbe2fe5c
commit
316eea4477
@ -1,6 +1,6 @@
|
||||
Name: perl-Test-Warnings
|
||||
Version: 0.014
|
||||
Release: 2%{?dist}
|
||||
Version: 0.015
|
||||
Release: 1%{?dist}
|
||||
Summary: Test for warnings and the lack of them
|
||||
License: GPL+ or Artistic
|
||||
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
|
||||
BuildArch: noarch
|
||||
# Build
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||
# Module
|
||||
BuildRequires: perl(Exporter)
|
||||
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}
|
||||
|
||||
%build
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%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
|
||||
./Build test
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes CONTRIBUTING LICENSE README README.md examples/
|
||||
@ -70,6 +73,12 @@ perl Build.PL --installdirs=vendor
|
||||
%{_mandir}/man3/Test::Warnings.3pm*
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user