diff --git a/perl-JSON-Any.spec b/perl-JSON-Any.spec index 8460f81..56b4527 100644 --- a/perl-JSON-Any.spec +++ b/perl-JSON-Any.spec @@ -1,25 +1,43 @@ +# +# spec file for package perl-JSON-Any +# +# Copyright (c) 2011 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + %define cpan_name JSON-Any -Name: perl-JSON-Any -Version: 1.29 -Release: 0 -Requires: perl perl-JSON perl-YAML-Syck +Name: perl-JSON-Any +Version: 1.29 +Release: 1 +Requires: perl perl-JSON perl-YAML-Syck %if 0%{?suse_version} < 1100 -Requires: perl-JSON-PC +Requires: perl-JSON-PC %endif -Requires: perl-JSON-DWIW -Group: Development/Libraries/Perl -License: Perl License -URL: http://search.cpan.org/dist/JSON-Any/ -Summary: Wrapper Class for the various JSON classes -Source: http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/JSON-Any-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: perl-JSON-DWIW +Group: Development/Libraries/Perl +License: Perl License +Url: http://search.cpan.org/dist/JSON-Any/ +Summary: Wrapper Class for the various JSON classes +Source: http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/JSON-Any-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} -BuildRequires: perl(YAML::Syck) +BuildRequires: perl(YAML::Syck) BuildRequires: perl-macros -BuildRequires: perl(JSON::DWIW) -BuildRequires: perl-JSON >= 2.02 -BuildRequires: perl(JSON::XS) +BuildRequires: perl(JSON::DWIW) +BuildRequires: perl-JSON >= 2.02 +BuildRequires: perl(JSON::XS) %description Wrapper Class for the various JSON classes. @@ -58,13 +76,3 @@ and have it work regardless of which JSON module is actually installed. %doc %{perl_man3dir}/JSON::Any.%{perl_man3ext}%{ext_man} %changelog -* Sun Jul 25 2010 Pascal Bleser - 1.22 -- update to 1.22 - -* Thu Apr 9 2009 - pascal.bleser@opensuse.org 1.19 -- update to 1.19 -- spec file pimping - -* Sun Oct 26 2008 - gerrit.beine@gmx.de 1.17 -- first release 1.17 -