[packages/perl-WWW-Form] Up to 1.23
arekm
arekm at pld-linux.org
Thu Nov 19 13:07:53 CET 2026
commit e6146b922f709d3c88d037d45235fde201907073
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 19 01:10:48 2026 +0100
Up to 1.23
perl-WWW-Form.spec | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/perl-WWW-Form.spec b/perl-WWW-Form.spec
index a7f989c..cb4eb82 100644
--- a/perl-WWW-Form.spec
+++ b/perl-WWW-Form.spec
@@ -7,15 +7,16 @@
Summary: Object-oriented module for HTML form input validation and display
Summary(pl.UTF-8): Obiektowo zorientowany moduł do sprawdzania poprawności i wyświetlania formularzy HTML
Name: perl-WWW-Form
-Version: 1.18
-Release: 2
+Version: 1.23
+Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/WWW/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: b3de0bb7571a73d3316536b947077ede
+Source0: https://www.cpan.org/authors/id/S/SH/SHLOMIF/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 14181269d80f47652f109df4197a5557
URL: http://search.cpan.org/dist/WWW-Form/
-BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: perl-Module-Build >= 0.28
+BuildRequires: perl-devel >= 1:5.14
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -31,23 +32,24 @@ formularzy HTML.
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
-%{__perl} Makefile.PL \
- INSTALLDIRS=vendor
+%{__perl} Build.PL
-%{__make}
-%{?with_tests:%{__make} test}
+./Build
+
+%{?with_tests:./Build test}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+./Build install \
+ --destdir=$RPM_BUILD_ROOT \
+ --installdirs=vendor
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc Changes README
+%doc Changes README.md
%{perl_vendorlib}/WWW/*
%{_mandir}/man3/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-WWW-Form.git/commitdiff/e6146b922f709d3c88d037d45235fde201907073
More information about the pld-cvs-commit
mailing list