#
%define pdir Test
%define pnam Warnings
-%include /usr/lib/rpm/macros.perl
Summary: Test::Warnings - Test for warnings and the lack of them
Summary(pl.UTF-8): Test::Warnings - testowanie pod kątem ostrzeżeń i ich braku
Name: perl-Test-Warnings
-Version: 0.020
+Version: 0.031
Release: 1
# same as perl 5
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: c5d923fd727fea3f4b3aa91bad5ccf47
-URL: http://search.cpan.org/dist/Test-Warnings/
+# Source0-md5: f608f7011b0bb8f27d3a27e646a52f60
+URL: https://metacpan.org/release/Test-Warnings
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
-BuildRequires: perl-Test-Deep
BuildRequires: perl-Test-Simple >= 0.94
-BuildRequires: perl-Test-Tester >= 0.108
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%files
%defattr(644,root,root,755)
-%doc CONTRIBUTING Changes README
+%doc Changes README
%{perl_vendorlib}/Test/Warnings.pm
%{_mandir}/man3/Test::Warnings.3pm*
%{_examplesdir}/%{name}-%{version}