diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-07-01 07:06:08 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-07-01 07:06:08 +0200 |
commit | 63662d9618dc705bcc6d8111d1119b16ea627e82 (patch) | |
tree | ed67ab237deb47711af9fe96dc1235f5ee77615c | |
parent | ace91d43516f4faeac153b3957f817a427a7f14e (diff) |
php-zendframework-zend-code: drop patch
-rw-r--r-- | php-zendframework-zend-code-pr80.patch | 21 | ||||
-rw-r--r-- | php-zendframework-zend-code.spec | 5 |
2 files changed, 0 insertions, 26 deletions
diff --git a/php-zendframework-zend-code-pr80.patch b/php-zendframework-zend-code-pr80.patch deleted file mode 100644 index 5eccb37..0000000 --- a/php-zendframework-zend-code-pr80.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 8f69e3dfafd3f6e75fa4ffb36fa0b8938a27d9ad Mon Sep 17 00:00:00 2001 -From: Remi Collet <fedora@famillecollet.com> -Date: Wed, 29 Jun 2016 18:02:35 +0200 -Subject: [PATCH] ensure there is only 1 leading NS_SEPARATOR - ---- - src/Generator/ClassGenerator.php | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Generator/ClassGenerator.php b/src/Generator/ClassGenerator.php -index 2d382eb..c716e3d 100644 ---- a/src/Generator/ClassGenerator.php -+++ b/src/Generator/ClassGenerator.php -@@ -1027,6 +1027,6 @@ private function generateShortOrCompleteClassname($fqnClassName) - return $className; - } - -- return '\\' . $fqnClassName; -+ return '\\' . trim($fqnClassName, '\\'); - } - } diff --git a/php-zendframework-zend-code.spec b/php-zendframework-zend-code.spec index aa8b87b..eb88e12 100644 --- a/php-zendframework-zend-code.spec +++ b/php-zendframework-zend-code.spec @@ -30,9 +30,6 @@ URL: https://framework.zend.com/ Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh -# see https://github.com/zendframework/zend-code/pull/80 -Patch0: %{name}-pr80.patch - BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch # Tests @@ -97,8 +94,6 @@ Documentation: https://zendframework.github.io/%{gh_project}/ %prep %setup -q -n %{gh_project}-%{gh_commit} -%patch0 -p1 - %build # Empty build section, nothing required |