fix auto requirement for perl(-norequire) [release 1.48-2mamba;Mon Sep 11 2023]
This commit is contained in:
parent
d3db5043c0
commit
ae963df43f
@ -1,7 +1,7 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-XML-XPath
|
||||
Version: 1.47
|
||||
Version: 1.48
|
||||
Release: 2mamba
|
||||
Summary: XML::XPath - a set of modules for parsing and evaluating XPath
|
||||
Group: Development/Libraries/Perl
|
||||
@ -11,7 +11,6 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
## 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 <sdk@mambasoft.it> 1.47-2mamba
|
||||
- rebuilt with perl 5.36.0
|
||||
* Mon Sep 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.48-2mamba
|
||||
- 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
|
||||
- automatic version update by autodist
|
||||
|
Loading…
Reference in New Issue
Block a user