[packages/perl-Digest-HMAC] - updated to 1.05
qboosh
qboosh at pld-linux.org
Mon Sep 15 21:01:31 CEST 2025
commit 541cb2b7be3240c4297c222020f0ec97a83bb838
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Sep 15 21:04:18 2025 +0200
- updated to 1.05
perl-Digest-HMAC.spec | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/perl-Digest-HMAC.spec b/perl-Digest-HMAC.spec
index 246dfeb..550bbe1 100644
--- a/perl-Digest-HMAC.spec
+++ b/perl-Digest-HMAC.spec
@@ -1,24 +1,25 @@
#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
%define pdir Digest
%define pnam HMAC
Summary: Digest::HMAC - keyed-hashing for message authentication
Summary(pl.UTF-8): Digest::HMAC - haszowanie z kluczem dla uwierzytelnienia wiadomości
Name: perl-Digest-HMAC
-Version: 1.03
+Version: 1.05
Release: 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: e6a5d6f552da16eacb5157ea4369ff9d
-URL: http://search.cpan.org/dist/Digest-HMAC/
-BuildRequires: perl-devel >= 1:5.8.0
+Source0: https://www.cpan.org/modules/by-module/Digest/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: cbeca4ad4c21c241080cd6ee47bdca6e
+URL: https://metacpan.org/dist/Digest-HMAC
+BuildRequires: perl-devel >= 1:5.8.1
BuildRequires: perl-Digest-MD5 >= 2.00
BuildRequires: perl-Digest-SHA1 >= 1.00
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -40,6 +41,7 @@ opisany w RFC 2104.
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
+
%{__make}
%{?with_tests:%{__make} test}
@@ -56,5 +58,9 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README Changes
-%{perl_vendorlib}/Digest/HMAC*.pm
-%{_mandir}/man3/Digest::HMAC*.3pm*
+%{perl_vendorlib}/Digest/HMAC.pm
+%{perl_vendorlib}/Digest/HMAC_MD5.pm
+%{perl_vendorlib}/Digest/HMAC_SHA1.pm
+%{_mandir}/man3/Digest::HMAC.3pm*
+%{_mandir}/man3/Digest::HMAC_MD5.3pm*
+%{_mandir}/man3/Digest::HMAC_SHA1.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Digest-HMAC.git/commitdiff/541cb2b7be3240c4297c222020f0ec97a83bb838
More information about the pld-cvs-commit
mailing list