diff --git a/macros.python b/macros.python index 70eb148..8ad1161 100644 --- a/macros.python +++ b/macros.python @@ -76,6 +76,6 @@ end } -%python_enable_dependency_generator() \ -%global __pythondist_requires %{_rpmconfigdir}/pythondistdeps.py --requires \ +%python_disable_dependency_generator() \ +%undefine __pythondist_requires \ %{nil} diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index 44639b8..727b632 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -1,6 +1,6 @@ Name: python-rpm-macros Version: 3 -Release: 40%{?dist} +Release: 41%{?dist} Summary: The unversioned Python RPM macros License: MIT @@ -73,6 +73,9 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \ %changelog +* Thu Dec 20 2018 Igor Gnatenko - 3-41 +- Add %%python_disable_dependency_generator + * Wed Dec 05 2018 Miro HronĨok - 3-40 - Workaround leaking buildroot PATH in %py_byte_compile (#1647212)