File project.diff of Package deluge
--- deluge.spec.orig
+++ deluge.spec
@@ -23,7 +23,7 @@ Release: 0
Summary: BitTorrent Client
License: SUSE-GPL-3.0-with-openssl-exception
URL: https://deluge-torrent.org/
-Source: http://download.deluge-torrent.org/source/%{_version}/%{name}-%{version}.tar.xz
+Source: %{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE deluge-suse-geoip-location.patch -- Point to the right GeoIP.dat location.
Patch0: %{name}-suse-geoip-location.patch
# PATCH-FIX-UPSTREAM deluge-update_7z_binary.patch
@@ -94,6 +94,8 @@ model.
%autosetup -p1
sed -i '/^#!/d' deluge/path_chooser_common.py deluge/ui/gtk3/path_combo_chooser.py
+echo %{version} > RELEASE-VERSION
+
%build
%py3_build