Accepting request 263615 from home:seife:branches:devel:languages:perl

update to 2.27300, add specfile hacks to fix build on 13.1 or newer

OBS-URL: https://build.opensuse.org/request/show/263615
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-PP?expand=0&rev=9
This commit is contained in:
Stephan Kulow
2014-12-11 06:50:34 +00:00
committed by Git OBS Bridge
parent dc92278f5e
commit 32b19f42d6
4 changed files with 21 additions and 8 deletions

View File

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

3
JSON-PP-2.27300.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Dec 1 13:48:06 UTC 2014 - seife+obs@b1-systems.com
- update to 2.27300
- fixed return/or in _incr_parse
- occasionally failed in t/019_incr.t in Perl 5.17.6 or more
- add specfile hacks to fix build on 13.1 or newer
-------------------------------------------------------------------
Tue Nov 29 15:13:53 UTC 2011 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-JSON-PP
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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,7 +17,7 @@
Name: perl-JSON-PP
Version: 2.27200
Version: 2.27300
Release: 0
%define cpan_name JSON-PP
Summary: JSON::XS compatible pure-Perl module.
@@ -53,17 +53,22 @@ JSON::PP is a pure-Perl module and has compatibility to JSON::XS.
%install
%perl_make_install
%if 0%{?suse_version} >= 1210
# newer perl has these included
rm %{buildroot}/%{_mandir}/man1/json_pp.1
rm %{buildroot}/%{_bindir}/json_pp
%endif
%perl_process_packlist
%perl_gen_filelist
# perl_gen_filelist makes everything 0644...
sed -i -e '/json_pp/s#\(^.*$\)#%attr(755,root,root) \1#' %{name}.files
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes README
%if 0%{?suse_version} == 1210
%exclude %{_bindir}/json_pp
%endif
%changelog