forked from pool/perl-YAML-Tiny
Compare commits
17 Commits
bf339c675d
...
factory
Author | SHA256 | Date | |
---|---|---|---|
83d2c9e2d5 | |||
01c4ac8adb | |||
cf8193a6b1 | |||
16becaadc7 | |||
720ca6df6e | |||
|
e1ab1b6f7c | ||
5d6a86ca8c | |||
|
45113dba27 | ||
b565651b60 | |||
|
e29763a187 | ||
596122274a | |||
f5b7c17d85 | |||
|
75a165f525 | ||
|
316fc65ddf | ||
|
d1f8df10a9 | ||
|
055d33b7cf | ||
|
674a109649 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4f54e6e5ae08f0765801e3c3edc44d29a21e54c1789d12b44250cda19aba8d4b
|
|
||||||
size 70902
|
|
BIN
YAML-Tiny-1.76.tar.gz
(Stored with Git LFS)
Normal file
BIN
YAML-Tiny-1.76.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,72 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 17 05:36:26 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.760.0 (1.76)
|
||||||
|
see /usr/share/doc/packages/perl-YAML-Tiny/Changes
|
||||||
|
|
||||||
|
1.76 2024-12-16 18:59:46Z
|
||||||
|
[FIXED]
|
||||||
|
- revert change from #60: "yes", "y" etc are not actually booleans.
|
||||||
|
(see issue #66).
|
||||||
|
1.75 2024-12-15 21:24:54Z
|
||||||
|
[FIXED]
|
||||||
|
- fixed regression in %QUOTE (Nathan Monfils, PR#60) [later reverted
|
||||||
|
in release 1.76, see above)
|
||||||
|
- fix version comparison logic for forward compatibility (BooK, PR#63)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 24 03:08:42 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.74
|
||||||
|
see /usr/share/doc/packages/perl-YAML-Tiny/Changes
|
||||||
|
|
||||||
|
1.74 2023-03-23 03:19:08Z
|
||||||
|
|
||||||
|
[FIXED]
|
||||||
|
|
||||||
|
- a few documentation tweaks (thanks, Giovanni Los and Richlv!)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 22 07:17:25 UTC 2018 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.73
|
||||||
|
see /usr/share/doc/packages/perl-YAML-Tiny/Changes
|
||||||
|
|
||||||
|
1.73 2018-02-21 21:07:59Z
|
||||||
|
|
||||||
|
- shipping 1.72 as stable, with no changes.
|
||||||
|
|
||||||
|
1.72 2017-02-12 23:17:26Z (TRIAL RELEASE)
|
||||||
|
|
||||||
|
[FIXED]
|
||||||
|
|
||||||
|
- fix compatibility with Test::Builder 0.94 in test shim
|
||||||
|
|
||||||
|
1.71 2017-02-04 05:44:07Z (TRIAL RELEASE)
|
||||||
|
|
||||||
|
[FIXED]
|
||||||
|
|
||||||
|
- Perform correct stripping of leading white space in literal/folded
|
||||||
|
text blocks (Flavio Poletti, GitHub #44, fixes RT#56045).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 14 08:08:03 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.70
|
||||||
|
see /usr/share/doc/packages/perl-YAML-Tiny/Changes
|
||||||
|
|
||||||
|
1.70 2017-01-22 08:59:54Z
|
||||||
|
|
||||||
|
[FIXED]
|
||||||
|
|
||||||
|
- Some errors writing to a file were incorrectly reported.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 28 09:27:07 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.69
|
||||||
|
see /usr/share/doc/packages/perl-YAML-Tiny/Changes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 13 13:07:52 UTC 2015 - coolo@suse.com
|
Wed May 13 13:07:52 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-YAML-Tiny
|
# spec file for package perl-YAML-Tiny
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2024 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
|
||||||
@@ -12,27 +12,29 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-YAML-Tiny
|
|
||||||
Version: 1.67
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name YAML-Tiny
|
%define cpan_name YAML-Tiny
|
||||||
|
Name: perl-YAML-Tiny
|
||||||
|
Version: 1.760.0
|
||||||
|
Release: 0
|
||||||
|
# 1.76 -> normalize -> 1.760.0
|
||||||
|
%define cpan_version 1.76
|
||||||
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Summary: Read/Write YAML files with as little code as possible
|
Summary: Read/Write YAML files with as little code as possible
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Group: Development/Libraries/Perl
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Url: http://search.cpan.org/dist/YAML-Tiny/
|
|
||||||
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(File::Temp) >= 0.19
|
BuildRequires: perl(File::Temp) >= 0.19
|
||||||
BuildRequires: perl(JSON::PP)
|
BuildRequires: perl(JSON::PP)
|
||||||
BuildRequires: perl(Test::More) >= 0.99
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
Provides: perl(YAML::Tiny) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -50,9 +52,9 @@ config files) and generating very simple human-readable files. Note that I
|
|||||||
said *human-readable* and not *geek-readable*. The sort of files that your
|
said *human-readable* and not *geek-readable*. The sort of files that your
|
||||||
average manager or secretary should be able to look at and make sense of.
|
average manager or secretary should be able to look at and make sense of.
|
||||||
|
|
||||||
the YAML::Tiny manpage does not generate comments, it won't necessarily
|
YAML::Tiny does not generate comments, it won't necessarily preserve the
|
||||||
preserve the order of your hashes, and it will normalise if reading in and
|
order of your hashes, and it will normalise if reading in and writing out
|
||||||
writing out again.
|
again.
|
||||||
|
|
||||||
It only supports a very basic subset of the full YAML specification.
|
It only supports a very basic subset of the full YAML specification.
|
||||||
|
|
||||||
@@ -64,24 +66,25 @@ in a few lines of code. Please don't be offended if your request is
|
|||||||
refused. Someone has to draw the line, and for YAML::Tiny that someone is
|
refused. Someone has to draw the line, and for YAML::Tiny that someone is
|
||||||
me.
|
me.
|
||||||
|
|
||||||
If you need something with more power move up to the YAML manpage (7
|
If you need something with more power move up to YAML (7 megabytes of
|
||||||
megabytes of memory overhead) or the YAML::XS manpage (6 megabytes memory
|
memory overhead) or YAML::XS (6 megabytes memory overhead and requires a C
|
||||||
overhead and requires a C compiler).
|
compiler).
|
||||||
|
|
||||||
To restate, the YAML::Tiny manpage does *not* preserve your comments,
|
To restate, YAML::Tiny does *not* preserve your comments, whitespace, or
|
||||||
whitespace, or the order of your YAML data. But it should round-trip from
|
the order of your YAML data. But it should round-trip from Perl structure
|
||||||
Perl structure to file and back again just fine.
|
to file and back again just fine.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||||
find . -type f -print0 | xargs -0 chmod 644
|
|
||||||
|
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
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@@ -89,7 +92,7 @@ find . -type f -print0 | xargs -0 chmod 644
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%doc Changes CONTRIBUTING README
|
||||||
%doc Changes CONTRIBUTING LICENSE README
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user