[perl-Crypt-CBC] Fix FTBFS, improve test coverage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 2323d5be5489f635f4705c97e7b3c5f9bcbca062
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Sat Apr 21 22:08:32 2012 +0100

    Fix FTBFS, improve test coverage
    
    - BR: perl(bytes), perl(constant), perl(Digest::MD5) - required by module
    - BR: perl(Crypt::Blowfish), perl(Crypt::Blowfish_PP), perl(Crypt::DES),
      perl(Crypt::Rijndael) for improved test coverage, except when bootstrapping

 perl-Crypt-CBC.spec |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/perl-Crypt-CBC.spec b/perl-Crypt-CBC.spec
index 7e1f5d1..5f8d78b 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: 9%{?dist}
+Release: 10%{?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
@@ -11,7 +11,20 @@ Source0: http://search.cpan.org/CPAN/authors/id/L/LD/LDS/Crypt-CBC-%{version}.ta
 BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(bytes)
+BuildRequires: perl(constant)
+BuildRequires: perl(Digest::MD5)
 BuildRequires: perl(ExtUtils::MakeMaker)
+# Modules used for test suite, skipped when bootstrapping as
+# some of these modules use Crypt::CBC themselves
+# Crypt::CAST5 not yet packaged in Fedora
+# Crypt::IDEA is unavailable due to patents
+%if 0%{!?perl_bootstrap:1}
+BuildRequires: perl(Crypt::Blowfish)
+BuildRequires: perl(Crypt::Blowfish_PP)
+BuildRequires: perl(Crypt::DES)
+BuildRequires: perl(Crypt::Rijndael)
+%endif
 
 %description
 This is Crypt::CBC, a Perl-only implementation of the cryptographic
@@ -48,6 +61,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sat Apr 21 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 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),
+  perl(Crypt::Rijndael) for improved test coverage, except when bootstrapping
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.29-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
@@ -58,7 +76,7 @@ rm -rf $RPM_BUILD_ROOT
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Wed Dec 15 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 2.29-6
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 2.29-5
 - Mass rebuild with perl-5.12.0
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux