remi pushed to php-JsonSchema (el6). "update to 1.4.0"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Mar 27 08:56:26 UTC 2015


>From 8b62dde966d50908e711f51f870fa4d955903c60 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi at fedoraproject.org>
Date: Fri, 27 Mar 2015 09:33:58 +0100
Subject: update to 1.4.0


diff --git a/.gitignore b/.gitignore
index 7b2c0ab..809a37f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
 /php-JsonSchema-1.3.5-01949f6d2130e9737ffae5d3952909a8de70d114.tar.gz
 /php-JsonSchema-1.3.6-d97cf3ce890fe80f247fc08594a1c8a1029fc7ed.tar.gz
 /php-JsonSchema-1.3.7-87b54b460febed69726c781ab67462084e97a105.tar.gz
+/php-JsonSchema-1.4.0-680d026.tar.gz
diff --git a/php-JsonSchema.spec b/php-JsonSchema.spec
index b3bd284..ba849ba 100644
--- a/php-JsonSchema.spec
+++ b/php-JsonSchema.spec
@@ -1,7 +1,7 @@
 #
 # RPM spec file for php-JsonSchema
 #
-# Copyright (c) 2012-2014 Shawn Iwinski <shawn.iwinski at gmail.com>
+# Copyright (c) 2012-2015 Shawn Iwinski <shawn.iwinski at gmail.com>
 #
 # License: MIT
 # http://opensource.org/licenses/MIT
@@ -11,8 +11,9 @@
 
 %global github_owner   justinrainbow
 %global github_name    json-schema
-%global github_version 1.3.7
-%global github_commit  87b54b460febed69726c781ab67462084e97a105
+%global github_version 1.4.0
+%global github_commit  680d026082c3aa234b2d8617c50e9c73999913ba
+%global github_short   %(c=%{github_commit}; echo ${c:0:7})
 
 # See https://github.com/justinrainbow/json-schema/pull/96
 %global php_min_ver    5.3.2
@@ -24,13 +25,13 @@
 
 Name:          php-%{lib_name}
 Version:       %{github_version}
-Release:       2%{?dist}
+Release:       1%{?dist}
 Summary:       PHP implementation of JSON schema
 
 Group:         Development/Libraries
 License:       BSD
 URL:           https://github.com/%{github_owner}/%{github_name}
-Source0:       %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
+Source0:       %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_short}.tar.gz
 
 # PHP < 5.4.0 compatibility for "--dump-schema"
 # https://github.com/justinrainbow/json-schema/pull/109
@@ -41,7 +42,7 @@ BuildArch: noarch
 # For tests
 BuildRequires: php(language) >= %{php_min_ver}
 BuildRequires: php-phpunit-PHPUnit
-# For tests: phpcompatinfo (computed from v1.3.7)
+# For tests: phpcompatinfo (computed from v1.4.0)
 BuildRequires: php-curl
 BuildRequires: php-date
 BuildRequires: php-filter
@@ -52,7 +53,7 @@ BuildRequires: php-spl
 %endif
 
 Requires:      php(language) >= %{php_min_ver}
-# phpcompatinfo (computed from v1.3.7)
+# phpcompatinfo (computed from v1.4.0)
 Requires:      php-curl
 Requires:      php-filter
 Requires:      php-json
@@ -62,6 +63,7 @@ Requires:      php-spl
 
 Provides:      php-composer(justinrainbow/json-schema) = %{version}
 
+
 %description
 A PHP implementation for validating JSON structures against a given schema.
 
@@ -106,13 +108,9 @@ AUTOLOAD
 # Remove empty tests
 rm -rf tests/JsonSchema/Tests/Drafts
 
-# Create PHPUnit config w/ colors turned off
-sed 's/colors\s*=\s*"true"/colors="false"/' phpunit.xml.dist > phpunit.xml
-
 %{_bindir}/phpunit \
     --include-path="./src:./tests" \
-    --bootstrap="./autoload.php" \
-    -d date.timezone="UTC"
+    --bootstrap="./autoload.php"
 %else
 : Tests skipped
 %endif
@@ -127,6 +125,9 @@ sed 's/colors\s*=\s*"true"/colors="false"/' phpunit.xml.dist > phpunit.xml
 
 
 %changelog
+* Tue Mar 24 2015 Remi Collet <remi at fedoraproject.org> - 1.4.0-1
+- Update to 1.4.0
+
 * Sat Aug 30 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.3.7-2
 - PHP < 5.4.0 compatibility patch instead of in-spec logic
 
diff --git a/sources b/sources
index b029327..b9d52bf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7d06b9acbf1199df6fc4a277ce7b77d9  php-JsonSchema-1.3.7-87b54b460febed69726c781ab67462084e97a105.tar.gz
+91211983cfefba57d43a75df34723a9f  php-JsonSchema-1.4.0-680d026.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/php-JsonSchema.git/commit/?h=el6&id=8b62dde966d50908e711f51f870fa4d955903c60


More information about the scm-commits mailing list