From f2da90ccafff2395d41a71463b11d63605ea090da802ce5a3a65bea1068f4323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Thu, 22 Nov 2018 10:53:39 +0000 Subject: [PATCH] Accepting request 651047 from home:asmorodskyi:branches:devel:languages:python:backports - Fix python-module compatibility with older distros OBS-URL: https://build.opensuse.org/request/show/651047 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=488 --- python-rpm.changes | 5 +++++ python-rpm.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-rpm.changes b/python-rpm.changes index f7b225e..63a346f 100644 --- a/python-rpm.changes +++ b/python-rpm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 22 09:50:36 UTC 2018 - asmorodskyi@suse.com + +- Fix python-module compatibility with older distros + ------------------------------------------------------------------- Fri Apr 6 14:11:01 CEST 2018 - mls@suse.de diff --git a/python-rpm.spec b/python-rpm.spec index 4d6c460..6ca8ea3 100644 --- a/python-rpm.spec +++ b/python-rpm.spec @@ -19,6 +19,7 @@ # Enable Python build sourced from rpm spec %global with_python 1 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rpm Version: 4.14.2.1 Release: 0