fix auto requirement for perl(-norequire) [release 1.48-2mamba;Mon Sep 11 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 09:55:51 +01:00
parent d3db5043c0
commit ae963df43f

View File

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