Drop --single-version-externally-managed, it breaks the build

See also https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/34

The change in python-rpm-macros broke passing arguments like this,
however it was not needed here.
This commit is contained in:
Miro Hrončok 2020-01-07 19:38:37 +01:00
parent dbe5d41d8c
commit 86ee908a6c

View File

@ -47,8 +47,8 @@ find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
%py3_build
%install
%py3_install \
--single-version-externally-managed
%py3_install
# Directories used in windows build
rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib
rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share