Update Source0 Url

(cherry picked from commit c1c065a6daa221dfb885bba8d065e07c424bb95c)
This commit is contained in:
wk333 2022-03-15 10:39:52 +08:00 committed by openeuler-sync-bot
parent b5ee1e2a4f
commit 300486f8a3

View File

@ -13,12 +13,7 @@ Release: 1
Summary: PyQt5 is a set of Python bindings for Qt5 Summary: PyQt5 is a set of Python bindings for Qt5
License: GPLv3 License: GPLv3
Url: http://www.riverbankcomputing.com/software/pyqt/ Url: http://www.riverbankcomputing.com/software/pyqt/
Source0: https://pypi.python.org/packages/source/P/PyQt5/PyQt5-%{version}.tar.gz
%if 0%{?snap:1}
Source0: http://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5_gpl-%{version}%{?snap:.%{snap}}.tar.gz
%else
Source0: https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-%{version}/PyQt5_gpl-%{version}.tar.gz/download?use_mirror=netactuate#/PyQt5-%{version}.tar.gz
%endif
Source1: macros.pyqt5 Source1: macros.pyqt5
Source2: pylupdate5.sh Source2: pylupdate5.sh
Source3: pyrcc5.sh Source3: pyrcc5.sh
@ -116,7 +111,7 @@ Obsoletes: python3-qt5 < 5.5.1-10
Python v3 bindings for Qt5 Webkit. Python v3 bindings for Qt5 Webkit.
%prep %prep
%autosetup -n PyQt5-%{version}%{?snap:.%{snap}} -p1 %autosetup -n PyQt5-%{version} -p1
%build %build
export PATH="%{_qt5_bindir}:$PATH" export PATH="%{_qt5_bindir}:$PATH"