Summary: Wrapper Class for the various JSON classes Name: perl-JSON-Any Version: 1.39 Release: 3%{?dist} License: Perl Artistic License 2.0 Group: Development/Libraries URL: http://search.cpan.org/~ether/JSON-Any-1.39/lib/JSON/Any.pm Source: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/JSON-Any-%{version}.tar.gz %define sha1 JSON-Any=2c7e404fc4a398359693d62e9c74994f9273dd4c Vendor: VMware, Inc. Distribution: Photon BuildArch: noarch Requires: perl BuildRequires: perl %description This module tries to provide a coherent API to bring together the various JSON modules currently on CPAN. This module will allow you to code to any JSON API and have it work regardless of which JSON module is actually installed. %prep %setup -q -n JSON-Any-%{version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f \( -name .packlist -o \ -name '*.bs' -size 0 \) -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %check export PERL_MM_USE_DEFAULT=1 cpan Test::Fatal Test::Requires Test::Warnings Test::Without::Module make test %files %{perl_vendorlib}/* %{_mandir}/man?/* %changelog * Tue Aug 08 2017 Chang Lee <Chang Lee@vmware.com> 1.39-3 - Adding dependencies for %check * Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.39-2 - GA - Bump release of all rpms * Mon Mar 28 2016 Mahmoud Bassiouny <mbassiounu@vmware.com> 1.39-1 - Initial version.