2024-08-04 18:18:16 +00:00
committed by Git OBS Bridge
parent fc3b2bb097
commit 885882f75b

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Tree-Simple
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,23 @@
%define cpan_name Tree-Simple
Name: perl-Tree-Simple
Version: 1.34
Version: 1.340.0
Release: 0
Summary: Simple tree object
# 1.34 -> normalize -> 1.340.0
%define cpan_version 1.34
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Simple tree object
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/%{cpan_name}-%{version}.tgz
Source0: https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/%{cpan_name}-%{cpan_version}.tgz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Exception) >= 0.150000
BuildRequires: perl(Test::Exception) >= 0.15
BuildRequires: perl(Test::More) >= 1.001002
Provides: perl(Tree::Simple) = %{version}
Provides: perl(Tree::Simple::Visitor) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -70,7 +75,7 @@ module cannot keep up with your Tree needs, i suggest switching to one of
the modules listed in the OTHER TREE MODULES section below.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor