8
0

Accepting request 177651 from home:coolo:update-perl

update

OBS-URL: https://build.opensuse.org/request/show/177651
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Hash-MultiValue?expand=0&rev=8
This commit is contained in:
Stephan Kulow
2013-06-05 08:24:12 +00:00
committed by Git OBS Bridge
parent 158024aae5
commit 229a5ef73b
5 changed files with 18 additions and 71 deletions

View File

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

View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jun 5 07:27:16 UTC 2013 - coolo@suse.com
- updated to 0.15
- use MakeMaker
- Use milla
- repackage with Module::Install > 1.04
- remove no longer applying test-more-no-plan.patch
-------------------------------------------------------------------
Thu Feb 16 21:14:35 UTC 2012 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Hash-MultiValue
#
# 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,19 +17,20 @@
Name: perl-Hash-MultiValue
Version: 0.12
Version: 0.15
Release: 0
%define cpan_name Hash-MultiValue
Summary: Store multiple values per key
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Hash-MultiValue/
Source: http://www.cpan.org/authors/id/A/AR/ARISTOTLE/%{cpan_name}-%{version}.tar.gz
Patch0: test-more-no-plan.patch
Source: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
#BuildRequires: perl(Hash::MultiValue)
#BuildRequires: perl(UNIVERSAL::ref)
%{perl_requires}
%description
@@ -38,7 +39,6 @@ multiple values per key, inspired by MultiDict of WebOb.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -54,6 +54,6 @@ multiple values per key, inspired by MultiDict of WebOb.
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%doc Changes cpanfile LICENSE README
%changelog

View File

@@ -1,62 +0,0 @@
---
t/hash.t | 4 +---
t/multi.t | 2 +-
t/ref.t | 2 --
t/write.t | 5 +----
4 files changed, 3 insertions(+), 10 deletions(-)
Index: Hash-MultiValue-0.08/t/hash.t
===================================================================
--- Hash-MultiValue-0.08.orig/t/hash.t 2010-01-30 17:15:59.000000000 -0500
+++ Hash-MultiValue-0.08/t/hash.t 2010-09-21 21:18:29.880648006 -0400
@@ -1,5 +1,5 @@
use strict;
-use Test::More;
+use Test::More qw(no_plan);
use Hash::MultiValue;
my $hash = Hash::MultiValue->new(
@@ -62,5 +62,3 @@
is_deeply [ $hash->keys ], [ qw(foo foo bar baz) ];
is_deeply [ $hash->values ], [ qw(b c bba 34) ];
}
-
-done_testing;
Index: Hash-MultiValue-0.08/t/multi.t
===================================================================
--- Hash-MultiValue-0.08.orig/t/multi.t 2010-01-30 17:15:59.000000000 -0500
+++ Hash-MultiValue-0.08/t/multi.t 2010-09-21 21:18:29.880648006 -0400
@@ -24,4 +24,4 @@
};
ok $@;
-done_testing;
+done_testing();
Index: Hash-MultiValue-0.08/t/ref.t
===================================================================
--- Hash-MultiValue-0.08.orig/t/ref.t 2010-02-11 06:04:15.000000000 -0500
+++ Hash-MultiValue-0.08/t/ref.t 2010-09-21 21:18:51.605659147 -0400
@@ -9,5 +9,3 @@
my $h = Hash::MultiValue->new;
is ref $h, 'HASH';
-done_testing;
-
Index: Hash-MultiValue-0.08/t/write.t
===================================================================
--- Hash-MultiValue-0.08.orig/t/write.t 2009-12-16 15:43:35.000000000 -0500
+++ Hash-MultiValue-0.08/t/write.t 2010-09-21 21:18:29.884649263 -0400
@@ -1,5 +1,5 @@
use strict;
-use Test::More;
+use Test::More qw(no_plan);
use Hash::MultiValue;
my $hash = Hash::MultiValue->new(
@@ -26,6 +26,3 @@
$hash->clear;
is_deeply $hash, {};
isa_ok $hash, 'Hash::MultiValue';
-
-
-done_testing;