From f98c292ab811833b15b46ff91e8fe9810c465a77 Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
Date: Mon, 20 Mar 2017 07:22:27 +0100
Subject: php-pecl-hprose: 1.6.6

---
 REFLECTION           | 20 ++++++++++----------
 php-pecl-hprose.spec | 10 ++++++++--
 2 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/REFLECTION b/REFLECTION
index 98a35c5..8f56b4f 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #104 hprose version 1.6.5 ] {
+Extension [ <persistent> extension #94 hprose version 1.6.6 ] {
 
   - Functions {
     Function [ <internal:hprose> function hprose_serialize ] {
@@ -23,7 +23,7 @@ Extension [ <persistent> extension #104 hprose version 1.6.5 ] {
   }
 
   - Classes [7] {
-    Class [ <internal:hprose> class HproseTags ] {
+    Class [ <internal:hprose> class Hprose\Tags ] {
 
       - Constants [34] {
         Constant [ string TagInteger ] { i }
@@ -75,7 +75,7 @@ Extension [ <persistent> extension #104 hprose version 1.6.5 ] {
       }
     }
 
-    Class [ <internal:hprose> class HproseBytesIO ] {
+    Class [ <internal:hprose> class Hprose\BytesIO ] {
 
       - Constants [0] {
       }
@@ -209,7 +209,7 @@ Extension [ <persistent> extension #104 hprose version 1.6.5 ] {
       }
     }
 
-    Class [ <internal:hprose> class HproseClassManager ] {
+    Class [ <internal:hprose> class Hprose\ClassManager ] {
 
       - Constants [0] {
       }
@@ -248,7 +248,7 @@ Extension [ <persistent> extension #104 hprose version 1.6.5 ] {
       }
     }
 
-    Class [ <internal:hprose> class HproseWriter ] {
+    Class [ <internal:hprose> class Hprose\Writer ] {
 
       - Constants [0] {
       }
@@ -472,7 +472,7 @@ Extension [ <persistent> extension #104 hprose version 1.6.5 ] {
       }
     }
 
-    Class [ <internal:hprose> class HproseRawReader ] {
+    Class [ <internal:hprose> class Hprose\RawReader ] {
 
       - Constants [0] {
       }
@@ -501,7 +501,7 @@ Extension [ <persistent> extension #104 hprose version 1.6.5 ] {
       }
     }
 
-    Class [ <internal:hprose> class HproseReader extends HproseRawReader ] {
+    Class [ <internal:hprose> class Hprose\Reader extends Hprose\RawReader ] {
 
       - Constants [0] {
       }
@@ -516,7 +516,7 @@ Extension [ <persistent> extension #104 hprose version 1.6.5 ] {
       }
 
       - Methods [36] {
-        Method [ <internal:hprose, overwrites HproseRawReader, ctor> public method __construct ] {
+        Method [ <internal:hprose, overwrites Hprose\RawReader, ctor> public method __construct ] {
 
           - Parameters [2] {
             Parameter #0 [ <required> HproseBytesIO $stream ]
@@ -732,7 +732,7 @@ Extension [ <persistent> extension #104 hprose version 1.6.5 ] {
           }
         }
 
-        Method [ <internal:hprose, inherits HproseRawReader> public method readRaw ] {
+        Method [ <internal:hprose, inherits Hprose\RawReader> public method readRaw ] {
 
           - Parameters [0] {
           }
@@ -740,7 +740,7 @@ Extension [ <persistent> extension #104 hprose version 1.6.5 ] {
       }
     }
 
-    Class [ <internal:hprose> class HproseFormatter ] {
+    Class [ <internal:hprose> class Hprose\Formatter ] {
 
       - Constants [0] {
       }
diff --git a/php-pecl-hprose.spec b/php-pecl-hprose.spec
index fff46fa..bd49a4b 100644
--- a/php-pecl-hprose.spec
+++ b/php-pecl-hprose.spec
@@ -22,8 +22,8 @@
 
 Summary:        Hprose for PHP
 Name:           %{?sub_prefix}php-pecl-%{pecl_name}
-Version:        1.6.5
-Release:        3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version:        1.6.6
+Release:        1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
 License:        MIT
 Group:          Development/Languages
 URL:            http://pecl.php.net/package/%{pecl_name}
@@ -127,6 +127,8 @@ EOF
 
 
 %build
+%{?dtsenable}
+
 cd NTS
 %{_bindir}/phpize
 %configure \
@@ -148,6 +150,7 @@ make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
+%{?dtsenable}
 
 make -C NTS install INSTALL_ROOT=%{buildroot}
 
@@ -243,6 +246,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Mar 20 2017 Remi Collet <remi@remirepo.net> - 1.6.6-1
+- Update to 1.6.6
+
 * Thu Dec  1 2016 Remi Collet <remi@fedoraproject.org> - 1.6.5-3
 - rebuild with PHP 7.1.0 GA
 
-- 
cgit