Accepting request 121933 from devel:languages:perl

- 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/request/show/121933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-YAML-Tiny?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2012-05-26 10:59:48 +00:00 committed by Git OBS Bridge
commit d1f8df10a9
4 changed files with 27 additions and 21 deletions

View File

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

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

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

View File

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

View File

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