summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-zendframework-zend-code-pr80.patch21
-rw-r--r--php-zendframework-zend-code.spec5
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