[packages/perl-Crypt-CipherSaber] Up to 1.01

arekm arekm at pld-linux.org
Thu Nov 19 10:33:46 CET 2026


commit a1d8ec3cbbde398500c8941fc97d43506aebfa9b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 19 00:19:28 2026 +0100

    Up to 1.01

 perl-Crypt-CipherSaber.spec | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/perl-Crypt-CipherSaber.spec b/perl-Crypt-CipherSaber.spec
index cbf2c23..14c6724 100644
--- a/perl-Crypt-CipherSaber.spec
+++ b/perl-Crypt-CipherSaber.spec
@@ -1,18 +1,25 @@
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+
 %define		pdir	Crypt
 %define		pnam	CipherSaber
 Summary:	Crypt::CipherSaber Perl module - interface to CipherSaber 1 and 2 encryptions
 Summary(pl.UTF-8):	Moduł Perla Crypt::CipherSaber - interfejs do szyfrów CipherSaber 1 i 2
 Name:		perl-Crypt-CipherSaber
-Version:	1.00
-Release:	3
+Version:	1.01
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	a00b3e2591cc5f880a110cc53a0b2c7b
+Source0:	https://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	802f300d7d688427ee661165948bad31
 URL:		http://search.cpan.org/dist/Crypt-CipherSaber/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Test-Warn >= 0.30
+%endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -32,6 +39,8 @@ interfejs do szyfrów CipherSaber-1 i CipherSaber-2.
 	INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-CipherSaber.git/commitdiff/a1d8ec3cbbde398500c8941fc97d43506aebfa9b



More information about the pld-cvs-commit mailing list