From 340959a7996163882266419573deaa22bbad5087 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 30 Jun 2016 06:20:18 +0200 Subject: php-ocramius-proxy-manager: fix version + patch --- php-ocramius-proxy-manager-rpm.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 php-ocramius-proxy-manager-rpm.patch (limited to 'php-ocramius-proxy-manager-rpm.patch') 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@'; + } + } -- cgit