[packages/perl-List-SomeUtils] - updated URL and BR
qboosh
qboosh at pld-linux.org
Sun Jun 14 18:41:44 CEST 2026
commit 30a8d8c1ea32d87cea58dcd8082562e5c32bc282
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 14 18:42:06 2026 +0200
- updated URL and BR
perl-List-SomeUtils.spec | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/perl-List-SomeUtils.spec b/perl-List-SomeUtils.spec
index 11dd7e9..4b6c65b 100644
--- a/perl-List-SomeUtils.spec
+++ b/perl-List-SomeUtils.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
%define pdir List
%define pnam SomeUtils
@@ -14,11 +14,16 @@ License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: https://www.cpan.org/modules/by-module/List/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 333b4adb2907deff2be8da5899881453
-URL: https://search.cpan.org/dist/List-SomeUtils/
+URL: https://metacpan.org/dist/List-SomeUtils
+BuildRequires: perl-ExtUtils-MakeMaker
+BuildRequires: perl-Text-ParseWords
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
-BuildRequires: perl-Module-Implementation
+BuildRequires: perl-Module-Implementation >= 0.04
+BuildRequires: perl-Scalar-List-Utils
+BuildRequires: perl-Storable
BuildRequires: perl-Test-LeakTrace
BuildRequires: perl-Test-Simple >= 0.96
%endif
@@ -40,9 +45,12 @@ List::Util.
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
+
%{__make}
-%{?with_tests:%{__make} test}
+%if %{with tests}
+%{__make} test
+%endif
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-List-SomeUtils.git/commitdiff/30a8d8c1ea32d87cea58dcd8082562e5c32bc282
More information about the pld-cvs-commit
mailing list