|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Regexp-Common
|
|
|
|
|
Version: 2016060201
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Regexp::Common Perl module
|
|
|
|
|
# Old Artistic 1.0 is also valid, but we won't list it here since it is non-free.
|
|
|
|
|
# Also, it would throw off the automated license check and flag this package.
|
|
|
|
@ -11,8 +11,6 @@ Source0: http://www.cpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-%{version}.ta
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%bcond_with author_tests
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
@ -27,11 +25,6 @@ BuildRequires: perl(warnings)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::Regexp)
|
|
|
|
|
|
|
|
|
|
%if %{with author_tests}
|
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -49,7 +42,7 @@ make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make %{?with_author_tests:AUTHOR_TESTING=1} test
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc TODO README
|
|
|
|
@ -57,6 +50,9 @@ make %{?with_author_tests:AUTHOR_TESTING=1} test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jun 07 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 2016060201-2
|
|
|
|
|
- Reflect upstream having removed author-tests.
|
|
|
|
|
|
|
|
|
|
* Tue Jun 07 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 2016060201-1
|
|
|
|
|
- Upstream update to 2016060201.
|
|
|
|
|
|
|
|
|
|