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