Stephan Kulow 2013-10-04 15:24:20 +00:00 committed by Git OBS Bridge
parent 86369ae12f
commit 311cbeef99
4 changed files with 32 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c6e9b3d9e558fc428d8b8710da49ff3bcb9fb606decb63c24816da01c9f8b4d
size 43342

3
YAML-Tiny-1.56.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:145208ff411e2e2961de640860624492b82946ea2b0c3bd4069c0326e4de451e
size 45380

View File

@ -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

View File

@ -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