[packages/perl-XML-Generator] - macros version to ensure perl macros are loaded

qboosh qboosh at pld-linux.org
Fri Oct 9 08:09:24 CEST 2020


commit c1691522f51e2056936bc548588ba5d22fe04aba
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 9 08:09:17 2020 +0200

    - macros version to ensure perl macros are loaded

 perl-XML-Generator.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/perl-XML-Generator.spec b/perl-XML-Generator.spec
index 7b13a47..79d9a10 100644
--- a/perl-XML-Generator.spec
+++ b/perl-XML-Generator.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without	tests	# do not perform "make test"
+%bcond_without	tests	# unit tests
 #
 %define		pdir	XML
 %define		pnam	Generator
@@ -14,9 +14,10 @@ License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/XML/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	1ea1e239bdf3fd6f762c484753776626
-URL:		http://search.cpan.org/dist/XML-Generator/
-BuildRequires:	rpm-perlprov >= 4.1-13
+URL:		https://metacpan.org/release/XML-Generator
 BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -51,4 +52,4 @@ rm -rf $RPM_BUILD_ROOT
 %{perl_vendorlib}/XML/Generator.pm
 %dir %{perl_vendorlib}/XML/Generator
 %{perl_vendorlib}/XML/Generator/DOM.pm
-%{_mandir}/man3/*
+%{_mandir}/man3/XML::Generator*.3*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-XML-Generator.git/commitdiff/c1691522f51e2056936bc548588ba5d22fe04aba



More information about the pld-cvs-commit mailing list