Add --no-deps option to py_install_wheel macros

This commit is contained in:
Michal Cyprian 2017-01-23 18:52:17 +01:00
parent 123ad4b49f
commit d0fdb0d759
4 changed files with 7 additions and 4 deletions

View File

@ -28,7 +28,7 @@
} }
%py_install_wheel() %{expand:\\\ %py_install_wheel() %{expand:\\\
pip install -I dist/%{1} --root %{buildroot} --strip-file-prefix %{buildroot} pip install -I dist/%{1} --root %{buildroot} --strip-file-prefix %{buildroot} --no-deps
} }
%python_provide() %{lua: %python_provide() %{lua:

View File

@ -33,5 +33,5 @@
} }
%py2_install_wheel() %{expand:\\\ %py2_install_wheel() %{expand:\\\
pip%{python2_version} install -I dist/%{1} --root %{buildroot} --strip-file-prefix %{buildroot} pip%{python2_version} install -I dist/%{1} --root %{buildroot} --strip-file-prefix %{buildroot} --no-deps
} }

View File

@ -34,5 +34,5 @@
} }
%py3_install_wheel() %{expand:\\\ %py3_install_wheel() %{expand:\\\
pip%{python3_version} install -I dist/%{1} --root %{buildroot} --strip-file-prefix %{buildroot} pip%{python3_version} install -I dist/%{1} --root %{buildroot} --strip-file-prefix %{buildroot} --no-deps
} }

View File

@ -1,6 +1,6 @@
Name: python-rpm-macros Name: python-rpm-macros
Version: 3 Version: 3
Release: 16%{?dist} Release: 17%{?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
* Mon Jan 23 2017 Michal Cyprian <mcyprian@redhat.com> - 3-17
- Add --no-deps option to py_install_wheel macros
* Tue Jan 17 2017 Tomas Orsava <torsava@redhat.com> - 3-16 * Tue Jan 17 2017 Tomas Orsava <torsava@redhat.com> - 3-16
- Added macros for Build/Requires tags using Python dist tags: - Added macros for Build/Requires tags using Python dist tags:
https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages