From 86369ae12fbdf82d2dd4f55cd7b44e284cee883d6a0835b61fd0a1fb6379992b Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 23 May 2012 13:02:39 +0000 Subject: [PATCH] - updated to 1.51 - The fix described in 1.48 was incorrect. Removing an additional if $@ to fix it properly. - Make the Scalar::Util version check resistant to bugs caused by development versions. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-YAML-Tiny?expand=0&rev=12 --- YAML-Tiny-1.50.tar.gz | 3 --- YAML-Tiny-1.51.tar.gz | 3 +++ perl-YAML-Tiny.changes | 9 +++++++++ perl-YAML-Tiny.spec | 33 +++++++++++++++------------------ 4 files changed, 27 insertions(+), 21 deletions(-) delete mode 100644 YAML-Tiny-1.50.tar.gz create mode 100644 YAML-Tiny-1.51.tar.gz diff --git a/YAML-Tiny-1.50.tar.gz b/YAML-Tiny-1.50.tar.gz deleted file mode 100644 index 7e90c64..0000000 --- a/YAML-Tiny-1.50.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a379dfad04db22d70edc47c611765b401b5c03dbb08b817cd7c362e01ea5e129 -size 42411 diff --git a/YAML-Tiny-1.51.tar.gz b/YAML-Tiny-1.51.tar.gz new file mode 100644 index 0000000..3f246d8 --- /dev/null +++ b/YAML-Tiny-1.51.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c6e9b3d9e558fc428d8b8710da49ff3bcb9fb606decb63c24816da01c9f8b4d +size 43342 diff --git a/perl-YAML-Tiny.changes b/perl-YAML-Tiny.changes index 9e56527..89feda4 100644 --- a/perl-YAML-Tiny.changes +++ b/perl-YAML-Tiny.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed May 23 13:00:00 UTC 2012 - coolo@suse.com + +- updated to 1.51 + - The fix described in 1.48 was incorrect. Removing an additional + if $@ to fix it properly. + - Make the Scalar::Util version check resistant to bugs caused by + development versions. + ------------------------------------------------------------------- Fri Nov 18 13:20:44 UTC 2011 - coolo@suse.com diff --git a/perl-YAML-Tiny.spec b/perl-YAML-Tiny.spec index a8d591e..b846a68 100644 --- a/perl-YAML-Tiny.spec +++ b/perl-YAML-Tiny.spec @@ -1,7 +1,7 @@ # # spec file for package perl-YAML-Tiny # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -16,26 +16,25 @@ # - Name: perl-YAML-Tiny -Version: 1.50 -Release: 1 -License: GPL-1.0+ or Artistic-1.0 +Version: 1.51 +Release: 0 %define cpan_name YAML-Tiny Summary: Read/Write YAML files with as little code as possible -Url: http://search.cpan.org/dist/YAML-Tiny/ +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -#Source: http://www.cpan.org/authors/id/A/AD/ADAMK/YAML-Tiny-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/YAML-Tiny/ +Source: http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(File::Spec) >= 0.80 -BuildRequires: perl(YAML) >= 0.72 -BuildRequires: perl(YAML::Perl) >= 0.02 -BuildRequires: perl(YAML::Syck) >= 1.17 -BuildRequires: perl(YAML::XS) >= 0.34 +#BuildRequires: perl(t::lib::Test) +#BuildRequires: perl(YAML) +#BuildRequires: perl(YAML::Perl) +#BuildRequires: perl(YAML::Syck) +#BuildRequires: perl(YAML::Tiny) +#BuildRequires: perl(YAML::XS) %{perl_requires} %description @@ -77,6 +76,7 @@ Perl structure to file and back again just fine. %prep %setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -90,11 +90,8 @@ Perl structure to file and back again just fine. %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) -%doc Changes LICENSE README +%defattr(-,root,root,755) +%doc Changes LICENSE MYMETA.json README %changelog