summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Horde_Stringprep-syslib.patch12
-rw-r--r--php-horde-Horde-Stringprep.spec7
2 files changed, 12 insertions, 7 deletions
diff --git a/Horde_Stringprep-syslib.patch b/Horde_Stringprep-syslib.patch
index bda50a5..d091982 100644
--- a/Horde_Stringprep-syslib.patch
+++ b/Horde_Stringprep-syslib.patch
@@ -1,14 +1,14 @@
-diff -up Horde_Stringprep-1.0.0/lib/Horde/Stringprep.php.old Horde_Stringprep-1.0.0/lib/Horde/Stringprep.php
---- Horde_Stringprep-1.0.0/lib/Horde/Stringprep.php.old 2014-11-09 14:58:55.000000000 +0100
-+++ Horde_Stringprep-1.0.0/lib/Horde/Stringprep.php 2014-11-09 14:59:50.000000000 +0100
+diff -up Horde_Stringprep-1.0.2/lib/Horde/Stringprep.php.syslib Horde_Stringprep-1.0.2/lib/Horde/Stringprep.php
+--- Horde_Stringprep-1.0.2/lib/Horde/Stringprep.php.syslib 2015-06-18 13:41:42.987550940 +0200
++++ Horde_Stringprep-1.0.2/lib/Horde/Stringprep.php 2015-06-18 13:42:31.127777933 +0200
@@ -34,11 +34,7 @@ class Horde_Stringprep
*/
public static function autoload()
{
-- if (file_exists(__DIR__ . '/vendor/autoload.php')) {
-- require_once __DIR__ . '/vendor/autoload.php';
+- if (file_exists(__DIR__ . '/Stringprep/vendor/autoload.php')) {
+- require_once __DIR__ . '/Stringprep/vendor/autoload.php';
- } else {
-- require_once __DIR__ . '/../../../bundle/vendor/autoload.php';
+- require_once __DIR__ . '/../../bundle/vendor/autoload.php';
- }
+ require_once('/usr/share/php/Znerol/Component/Stringprep/autoload.php');
}
diff --git a/php-horde-Horde-Stringprep.spec b/php-horde-Horde-Stringprep.spec
index 3272b7d..037366c 100644
--- a/php-horde-Horde-Stringprep.spec
+++ b/php-horde-Horde-Stringprep.spec
@@ -12,7 +12,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Stringprep
-Version: 1.0.1
+Version: 1.0.2
Release: 1%{?dist}
Summary: Preparation of Internationalized Strings ("stringprep")
@@ -39,6 +39,7 @@ Requires: php-channel(%{pear_channel})
Requires: php-composer(znerol/php-stringprep)
Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
+Provides: php-composer(horde/horde-stringprep) = %{version}
%description
@@ -99,6 +100,10 @@ fi
%changelog
+* Thu Jun 18 2015 Remi Collet <remi@fedoraproject.org> - 1.0.2-1
+- Update to 1.0.2
+- add provides php-composer(horde/horde-stringprep)
+
* Tue Nov 18 2014 Remi Collet <remi@fedoraproject.org> - 1.0.1-1
- Update to 1.0.1