update to fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON?expand=0&rev=6
This commit is contained in:
parent
2340a6a6aa
commit
0406f5b59c
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e7e0ec1b084371e25300099934f29f3fffe62fe421c7c6b1cf639302ccaad209
|
||||
size 32387
|
3
JSON-2.12.tar.bz2
Normal file
3
JSON-2.12.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:70dac48c91d0c0012ffe5329915c1f9960d80469b2ed63c24da7894a14cd4822
|
||||
size 49790
|
@ -1,6 +1,6 @@
|
||||
%define modname JSON
|
||||
Name: perl-%{modname}
|
||||
Version: 1.14
|
||||
Version: 2.12
|
||||
Release: 1
|
||||
Summary: Parse and Convert to JSON
|
||||
Requires: perl = %{perl_version} perl-libwww-perl
|
||||
@ -25,6 +25,8 @@ chmod a-x README
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
@ -38,11 +40,8 @@ rm -rf %{buildroot}
|
||||
%defattr(-, root, root)
|
||||
%doc Changes README
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Apache
|
||||
%{perl_vendorlib}/JSON.pm
|
||||
%{perl_vendorlib}/JSON
|
||||
%{perl_vendorlib}/JSONRPC.pm
|
||||
%{perl_vendorlib}/JSONRPC
|
||||
%{perl_vendorarch}/auto/JSON
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user