[packages/php-pear-Payment_Process2] - release 2, fix path to Validate/Finance/CreditCard.php
adamg
adamg at pld-linux.org
Mon Apr 8 07:46:40 CEST 2019
commit b7b8dd729024fadc372b50ab76dba36e9c664ede
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Mon Apr 8 07:46:31 2019 +0200
- release 2, fix path to Validate/Finance/CreditCard.php
php-pear-Payment_Process2-path.patch | 11 +++++++++++
php-pear-Payment_Process2.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/php-pear-Payment_Process2.spec b/php-pear-Payment_Process2.spec
index b2e486e..0b05975 100644
--- a/php-pear-Payment_Process2.spec
+++ b/php-pear-Payment_Process2.spec
@@ -8,11 +8,12 @@ Summary: %{_pearname} - A PHP5 Payment process API
#Summary(pl.UTF-8): %{_pearname} -
Name: php-pear-%{_pearname}
Version: 0.3.1
-Release: 1
+Release: 2
License: BSD Style
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
# Source0-md5: 6dacc74ee670d5608509472ddf89af7e
+Patch0: %{name}-path.patch
URL: http://pear.php.net/package/Payment_Process2/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
@@ -33,6 +34,7 @@ In PEAR status of this package is: %{_status}.
%prep
%pear_package_setup
+%patch0 -p1
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/php-pear-Payment_Process2-path.patch b/php-pear-Payment_Process2-path.patch
new file mode 100644
index 0000000..f7a636a
--- /dev/null
+++ b/php-pear-Payment_Process2-path.patch
@@ -0,0 +1,11 @@
+--- Payment_Process2-0.3.1/usr/share/pear/Payment/Process2/Offline.php~ 2019-04-08 07:43:10.941096970 +0200
++++ Payment_Process2-0.3.1/usr/share/pear/Payment/Process2/Offline.php 2019-04-08 07:43:40.302627893 +0200
+@@ -42,7 +42,7 @@
+ */
+
+
+-require_once 'Validate/CreditCard.php';
++require_once 'Validate/Finance/CreditCard.php';
+
+ /**
+ * Payment_Process2_offline
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Payment_Process2.git/commitdiff/b7b8dd729024fadc372b50ab76dba36e9c664ede
More information about the pld-cvs-commit
mailing list