[packages/php-pear-Math_Integer] - release 2, fix path to Math/Integer/common.php
adamg
adamg at pld-linux.org
Mon Apr 8 08:12:11 CEST 2019
commit 351acf874a14080708e92997ab63757f47929abb
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Mon Apr 8 08:12:05 2019 +0200
- release 2, fix path to Math/Integer/common.php
php-pear-Math_Integer-paths.patch | 24 ++++++++++++++++++++++++
php-pear-Math_Integer.spec | 4 +++-
2 files changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/php-pear-Math_Integer.spec b/php-pear-Math_Integer.spec
index 47df51b..9efbc42 100644
--- a/php-pear-Math_Integer.spec
+++ b/php-pear-Math_Integer.spec
@@ -8,12 +8,13 @@ Summary: %{_class}_%{_subclass} - Package to represent and manipulate integers
Summary(pl.UTF-8): %{_class}_%{_subclass} - pakiet do reprezentacji i obliczeń na liczbach całkowitych
Name: php-pear-%{_pearname}
Version: 0.9.0
-Release: 1
+Release: 2
Epoch: 0
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
# Source0-md5: a8ea4aed5d8c21fa60c263862f30ecf5
+Patch0: %{name}-paths.patch
URL: http://pear.php.net/package/Math_Integer/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
@@ -44,6 +45,7 @@ Ta klasa ma w PEAR status: %{_status}.
%prep
%pear_package_setup
+%patch0 -p1
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/php-pear-Math_Integer-paths.patch b/php-pear-Math_Integer-paths.patch
new file mode 100644
index 0000000..dab962e
--- /dev/null
+++ b/php-pear-Math_Integer-paths.patch
@@ -0,0 +1,24 @@
+--- Math_Integer-0.9.0/usr/share/pear/Math/Integer/gmp.php~ 2019-04-08 08:08:39.230385717 +0200
++++ Math_Integer-0.9.0/usr/share/pear/Math/Integer/gmp.php 2019-04-08 08:10:12.258570635 +0200
+@@ -1,7 +1,7 @@
+ <?php
+
+-//include_once 'Math/Integer/common.php';
+-include_once 'common.php';
++include_once 'Math/Integer/common.php';
++//include_once 'common.php';
+
+ class Math_Integer_GMP extends Math_Integer_Common {/*{{{*/
+
+--- Math_Integer-0.9.0/usr/share/pear/Math/Integer/bcmath.php~ 2019-04-08 08:08:39.227052210 +0200
++++ Math_Integer-0.9.0/usr/share/pear/Math/Integer/bcmath.php 2019-04-08 08:09:46.637234437 +0200
+@@ -1,7 +1,7 @@
+ <?php
+
+-include_once 'common.php';
+-//include_once 'Math/Integer/common.php';
++//include_once 'common.php';
++include_once 'Math/Integer/common.php';
+ bcscale(0);
+
+ class Math_Integer_BCMATH extends Math_Integer_Common {/*{{{*/
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Math_Integer.git/commitdiff/351acf874a14080708e92997ab63757f47929abb
More information about the pld-cvs-commit
mailing list