diff --git a/Catalyst-View-JSON-0.33.tar.gz b/Catalyst-View-JSON-0.33.tar.gz deleted file mode 100644 index d4e3895..0000000 --- a/Catalyst-View-JSON-0.33.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31ba3ed1f291937f20a0d4ba0f8b8a4db62cdef1430907499ddc3a367552cd0f -size 26777 diff --git a/Catalyst-View-JSON-0.35.tar.gz b/Catalyst-View-JSON-0.35.tar.gz new file mode 100644 index 0000000..b09364e --- /dev/null +++ b/Catalyst-View-JSON-0.35.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75d6bba7863a9596bbe98a8e4d5edbbea62622d7dbdb75d0b887ce4ce1f397a0 +size 28844 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b320f5 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,20 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-Catalyst-View-JSON.changes b/perl-Catalyst-View-JSON.changes index 5165013..943e744 100644 --- a/perl-Catalyst-View-JSON.changes +++ b/perl-Catalyst-View-JSON.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Thu Apr 16 21:44:09 UTC 2015 - coolo@suse.com + +- updated to 0.35 + see /usr/share/doc/packages/perl-Catalyst-View-JSON/Changes + + 0.35 Wed Jan 07 12:00:00 CT 2014 + - Specify a version of JSON::MaybXS in the Makefile to close a test + failure (test case requires version '1.003000' so we made that the + required version). + + 0.34 Mon Jan 05 12:00:00 CT 2014 + - switched from JSON::Any to JSON::MaybeXS (json_driver option no + longer supported) + - Updated some documenation to note that in 2015 perhaps some of the + given advice is no longer relevent. + - Added a new configuration option 'json_encoder_args' which lets you + pass arguments to JSON::MaybeXS. Useful for when you want to have + more control on how your JSON serializer works. + ------------------------------------------------------------------- Thu Apr 21 04:53:31 UTC 2011 - coolo@opensuse.org diff --git a/perl-Catalyst-View-JSON.spec b/perl-Catalyst-View-JSON.spec index ca9bfe1..c758f65 100644 --- a/perl-Catalyst-View-JSON.spec +++ b/perl-Catalyst-View-JSON.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-Catalyst-View-JSON (Version 0.33) +# spec file for package perl-Catalyst-View-JSON # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,27 +15,27 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-Catalyst-View-JSON -Version: 0.33 -Release: 1 -License: GPL+ or Artistic +Version: 0.35 +Release: 0 %define cpan_name Catalyst-View-JSON Summary: JSON view for your data -Url: http://search.cpan.org/dist/Catalyst-View-JSON/ +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Source: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/Catalyst-View-JSON/ +Source0: http://www.cpan.org/authors/id/J/JJ/JJNAPIORK/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Catalyst) >= 5.6 -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(JSON::Any) >= 1.15 +BuildRequires: perl(JSON::MaybeXS) >= 1.003000 BuildRequires: perl(MRO::Compat) -BuildRequires: perl(Test::More) BuildRequires: perl(YAML) Requires: perl(Catalyst) >= 5.6 -Requires: perl(JSON::Any) >= 1.15 +Requires: perl(JSON::MaybeXS) >= 1.003000 Requires: perl(MRO::Compat) %{perl_requires} @@ -58,9 +58,6 @@ JSON format. %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) %doc Changes