[perl-Crypt-CBC] Do not build-require Crypt::Blowfish, Crypt::Blowfish_PP, and Crypt::Rijndael on RHEL >= 7 Resolves:
Marcela Mašláňová
mmaslano at fedoraproject.org
Mon Jun 11 07:25:43 UTC 2012
commit a650bddf48d70267d5a87f4d264da7cb38c0cc16
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Mon Jun 11 09:25:10 2012 +0200
Do not build-require Crypt::Blowfish, Crypt::Blowfish_PP, and Crypt::Rijndael
on RHEL >= 7
Resolves: rhbz#822812
perl-Crypt-CBC.spec | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
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á <mmaslano at redhat.com> - 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 <paul at city-fan.org> - 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),
More information about the scm-commits
mailing list