[packages/perl-Crypt-Cracklib] - disable tests, rel 13
baggins
baggins at pld-linux.org
Sat May 8 22:30:58 CEST 2021
commit 253f761d0294a445c40f506674998dfc0f8fcda2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat May 8 22:30:32 2021 +0200
- disable tests, rel 13
no-tests.patch | 13 +++++++++++++
perl-Crypt-Cracklib.spec | 5 ++++-
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/perl-Crypt-Cracklib.spec b/perl-Crypt-Cracklib.spec
index eb08df0..f57e1a1 100644
--- a/perl-Crypt-Cracklib.spec
+++ b/perl-Crypt-Cracklib.spec
@@ -4,14 +4,16 @@ Summary: Crypt::Cracklib - Perl interface to Cracklib
Summary(pl.UTF-8): Crypt::Cracklib - perlowy interfejs do biblioteki Cracklib
Name: perl-Crypt-Cracklib
Version: 1.7
-Release: 12
+Release: 13
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 8179f32d7470780e001532bcb6cb4080
+Patch0: no-tests.patch
URL: http://search.cpan.org/dist/Crypt-Cracklib/
BuildRequires: cracklib-devel
+BuildRequires: perl-Module-Install
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -25,6 +27,7 @@ Aleca Muffetta.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \
diff --git a/no-tests.patch b/no-tests.patch
new file mode 100644
index 0000000..0dbeeca
--- /dev/null
+++ b/no-tests.patch
@@ -0,0 +1,13 @@
+--- Crypt-Cracklib-1.7/Makefile.PL~ 2010-12-30 00:30:32.000000000 +0100
++++ Crypt-Cracklib-1.7/Makefile.PL 2021-05-08 22:29:34.609180449 +0200
+@@ -8,10 +8,6 @@
+ homepage 'https://github.com/dsully/perl-crypt-cracklib';
+ bugtracker 'https://github.com/dsully/perl-crypt-cracklib/issues';
+
+-test_requires 'Test::Pod::Coverage' => '1.08';
+-test_requires 'Pod::Coverage' => '0.19';
+-test_requires 'Test::More' => '0.47';
+-
+ requires_external_cc();
+
+ cc_lib_links('crack');
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-Cracklib.git/commitdiff/253f761d0294a445c40f506674998dfc0f8fcda2
More information about the pld-cvs-commit
mailing list