From 311cbeef99f93eb74bbfbedd0a43300f3904332e3a98d78884986e7e30e0755f Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 4 Oct 2013 15:24:20 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-YAML-Tiny?expand=0&rev=14 --- YAML-Tiny-1.51.tar.gz | 3 --- YAML-Tiny-1.56.tar.gz | 3 +++ perl-YAML-Tiny.changes | 12 ++++++++++++ perl-YAML-Tiny.spec | 29 +++++++++++++++++------------ 4 files changed, 32 insertions(+), 15 deletions(-) delete mode 100644 YAML-Tiny-1.51.tar.gz create mode 100644 YAML-Tiny-1.56.tar.gz diff --git a/YAML-Tiny-1.51.tar.gz b/YAML-Tiny-1.51.tar.gz deleted file mode 100644 index 3f246d8..0000000 --- a/YAML-Tiny-1.51.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c6e9b3d9e558fc428d8b8710da49ff3bcb9fb606decb63c24816da01c9f8b4d -size 43342 diff --git a/YAML-Tiny-1.56.tar.gz b/YAML-Tiny-1.56.tar.gz new file mode 100644 index 0000000..0cfca23 --- /dev/null +++ b/YAML-Tiny-1.56.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:145208ff411e2e2961de640860624492b82946ea2b0c3bd4069c0326e4de451e +size 45380 diff --git a/perl-YAML-Tiny.changes b/perl-YAML-Tiny.changes index 89feda4..e809fb7 100644 --- a/perl-YAML-Tiny.changes +++ b/perl-YAML-Tiny.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Oct 4 09:11:14 UTC 2013 - coolo@suse.com + +- updated to 1.56 + - read_string documentation error fixed (RT#74409, thanks Tim Heaney!) + - re-release with fixed compile test + - again packaging with ExtUtils::MakeMaker + - convert to Dist::Zilla + - Updated format to conform to CPAN::Changes::Spec + - really fixed metadata + - updated repository metadata to reflect move to github + ------------------------------------------------------------------- Wed May 23 13:00:00 UTC 2012 - coolo@suse.com diff --git a/perl-YAML-Tiny.spec b/perl-YAML-Tiny.spec index b846a68..9064cfc 100644 --- a/perl-YAML-Tiny.spec +++ b/perl-YAML-Tiny.spec @@ -1,7 +1,7 @@ # # spec file for package perl-YAML-Tiny # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +17,24 @@ Name: perl-YAML-Tiny -Version: 1.51 +Version: 1.56 Release: 0 %define cpan_name YAML-Tiny Summary: Read/Write YAML files with as little code as possible License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/YAML-Tiny/ -Source: http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Module::Build::Tiny) >= 0.027 +BuildRequires: perl(Test::More) >= 0.94 +#BuildRequires: perl(Pod::Wordlist) +#BuildRequires: perl(Test::Kwalitee) +#BuildRequires: perl(Test::NoTabs) +#BuildRequires: perl(Test::Spelling) >= 0.12 #BuildRequires: perl(t::lib::Test) #BuildRequires: perl(YAML) #BuildRequires: perl(YAML::Perl) @@ -52,13 +58,13 @@ 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 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 necesarily +the YAML::Tiny manpage does not generate comments, it won't necessarily preserve the order of your hashes, and it will normalise if reading in and writing out again. It only supports a very basic subset of the full YAML specification. -Usage is targetted at files like Perl's META.yml, for which a small and +Usage is targeted at files like Perl's META.yml, for which a small and easily-embeddable module is extremely attractive. Features will only be added if they are human readable, and can be written @@ -68,7 +74,7 @@ me. If you need something with more power move up to the YAML manpage (4 megabytes of memory overhead) or the YAML::Syck manpage (275k, but requires -libsyck and a C compiler). +_libsyck_ and a C compiler). To restate, the YAML::Tiny manpage does *not* preserve your comments, whitespace, or the order of your YAML data. But it should round-trip from @@ -79,19 +85,18 @@ Perl structure to file and back again just fine. find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +%{__perl} Build.PL --installdirs=vendor +./Build build --flags=%{?_smp_mflags} %check -%{__make} test +./Build test %install -%perl_make_install -%perl_process_packlist +./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes LICENSE MYMETA.json README +%doc Changes LICENSE README %changelog