From d3d040818d53e2c1bdb03a9e089773de92dca0e7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 28 Jul 2018 14:21:13 +0200 Subject: [PATCH] Change way how enabling-depgen works internally Signed-off-by: Igor Gnatenko --- macros.python | 2 +- python-rpm-macros.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/macros.python b/macros.python index f0039c8..4107d68 100644 --- a/macros.python +++ b/macros.python @@ -77,5 +77,5 @@ } %python_enable_dependency_generator() \ -%global __python_requires %{_rpmconfigdir}/pythondistdeps.py --requires \ +%global __pythondist_requires %{_rpmconfigdir}/pythondistdeps.py --requires \ %{nil} diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index 86949e6..934a232 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -1,6 +1,6 @@ Name: python-rpm-macros Version: 3 -Release: 34%{?dist} +Release: 35%{?dist} Summary: The unversioned Python RPM macros License: MIT @@ -71,6 +71,9 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \ %changelog +* Sat Jul 28 2018 Igor Gnatenko - 3-35 +- Change way how enabling-depgen works internally + * Sat Jul 14 2018 Tomas Orsava - 3-34 - macros.pybytecompile: Detect Python version through sys.version_info instead of guessing from the executable name