8
0

Accepting request 775112 from devel:languages:perl:autoupdate

- updated to 0.56
   see /usr/share/doc/packages/perl-JSON-Parse/Changes
  0.56 2020-02-06
  
  * Allow build on Solaris and SunOS
  
  0.55_02 2019-01-24
  
  * For testing of Daxim segfault through CPAN testers

OBS-URL: https://build.opensuse.org/request/show/775112
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-Parse?expand=0&rev=23
This commit is contained in:
Lars Vogdt
2020-02-18 10:58:29 +00:00
committed by Git OBS Bridge
parent 0276c3cecb
commit 78d13fd4a3
4 changed files with 26 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-JSON-Parse
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 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
@@ -12,18 +12,18 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-JSON-Parse
Version: 0.55
Version: 0.56
Release: 0
%define cpan_name JSON-Parse
Summary: Read JSON into a Perl variable
License: Artistic-1.0 or GPL-1.0+
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/JSON-Parse/
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BK/BKB/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -51,7 +51,7 @@ Unicode.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
# MANUAL BEGIN
for file in $(find . -type f); do
sed -i "s|/home/ben/software/install/bin/perl|%{_bindir}/perl|g; \
@@ -62,11 +62,11 @@ done
# MANUAL END
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install