[packages/perl-Crypt-URandom] - updated dependencies
qboosh
qboosh at pld-linux.org
Wed Nov 18 21:15:09 CET 2026
commit 61d51929abd5b1caae976a468840846ca00b439b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Nov 18 21:15:09 2026 +0100
- updated dependencies
perl-Crypt-URandom.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/perl-Crypt-URandom.spec b/perl-Crypt-URandom.spec
index 33b544d..9805cf4 100644
--- a/perl-Crypt-URandom.spec
+++ b/perl-Crypt-URandom.spec
@@ -15,11 +15,14 @@ Group: Development/Languages/Perl
Source0: https://www.cpan.org/modules/by-module/Crypt/DDICK/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 60c244edf9cdb18e5dd509703672fc20
URL: https://metacpan.org/dist/Crypt-URandom
+BuildRequires: perl-ExtUtils-MakeMaker
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
+BuildRequires: perl(Carp) >= 1.26
BuildRequires: perl-Test-Pod >= 1.14
+BuildRequires: perl-Test-Simple
%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -42,11 +45,14 @@ Obecnie obsługiwane są wszystkie obsługujące getrandom(2),
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
+
%{__make} \
CC="%{__cc}" \
OPTIMIZE="%{rpmcflags}"
-%{?with_tests:%{__make} test}
+%if %{with tests}
+%{__make} test
+%endif
%install
rm -rf $RPM_BUILD_ROOT
@@ -62,5 +68,5 @@ rm -rf $RPM_BUILD_ROOT
%doc Changes README
%{perl_vendorarch}/Crypt/URandom.pm
%dir %{perl_vendorarch}/auto/Crypt/URandom
-%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/URandom/URandom.so
+%{perl_vendorarch}/auto/Crypt/URandom/URandom.so
%{_mandir}/man3/Crypt::URandom.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-URandom.git/commitdiff/61d51929abd5b1caae976a468840846ca00b439b
More information about the pld-cvs-commit
mailing list