Compare commits
5 Commits
Author | SHA256 | Date | |
---|---|---|---|
0969ce18a4 | |||
af780f8e72 | |||
2f0a7d7661 | |||
2e79e8a19d | |||
753ec3d0c8 |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
## Build Results
|
||||||
|
|
||||||
|
Current state of perl in openSUSE:Factory is
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The current state of perl in the devel project build (devel:languages:perl)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:22d9de3d6e6f4afd89e6d825c664f9482878bd49e29cb81342a707af40542d3d
|
|
||||||
size 54680
|
|
3
Tree-DAG_Node-1.35.tgz
Normal file
3
Tree-DAG_Node-1.35.tgz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:27467e3644c8dfbb08e26e6d698a75ef7c1b1a810bda9fca50f922eea5429eb1
|
||||||
|
size 66530
|
@@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 13 05:37:11 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.350.0 (1.35)
|
||||||
|
see /usr/share/doc/packages/perl-Tree-DAG_Node/Changelog.ini
|
||||||
|
|
||||||
|
[V 1.35]
|
||||||
|
Date=2025-05-12T17:00:00
|
||||||
|
Comments= <<EOT
|
||||||
|
- Change sub hashref2string() line 726 so it does not generate an error or warning when
|
||||||
|
the node or node name is '' (empty string), undef or 0 (zero).
|
||||||
|
- Change test data so that when stringifying a tree, node names without attributes are
|
||||||
|
output as (e.g.) 'lexeme: Attributes{}' rather than as just 'lexeme'. This was alleged
|
||||||
|
to have been done as per the last dot point under v 1.34 below, but was not done properly.
|
||||||
|
- This last point also affects the related module Data::RenderAsTree, which ships with a
|
||||||
|
range of test programs and sample scripts which futher exercise these features.
|
||||||
|
The point of these latter samples is so you can use them without having to fiddle about
|
||||||
|
removing the test code in the corresponding test scripts.
|
||||||
|
EOT
|
||||||
|
|
||||||
|
[V 1.34]
|
||||||
|
Date=2025-04-23T17:01:00
|
||||||
|
Comments= <<EOT
|
||||||
|
- Thanx to Shawn Laffan for reporting a problem with line-endings in files read and written,
|
||||||
|
by both Tree::DAG_Node and t/read.tree.t, when he tests under Strawberry Perl.
|
||||||
|
- The 2 test files t/tree.with*.txt ship as ISO-8859-1 while t/tree.utf8.attributes.txt ships
|
||||||
|
as UTF-8. So...
|
||||||
|
- Don't explicitly use UTF-8 encoding in DAG_Node.pm's sub read_tree(). Rather, use a regexp
|
||||||
|
to standardize line endings after reading. Likewise, in t/read.tree.t, do the same.
|
||||||
|
- I have un-commented the 2 extra tests at the end of t/read.tree.t. Specifically,
|
||||||
|
line 50 was 'for (qw/utf8/)# with without/)'. It now says 'for (qw/utf8 with without/)'
|
||||||
|
- Reformat test data files t/tree.*.attributes.txt
|
||||||
|
This was done with the new files share/read.write.tree.(pl, sh).
|
||||||
|
And it was done because some of the test data files had been written
|
||||||
|
by old code with slightly different indenting.
|
||||||
|
- Add a new test data file, t/metag.cooked.tree.txt
|
||||||
|
It's a copy of MarpaX::Grammar::Parser's share/metag.cooked.tree.
|
||||||
|
The test program t/read.tree.t was edited to include this new file.
|
||||||
|
- Patch tree::DAG_Node.format_node() to output 'Attributes: {}' and not just 'Attributes:'
|
||||||
|
when the user does not want attributes reported. This makes the code match the sample
|
||||||
|
trees shipped in t/.
|
||||||
|
EOT
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 30 05:34:38 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.330.0 (1.33)
|
||||||
|
see /usr/share/doc/packages/perl-Tree-DAG_Node/Changelog.ini
|
||||||
|
|
||||||
|
[V 1.33]
|
||||||
|
Date=2025-03-20T11:16:00
|
||||||
|
Deploy.Action=Upgrade
|
||||||
|
Deploy.Reason=Security
|
||||||
|
Comments= <<EOT
|
||||||
|
- Replace the discouraged File::Slurp::Tiny with File::Slurper.
|
||||||
|
Thanx to Marcel Telka for the report.
|
||||||
|
But why not use File::Slurp? Because...
|
||||||
|
https://blogs.perl.org/users/leon_timmermans/2015/08/fileslurp-is-broken-and-wrong.html
|
||||||
|
- Add a security policy file SECURITY.md
|
||||||
|
- Update Makefile.PL to include both ExtUtils::MakeMaker and perl.
|
||||||
|
EOT
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 2 03:11:28 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
Tue Feb 2 03:11:28 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Tree-DAG_Node
|
# spec file for package perl-Tree-DAG_Node
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,21 +18,28 @@
|
|||||||
|
|
||||||
%define cpan_name Tree-DAG_Node
|
%define cpan_name Tree-DAG_Node
|
||||||
Name: perl-Tree-DAG_Node
|
Name: perl-Tree-DAG_Node
|
||||||
Version: 1.32
|
Version: 1.350.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An N-ary tree
|
# 1.35 -> normalize -> 1.350.0
|
||||||
|
%define cpan_version 1.35
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
|
Summary: An N-ary tree
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
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
|
Source1: cpanspec.yml
|
||||||
|
Source100: README.md
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(File::Slurp::Tiny) >= 0.003
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.7
|
||||||
|
BuildRequires: perl(File::Slurper) >= 0.14.0
|
||||||
BuildRequires: perl(File::Spec) >= 3.4
|
BuildRequires: perl(File::Spec) >= 3.4
|
||||||
BuildRequires: perl(File::Temp) >= 0.19
|
BuildRequires: perl(File::Temp) >= 0.19
|
||||||
BuildRequires: perl(Test::More) >= 1.001002
|
BuildRequires: perl(Test::More) >= 1.001002
|
||||||
Requires: perl(File::Slurp::Tiny) >= 0.003
|
Requires: perl(ExtUtils::MakeMaker) >= 7.7
|
||||||
|
Requires: perl(File::Slurper) >= 0.14.0
|
||||||
|
Provides: perl(Tree::DAG_Node) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -45,7 +52,9 @@ you from ever making any kinds of linkages which are not allowed in a tree
|
|||||||
two mothers).
|
two mothers).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{cpan_name}-%{version}
|
%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
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
@@ -60,7 +69,7 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%doc Changes README
|
%doc Changes README SECURITY.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user