Fix dependencies for ELN

This commit is contained in:
Jitka Plesnikova 2021-02-22 22:45:04 +01:00
parent aa223acd62
commit 7f3e1ff35d

View File

@ -8,7 +8,7 @@
Name: perl-Compress-Raw-Zlib
Version: 2.101
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Low-level interface to the zlib compression library
# Zlib.xs: (GPL+ or Artistic) and zlib
# Others: GPL+ or Artistic
@ -45,6 +45,10 @@ BuildRequires: perl(XSLoader)
# Test Suite
BuildRequires: perl(File::Path)
BuildRequires: perl(threads::shared)
# Dual-lived module needs rebuilding early in the boot process
%if !%{defined perl_bootstrap}
BuildRequires: perl(Test::More)
%endif
%if %{with perl_Compress_Raw_Zlib_enables_optional_test}
# Optional Tests
BuildRequires: perl(File::Temp)
@ -53,7 +57,6 @@ BuildRequires: perl(overload)
# Dual-lived module needs rebuilding early in the boot process
%if !%{defined perl_bootstrap}
# Release tests are deleted
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::NoWarnings)
%endif
%endif
@ -160,6 +163,9 @@ make test COMPRESS_ZLIB_RUN_MOST=1
%{_libexecdir}/%{name}
%changelog
* Mon Feb 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.101-3
- Fix dependencies for ELN
* Mon Feb 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.101-2
- Package tests