[packages/perl-Convert-PEM] - updated to 0.13; run tests - release 1

adamg adamg at pld-linux.org
Wed Nov 25 08:07:52 CET 2026


commit d93acfdb4ce9c59b146c68f5a77beefd380c2cf4
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Wed Nov 25 08:07:49 2026 +0100

    - updated to 0.13; run tests
    - release 1

 perl-Convert-PEM.spec | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/perl-Convert-PEM.spec b/perl-Convert-PEM.spec
index e6c1e8a..c951248 100644
--- a/perl-Convert-PEM.spec
+++ b/perl-Convert-PEM.spec
@@ -1,25 +1,34 @@
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+
 %define		pdir	Convert
 %define		pnam	PEM
 Summary:	Convert::PEM Perl module - access to ASN.1-encoded PEM files
 Summary(pl.UTF-8):	Moduł Perla Convert::PEM - dostęp do plików PEM kodowanych ASN.1
 Name:		perl-Convert-PEM
-Version:	0.08
-Release:	2
+Version:	0.13
+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:	a55c927457035806228e62b403551f13
+# Source0-md5:	bfbebff5d145fe7120a3a2372f5f924f
 URL:		http://search.cpan.org/dist/Convert-PEM/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	perl-Class-ErrorHandler
-BuildRequires:	perl-Convert-ASN1 >= 0.10
+BuildRequires:	perl-Convert-ASN1 >= 0.34
 BuildRequires:	perl-Crypt-DES_EDE3
+BuildRequires:	perl-CryptX
 BuildRequires:	perl-Digest-MD5
 BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Test-Exception
+%endif
 Requires:	perl-Class-ErrorHandler
-Requires:	perl-Convert-ASN1 >= 0.10
+Requires:	perl-Convert-ASN1 >= 0.34
 Requires:	perl-Crypt-DES_EDE3
+Requires:	perl-CryptX
 Requires:	perl-Digest-MD5
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -42,6 +51,8 @@ zaszyfrowane algorytmem symetrycznym, takim jak na przykład 3DES.
 	INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Convert-PEM.git/commitdiff/d93acfdb4ce9c59b146c68f5a77beefd380c2cf4



More information about the pld-cvs-commit mailing list