8
0

Accepting request 1102941 from devel:languages:perl:autoupdate

- new version format, see https://github.com/openSUSE/cpanspec/issues/47
- updated to 0.28
   see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes

OBS-URL: https://build.opensuse.org/request/show/1102941
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Selector-XPath?expand=0&rev=13
This commit is contained in:
2023-08-08 15:11:18 +00:00
committed by Git OBS Bridge
parent 61f52eabd1
commit dcd9b95f3d
4 changed files with 17 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Selector-XPath
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,17 +18,20 @@
%define cpan_name HTML-Selector-XPath
Name: perl-HTML-Selector-XPath
Version: 0.26
Version: 0.280.0
Release: 0
Summary: CSS Selector to XPath compiler
%define cpan_version 0.28
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: CSS Selector to XPath compiler
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Base)
Provides: perl(HTML::Selector::XPath) = 0.280.0
%define __perllib_provides /bin/true
%{perl_requires}
%description
@@ -36,7 +39,7 @@ HTML::Selector::XPath is a utility function to compile full set of CSS2 and
partial CSS3 selectors to the equivalent XPath expression.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor