Remove the optional tests if they are disabled
This commit is contained in:
parent
7965aaa3a6
commit
05ce8a6808
@ -7,7 +7,7 @@
|
||||
|
||||
Name: perl-Tie-IxHash
|
||||
Version: 1.23
|
||||
Release: 25%{?dist}
|
||||
Release: 26%{?dist}
|
||||
Summary: Ordered associative arrays for Perl
|
||||
|
||||
License: GPL+ or Artistic
|
||||
@ -15,6 +15,7 @@ URL: https://metacpan.org/release/Tie-IxHash
|
||||
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHORNY/Tie-IxHash-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
@ -48,6 +49,10 @@ familiar perl array operations can also be performed on the IxHash.
|
||||
# Fix line endings
|
||||
sed -i -e 's/\r$//' Changes README
|
||||
|
||||
%if !%{with perl_Tie_IxHash_enables_optional_test} || %{defined perl_bootstrap}
|
||||
rm t/pod.t
|
||||
perl -i -ne 'print $_ unless m{^t/pod\.t}' MANIFEST
|
||||
%endif
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
@ -70,6 +75,9 @@ make test
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 03 2021 Petr Pisar <ppisar@redhat.com> - 1.23-26
|
||||
- Remove the optional tests if they are disabled
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user