summaryrefslogtreecommitdiffstats
path: root/php-ocramius-proxy-manager-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-30 06:20:18 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-30 06:20:18 +0200
commit340959a7996163882266419573deaa22bbad5087 (patch)
treeeb1d020e7952936e7341bde5f6edbfd37e910fad /php-ocramius-proxy-manager-rpm.patch
parent215a89e661cbaf2114d1cd31a94b6f5ecb0544fe (diff)
php-ocramius-proxy-manager: fix version + patch
Diffstat (limited to 'php-ocramius-proxy-manager-rpm.patch')
-rw-r--r--php-ocramius-proxy-manager-rpm.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/php-ocramius-proxy-manager-rpm.patch b/php-ocramius-proxy-manager-rpm.patch
new file mode 100644
index 0000000..2d5f7d1
--- /dev/null
+++ b/php-ocramius-proxy-manager-rpm.patch
@@ -0,0 +1,20 @@
+diff -up src/ProxyManager/Version.php.rpm src/ProxyManager/Version.php
+--- src/ProxyManager/Version.php.rpm 2016-06-29 16:37:55.000000000 +0200
++++ src/ProxyManager/Version.php 2016-06-29 16:38:44.000000000 +0200
+@@ -20,8 +20,6 @@ declare(strict_types=1);
+
+ namespace ProxyManager;
+
+-use PackageVersions\Versions;
+-
+ /**
+ * Version class - to be adjusted when a new release is created.
+ *
+@@ -47,6 +45,6 @@ final class Version
+ */
+ public static function getVersion() : string
+ {
+- return Versions::getVersion('ocramius/proxy-manager');
++ return '@VERSION@@@COMMIT@';
+ }
+ }