From 251a5c1cd42a07897942ac63e4881528083add67 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Sat, 29 Jun 2013 22:23:09 +0800 Subject: [PATCH] Removes fix-package-version-detection-when-building-doc.patch Rewritten-From: 560a39a75e560cfb62086991f8ab5dcd6c23e246 --- ...-version-detection-when-building-doc.patch | 25 ------------------- xenial/debian/patches/series | 1 - 2 files changed, 26 deletions(-) delete mode 100644 xenial/debian/patches/fix-package-version-detection-when-building-doc.patch diff --git a/xenial/debian/patches/fix-package-version-detection-when-building-doc.patch b/xenial/debian/patches/fix-package-version-detection-when-building-doc.patch deleted file mode 100644 index 55f91ca..0000000 --- a/xenial/debian/patches/fix-package-version-detection-when-building-doc.patch +++ /dev/null @@ -1,25 +0,0 @@ -Description: Fixes version detection when building docs -Author: Thomas Goirand -Forwarded: no -Last-Update: 2013-05-17 - ---- horizon-2013.1.1.orig/openstack_dashboard/openstack/common/version.py -+++ horizon-2013.1.1/openstack_dashboard/openstack/common/version.py -@@ -19,6 +19,7 @@ Utilities for consuming the version from - """ - - import pkg_resources -+import os - - - class VersionInfo(object): -@@ -54,6 +55,9 @@ class VersionInfo(object): - if self.release is None: - self.release = self._get_version_from_pkg_resources() - -+ if self.release is None: -+ self.release = os.environ.get("OSLO_PACKAGE_VERSION", None) -+ - return self.release - - def version_string(self): diff --git a/xenial/debian/patches/series b/xenial/debian/patches/series index 877920a..89e6f35 100644 --- a/xenial/debian/patches/series +++ b/xenial/debian/patches/series @@ -1,3 +1,2 @@ fix-dashboard-django-wsgi.patch fix-dashboard-manage.patch -fix-package-version-detection-when-building-doc.patch -- 2.45.2