forked from pool/perl-SVG
WIP: Automatic update to SVG-2.88.tar.gz #1
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b3fa58c1c59942b4ebef003da97c3e01e531480ca29e8efbe327ff0589c0bd3c
|
||||
size 55282
|
||||
BIN
SVG-2.88.tar.gz
LFS
Normal file
BIN
SVG-2.88.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 24 06:18:30 UTC 2026 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 2.880.0 (2.88)
|
||||
see /usr/share/doc/packages/perl-SVG/Changes
|
||||
|
||||
2.88 2026.02.23 MANWAR
|
||||
[Bug Fix]
|
||||
- Fixed: element methods (circle, title, rect, path, etc.) were
|
||||
unavailable when module was loaded with empty import list
|
||||
'use SVG ()'.
|
||||
Perl suppresses the call to import() with empty parens, so element
|
||||
methods were never predeclared. Fixed by predeclaring all built-in
|
||||
element methods in SVG::Element at load time, regardless of how
|
||||
SVG.pm is imported. (RT issue: #132058)
|
||||
[Test]
|
||||
- Added t/33-use-empty-import.t to test element methods with 'use SVG ()'
|
||||
[Fixes]
|
||||
- Fixed xt/author/pod-coverage.t to include 'use lib lib' so module is
|
||||
found correctly when running tests from the distribution root
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 20 03:09:01 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-SVG
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,12 +18,14 @@
|
||||
|
||||
%define cpan_name SVG
|
||||
Name: perl-SVG
|
||||
Version: 2.87
|
||||
Version: 2.880.0
|
||||
Release: 0
|
||||
# 2.88 -> normalize -> 2.880.0
|
||||
%define cpan_version 2.88
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Perl extension for generating Scalable Vector Graphics (SVG) documents
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Source100: README.md
|
||||
BuildArch: noarch
|
||||
@@ -32,6 +34,12 @@ BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More) >= 0.94
|
||||
BuildRequires: perl(parent)
|
||||
Requires: perl(parent)
|
||||
Provides: perl(SVG) = %{version}
|
||||
Provides: perl(SVG::DOM) = %{version}
|
||||
Provides: perl(SVG::Element) = %{version}
|
||||
Provides: perl(SVG::Extension) = %{version}
|
||||
Provides: perl(SVG::XML) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -42,8 +50,9 @@ into it, access the DOM object, create and access javascript, and generate
|
||||
SMIL animation content.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
|
||||
Reference in New Issue
Block a user