python-pyghmi/nopbr.patch

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@@"