[packages/perl-HTTP-Response-Encoding] - pl, cleanup

qboosh qboosh at pld-linux.org
Wed Jun 1 19:20:04 CEST 2022


commit 2ce5e6fc24f82806b6414a3a115f6b7f6827ad72
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jun 1 19:21:13 2022 +0200

    - pl, cleanup

 perl-HTTP-Response-Encoding.spec | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/perl-HTTP-Response-Encoding.spec b/perl-HTTP-Response-Encoding.spec
index cd12f21..bcdad1a 100644
--- a/perl-HTTP-Response-Encoding.spec
+++ b/perl-HTTP-Response-Encoding.spec
@@ -1,11 +1,11 @@
 #
 # Conditional build:
-%bcond_without	autodeps	# don't BR packages needed only for resolving deps
-%bcond_without	tests		# do not perform "make test"
+%bcond_without	tests	# unit tests
 #
 %define	pdir	HTTP
 %define	pnam	Response-Encoding
 Summary:	HTTP::Response::Encoding - Adds encoding() to HTTP::Response
+Summary(pl.UTF-8):	HTTP::Response::Encoding - dodanie encoding() do HTTP::Response
 Name:		perl-HTTP-Response-Encoding
 Version:	0.06
 Release:	1
@@ -14,17 +14,25 @@ License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/HTTP/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	7e1d46f2d88022580e1a18bb7ac4ab71
-URL:		http://search.cpan.org/dist/HTTP-Response-Encoding/
-%{?with_tests:BuildRequires:	perl-Test-Pod >= 1.14}
-%{?with_tests:BuildRequires:	perl-Test-Pod-Coverage >= 1.04}
+URL:		https://metacpan.org/dist/HTTP-Response-Encoding
 BuildRequires:	perl-devel >= 1:5.8.0
-%{?with_tests:BuildRequires:	perl-libwww}
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
+%if %{with tests}
+BuildRequires:	perl-Test-Pod >= 1.14
+BuildRequires:	perl-Test-Pod-Coverage >= 1.04
+BuildRequires:	perl-libwww
+%endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This module adds the following methods to HTTP::Response objects.
+This module adds the following methods to HTTP::Response objects:
+charset, encoder, encoding.
+
+%description -l pl.UTF-8
+Ten moduł dodaje do obiektów HTTP::Response metody: charset, encoder,
+encoding.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -50,4 +58,4 @@ rm -rf $RPM_BUILD_ROOT
 %doc Changes README
 %dir %{perl_vendorlib}/HTTP/Response
 %{perl_vendorlib}/HTTP/Response/Encoding.pm
-%{_mandir}/man3/*
+%{_mandir}/man3/HTTP::Response::Encoding.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-HTTP-Response-Encoding.git/commitdiff/2ce5e6fc24f82806b6414a3a115f6b7f6827ad72



More information about the pld-cvs-commit mailing list