[packages/perl-HTML-Form] - adjusted Source URL for missing updates in top HTML dir, updated BR
qboosh
qboosh at pld-linux.org
Mon Jun 15 20:18:43 CEST 2026
commit ee2336197aa8376dba2ca95cda2160d5d1c82e97
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jun 15 20:19:07 2026 +0200
- adjusted Source URL for missing updates in top HTML dir, updated BR
perl-HTML-Form.spec | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/perl-HTML-Form.spec b/perl-HTML-Form.spec
index 8ae2326..188fc65 100644
--- a/perl-HTML-Form.spec
+++ b/perl-HTML-Form.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
%define pdir HTML
%define pnam Form
@@ -12,16 +12,18 @@ Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
+Source0: https://www.cpan.org/modules/by-module/HTML/OALDERS/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 681a7b59289a4f45c6dbf27b778bd2d0
URL: https://metacpan.org/release/HTML-Form
+BuildRequires: perl-ExtUtils-MakeMaker
BuildRequires: perl-devel >= 1:5.8.8
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
BuildRequires: perl-Encode >= 2
BuildRequires: perl-HTML-Parser
-BuildRequires: perl-HTTP-Message >= 6
+BuildRequires: perl-HTTP-Message >= 7.01
+BuildRequires: perl-Test-Simple >= 0.96
BuildRequires: perl-Test-Warnings
BuildRequires: perl-URI >= 1.10
%endif
@@ -54,9 +56,12 @@ klasy LWP::UserAgent.
%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-HTML-Form.git/commitdiff/ee2336197aa8376dba2ca95cda2160d5d1c82e97
More information about the pld-cvs-commit
mailing list