Add %python_disable_dependency_generator

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-12-20 14:35:02 +01:00
parent 4b3c23b233
commit 9b8fac037d
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
2 changed files with 6 additions and 3 deletions

View File

@ -76,6 +76,6 @@
end
}
%python_enable_dependency_generator() \
%global __pythondist_requires %{_rpmconfigdir}/pythondistdeps.py --requires \
%python_disable_dependency_generator() \
%undefine __pythondist_requires \
%{nil}

View File

@ -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 <ignatenkobrain@fedoraproject.org> - 3-41
- Add %%python_disable_dependency_generator
* Wed Dec 05 2018 Miro Hrončok <mhroncok@redhat.com> - 3-40
- Workaround leaking buildroot PATH in %py_byte_compile (#1647212)