add macros to enable dependency generator
References: https://fedoraproject.org/wiki/Changes/EnablingPythonGenerators Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
69b720ea4f
commit
ec476c84cc
@ -71,3 +71,7 @@
|
|||||||
print(" not recognized.")
|
print(" not recognized.")
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%python_enable_dependency_generator() \
|
||||||
|
%global __python_requires %{_rpmconfigdir}/pythondistdeps.py --requires \
|
||||||
|
%{nil}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: python-rpm-macros
|
Name: python-rpm-macros
|
||||||
Version: 3
|
Version: 3
|
||||||
Release: 24%{?dist}
|
Release: 25%{?dist}
|
||||||
Summary: The unversioned Python RPM macros
|
Summary: The unversioned Python RPM macros
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -69,6 +69,9 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3-25
|
||||||
|
- Add %%python_enable_dependency_generator
|
||||||
|
|
||||||
* Tue Nov 28 2017 Tomas Orsava <torsava@redhat.com> - 3-24
|
* Tue Nov 28 2017 Tomas Orsava <torsava@redhat.com> - 3-24
|
||||||
- Remove platform-python macros (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
|
- Remove platform-python macros (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user