Tweak to support flatpak.
This commit is contained in:
parent
cebd9e6865
commit
291f840e04
@ -37,7 +37,7 @@
|
||||
Summary: PyQt5 is Python bindings for Qt5
|
||||
Name: python-qt5
|
||||
Version: 5.12.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
|
||||
License: GPLv3
|
||||
Url: http://www.riverbankcomputing.com/software/pyqt/
|
||||
@ -367,6 +367,11 @@ sed -i \
|
||||
%{buildroot}%{_bindir}/{pyrcc5,pylupdate5,pyuic5}
|
||||
%endif
|
||||
|
||||
if [ "%{_prefix}" != "/usr" ]; then
|
||||
cp -ru %{buildroot}/usr/* %{buildroot}%{_prefix}/
|
||||
rm -rf %{buildroot}/usr/*
|
||||
fi
|
||||
|
||||
|
||||
%if 0%{?with_python2}
|
||||
%files -n python2-qt5
|
||||
@ -531,6 +536,10 @@ sed -i \
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 26 2019 Gwyn Ciesla <gwync@protonmail.com> - 5.12.3-3
|
||||
- Add ugly hack to work around setuptools issue for flatpak.
|
||||
- https://github.com/pypa/setuptools/issues/1808
|
||||
|
||||
* Fri Jun 28 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.3-2
|
||||
- rebuild (qtbase/qtmultimedia)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user