python-pyghmi/nopbr.patch
Pavel Cahyna 1dd30fe369 Initial import to RHEL 8.
Avoid dependency on python-pbr, conditionalize docs build, to allow
building in RHEL.  Inspired by python-sushy.

Update to 1.5.29.

Resolves: rhbz1878679
2021-08-11 00:50:44 +02:00

13 lines
471 B
Diff

diff -up pyghmi-1.5.14/pyghmi/version.py~ pyghmi-1.5.14/pyghmi/version.py
--- pyghmi-1.5.14/pyghmi/version.py~ 2020-04-22 22:23:43.000000000 +0200
+++ pyghmi-1.5.14/pyghmi/version.py 2021-08-06 10:59:41.595820434 +0200
@@ -13,6 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import pbr.version
+#import pbr.version
-version_info = pbr.version.VersionInfo('pyghmi')
+version_info = "@@REDHATVERSION@@"