summaryrefslogtreecommitdiffstats
path: root/php-jsonlint.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-15 06:09:43 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-15 06:09:43 +0100
commit6f9830cc6362f68434185ea710509e3d3c26979a (patch)
treef501deee6ca687000426a6cf95ddf36cc06b4d3f /php-jsonlint.spec
parent966e9d6ac91779ae02c14bf99a00f32d808c2919 (diff)
php-jsonlint: 1.5.0
Diffstat (limited to 'php-jsonlint.spec')
-rw-r--r--php-jsonlint.spec17
1 files changed, 9 insertions, 8 deletions
diff --git a/php-jsonlint.spec b/php-jsonlint.spec
index a69d4f9..ee65d41 100644
--- a/php-jsonlint.spec
+++ b/php-jsonlint.spec
@@ -13,8 +13,8 @@
%global github_owner Seldaek
%global github_name jsonlint
-%global github_version 1.4.1
-%global github_commit e827b5254d3e58c736ea2c5616710983d80b0b70
+%global github_version 1.5.0
+%global github_commit 19495c181d6d53a0a13414154e52817e3b504189
# "php": "^5.3 || ^7.0"
%global php_min_ver 5.3
@@ -24,7 +24,7 @@
Name: php-%{github_name}
Version: %{github_version}
-Release: 3%{?dist}
+Release: 1%{?dist}
Summary: JSON Lint for PHP
Group: Development/Libraries
@@ -37,8 +37,6 @@ Source1: %{name}-autoload.php
# Bin usage without Composer autoloader
Patch0: %{name}-bin-without-composer-autoloader.patch
-# https://github.com/Seldaek/jsonlint/pull/37
-Patch1: %{name}-php71.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -46,14 +44,15 @@ BuildArch: noarch
# For tests: composer.json
BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-composer(phpunit/phpunit)
-# For tests: phpcompatinfo (computed from version 1.3.1)
+# For tests: phpcompatinfo (computed from version 1.5.0)
+BuildRequires: php-json
BuildRequires: php-pcre
# For autoloader
BuildRequires: php-composer(fedora/autoloader)
%endif
Requires: php(language) >= %{php_min_ver}
-# phpcompatinfo (computed from version 1.3.1)
+# phpcompatinfo (computed from version 1.5.0)
Requires: php-cli
Requires: php-pcre
# For autoloader
@@ -77,7 +76,6 @@ To use this library, you just have to add, in your project:
cp %{SOURCE1} src/Seld/JsonLint/autoload.php
%patch0 -p1
-%patch1 -p1
%build
@@ -131,6 +129,9 @@ exit $ret
%changelog
+* Tue Nov 15 2016 Remi Collet <remi@fedoraproject.org> - 1.5.0-1
+- update to 1.5.0
+
* Mon Nov 14 2016 Remi Collet <remi@fedoraproject.org> - 1.4.1-3
- add patch for PHP 7.1
open https://github.com/Seldaek/jsonlint/pull/37