diff --git a/perl-Crypt-CBC.spec b/perl-Crypt-CBC.spec index 5f8d78b..72e15df 100644 --- a/perl-Crypt-CBC.spec +++ b/perl-Crypt-CBC.spec @@ -1,7 +1,7 @@ Summary: Encrypt Data with Cipher Block Chaining Mode Name: perl-Crypt-CBC Version: 2.29 -Release: 10%{?dist} +Release: 11%{?dist} # Upstream confirms that they're under the same license as perl. # Wording in CBC.pm is less than clear, but still. License: GPL+ or Artistic @@ -20,11 +20,13 @@ BuildRequires: perl(ExtUtils::MakeMaker) # Crypt::CAST5 not yet packaged in Fedora # Crypt::IDEA is unavailable due to patents %if 0%{!?perl_bootstrap:1} +BuildRequires: perl(Crypt::DES) +%if ! (0%{?rhel} >= 7) BuildRequires: perl(Crypt::Blowfish) BuildRequires: perl(Crypt::Blowfish_PP) -BuildRequires: perl(Crypt::DES) BuildRequires: perl(Crypt::Rijndael) %endif +%endif %description This is Crypt::CBC, a Perl-only implementation of the cryptographic @@ -61,6 +63,11 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/*.3* %changelog +* Mon Jun 11 2012 Marcela Mašláňová - 2.29-11 +- Do not build-require Crypt::Blowfish, Crypt::Blowfish_PP, and Crypt::Rijndael + on RHEL >= 7 +- Resolves: rhbz#822812 + * Sat Apr 21 2012 Paul Howarth - 2.29-10 - BR: perl(bytes), perl(constant), perl(Digest::MD5) - required by module - BR: perl(Crypt::Blowfish), perl(Crypt::Blowfish_PP), perl(Crypt::DES),