From 10e566b640e997349f919122ec881a661ea3f8ea Mon Sep 17 00:00:00 2001 From: Silvan Date: Mon, 9 Oct 2023 19:54:26 +0200 Subject: [PATCH] update-specfile: sync with current build server changes --- etc/autodist/scripts/update-specfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/autodist/scripts/update-specfile b/etc/autodist/scripts/update-specfile index 761eefc..29dc420 100755 --- a/etc/autodist/scripts/update-specfile +++ b/etc/autodist/scripts/update-specfile @@ -54,6 +54,7 @@ sed -i "s|^Vendor:.*|Vendor: openmamba|; /BuildRequires:[[:space:]]*libffmpeg-devel/d; /^BuildRequires:[[:space:]]*libkdegames-devel/d; /^BuildRequires:[[:space:]]*libkdegames5-devel/d; + /^BuildRequires:[[:space:]]*python3.7dist/d; /^BuildRoot:[[:space:]]*.*/d; s|\(BuildRequires:[[:space:]]*\)libmysql-devel|\1libmysql5-devel|; s|\(BuildRequires:[[:space:]]*\)libdb42-devel|\1libdb47-devel|; @@ -63,6 +64,7 @@ sed -i "s|^Vendor:.*|Vendor: openmamba|; s|^PreReq:[[:space:]]*%{__install_info}|Requires(post):%{__install_info}|; s|^PreReq:[[:space:]]*|Requires(pre): |; s|^\(Requires:[[:space:]]*kde-workspace\)$|#\1|; + s|^%patch\([0-9][0-9]*\)|%patch \1|; s|http://.*.dl\.sourceforge\.net/|https://downloads.sourceforge.net/|; s|http://ftp.kde.org/stable/|https://download.kde.org/stable/|; s|ftp://ftp.kde.org/pub/kde/|https://download.kde.org/|; @@ -71,6 +73,7 @@ sed -i "s|^Vendor:.*|Vendor: openmamba|; s|http[s]*://pypi.python.org/packages/source/[^/]*/|https://pypi.debian.net/|; s|http://ftp.gnome.org/pub/GNOME/sources/|https://download.gnome.org/sources/|; s|ftp://ftp.gnome.org/pub/gnome/sources/|https://download.gnome.org/sources/|" $SPECFILE +# s|;s,.*/man/.*,&.gz,g||; # s|http.*.cpan.org/.*/\([^/-]*\)\(-.*\)|https://cpan.metacpan.org/modules/by-module/\1/\1\2|; #sed -i "s|^\(Source.*:[[:space:]]*ftp://ftp.kde.org/pub/kde/stable/.*.tar.\)bz2|\1xz|" $SPECFILE