[packages/perl-IO-Socket-IP] - updated BR
qboosh
qboosh at pld-linux.org
Sat Jun 13 20:22:33 CEST 2026
commit 7c3ae2f4fb6adab8c92f80a6f2c57e21effa3e39
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jun 13 20:22:55 2026 +0200
- updated BR
perl-IO-Socket-IP.spec | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/perl-IO-Socket-IP.spec b/perl-IO-Socket-IP.spec
index ec8f82b..364bc7a 100644
--- a/perl-IO-Socket-IP.spec
+++ b/perl-IO-Socket-IP.spec
@@ -15,8 +15,12 @@ Group: Development/Languages/Perl
Source0: https://www.cpan.org/modules/by-module/IO/PEVANS/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 7d0908e82db87a1921ebfd88139cb9d7
URL: https://metacpan.org/dist/IO-Socket-IP
-BuildRequires: perl-Module-Build
-BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: perl-Module-Build >= 0.4004
+BuildRequires: perl-devel >= 1:5.14
+%if %{with tests}
+BuildRequires: perl(Test2::V0)
+BuildRequires: perl-Socket >= 1.97
+%endif
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -39,9 +43,12 @@ Większość argumentów konstruktora i metod jest zgodna wstecznie.
%{__perl} Build.PL \
destdir=$RPM_BUILD_ROOT \
installdirs=vendor
+
./Build
-%{?with_tests:./Build test}
+%if %{with tests}
+./Build test
+%endif
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-IO-Socket-IP.git/commitdiff/7c3ae2f4fb6adab8c92f80a6f2c57e21effa3e39
More information about the pld-cvs-commit
mailing list