[packages/perl-Digest-MD5] - refreshed spec, up to 2.59
qboosh
qboosh at pld-linux.org
Wed Sep 24 19:09:29 CEST 2025
commit 2515a30fc211be7a1697ab172e20a53c023db25b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Sep 24 19:12:28 2025 +0200
- refreshed spec, up to 2.59
perl-Digest-MD5.spec | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/perl-Digest-MD5.spec b/perl-Digest-MD5.spec
index 37f25d2..6d4457f 100644
--- a/perl-Digest-MD5.spec
+++ b/perl-Digest-MD5.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
%define pdir Digest
%define pnam MD5
@@ -25,19 +25,20 @@ Summary(sv.UTF-8): Ett Perl-gränssnitt till kontrollsummealgoritmen MD5
Summary(uk.UTF-8): Алгоритм генерації "цифрового підпису": MD5
Summary(zh_CN.UTF-8): 一个到 MD5 消化算法的 perl 界面。
Name: perl-Digest-MD5
-Version: 2.58
-Release: 1
+# 2.59 already in perl 5.42+
+Version: 2.59
+Release: 0.1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/Digest/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 39543642b1f4773d77def620df3f592a
+Source0: https://www.cpan.org/modules/by-module/Digest/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 7e71158bdcc194d1f07587256aa8ee6a
URL: https://metacpan.org/dist/Digest-MD5
%{?with_tests:BuildRequires: perl-Encode}
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: rpmbuild(macros) >= 1.745
-Obsoletes: perl-MD5
+Obsoletes: perl-MD5 < 2.07
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautoreq_perl Digest::Perl::MD5
@@ -118,6 +119,7 @@ eller fingeravtryck) som en funktion av data av godtycklig storlek.
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
+
%{__make} \
CC="%{__cc}" \
OPTIMIZE="%{rpmcflags}"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Digest-MD5.git/commitdiff/2515a30fc211be7a1697ab172e20a53c023db25b
More information about the pld-cvs-commit
mailing list