From ae963df43f0dc375eef0ddc5c6bf4c69539c085d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:55:51 +0100 Subject: [PATCH] fix auto requirement for perl(-norequire) [release 1.48-2mamba;Mon Sep 11 2023] --- perl-XML-XPath.spec | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/perl-XML-XPath.spec b/perl-XML-XPath.spec index cd2be23..a50440e 100644 --- a/perl-XML-XPath.spec +++ b/perl-XML-XPath.spec @@ -1,17 +1,16 @@ %define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) -Name: perl-XML-XPath -Version: 1.47 -Release: 2mamba -Summary: XML::XPath - a set of modules for parsing and evaluating XPath -Group: Development/Libraries/Perl +Name: perl-XML-XPath +Version: 1.48 +Release: 2mamba +Summary: XML::XPath - a set of modules for parsing and evaluating XPath +Group: Development/Libraries/Perl Vendor: openmamba Distribution: openmamba -Packager: Silvan Calarco -URL: https://www.cpan.org -Source: https://cpan.metacpan.org/modules/by-module/XML/XML-XPath-%{version}.tar.gz -License: GPL -Requires: perl >= %perl_major_ver +Packager: Silvan Calarco +URL: https://www.cpan.org +Source: https://cpan.metacpan.org/modules/by-module/XML/XML-XPath-%{version}.tar.gz +License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: libperl BuildRequires: perl-Encode @@ -19,13 +18,14 @@ BuildRequires: perl-Scalar-List-Utils BuildRequires: perl-XML-Parser BuildRequires: perl-devel ## AUTOBUILDREQ-END -BuildRequires: perl >= 2:5.36.0 +Requires: perl >= %perl_major_ver %description This module aims to comply exactly to the XPath. %prep %setup -q -n XML-XPath-%{version} +%global __requires_exclude ^perl.*norequire.* %build perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor @@ -52,8 +52,11 @@ done %defattr(-,root,root) %changelog -* Tue Apr 18 2023 Sdk Build System 1.47-2mamba -- rebuilt with perl 5.36.0 +* Mon Sep 11 2023 Silvan Calarco 1.48-2mamba +- fix auto requirement for perl(-norequire) + +* Wed Aug 10 2022 Automatic Build System 1.48-1mamba +- automatic version update by autodist * Sat May 14 2022 Automatic Build System 1.47-1mamba - automatic version update by autodist