|
|
|
@ -1,6 +1,13 @@
|
|
|
|
|
# Perform optional tests
|
|
|
|
|
%if 0%{?rhel} > 8
|
|
|
|
|
%bcond_with perl_Crypt_DES_enables_optional_test
|
|
|
|
|
%else
|
|
|
|
|
%bcond_without perl_Crypt_DES_enables_optional_test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: perl-Crypt-DES
|
|
|
|
|
Version: 2.07
|
|
|
|
|
Release: 23%{?dist}
|
|
|
|
|
Release: 24%{?dist}
|
|
|
|
|
Summary: Perl DES encryption module
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://metacpan.org/release/Crypt-DES
|
|
|
|
@ -20,8 +27,10 @@ BuildRequires: perl(vars)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(Benchmark)
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
%if %{with perl_Crypt_DES_enables_optional_test}
|
|
|
|
|
# Optional tests:
|
|
|
|
|
BuildRequires: perl(Crypt::CBC) > 1.22
|
|
|
|
|
%endif
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
@ -53,6 +62,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/Crypt::DES.3pm*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Feb 22 2021 Petr Pisar <ppisar@redhat.com> - 2.07-24
|
|
|
|
|
- Disable optional tests on RHEL > 8
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-23
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|