Accepting request 763287 from home:bmwiedemann:branches:devel:languages:python

Use pyproject_install macro (boo#1094323)

OBS-URL: https://build.opensuse.org/request/show/763287
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hupper?expand=0&rev=14
This commit is contained in:
Ondřej Súkup 2020-01-11 21:30:46 +00:00 committed by Git OBS Bridge
parent 7f116b54df
commit eba51e11ab
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 11 14:51:39 UTC 2020 - Bernhard Wiedemann <bwiedemann@suse.com>
- Use pyproject_install macro (boo#1094323)
-------------------------------------------------------------------
Mon Aug 5 11:54:38 UTC 2019 - pgajdos@suse.com

View File

@ -48,7 +48,8 @@ When files are changed the process is restarted.
# Not Needed
%install
%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
cp -a %{SOURCE0} .
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/hupper