update-specfile: update to current production

This commit is contained in:
Silvan Calarco 2022-10-02 12:51:43 +02:00
parent 4902ab352f
commit 6b784c66d3

View File

@ -54,17 +54,24 @@ sed -i "s|^Vendor:.*|Vendor: openmamba|;
/BuildRequires:[[:space:]]*libffmpeg-devel/d; /BuildRequires:[[:space:]]*libffmpeg-devel/d;
/^BuildRequires:[[:space:]]*libkdegames-devel/d; /^BuildRequires:[[:space:]]*libkdegames-devel/d;
/^BuildRequires:[[:space:]]*libkdegames5-devel/d; /^BuildRequires:[[:space:]]*libkdegames5-devel/d;
/^BuildRoot:[[:space:]]*.*/d;
s|\(BuildRequires:[[:space:]]*\)libmysql-devel|\1libmysql5-devel|; s|\(BuildRequires:[[:space:]]*\)libmysql-devel|\1libmysql5-devel|;
s|\(BuildRequires:[[:space:]]*\)libdb42-devel|\1libdb47-devel|; s|\(BuildRequires:[[:space:]]*\)libdb42-devel|\1libdb47-devel|;
s|\(BuildRequires:[[:space:]]*\)libdb51-devel|\1libdb53-devel|;
s|\(BuildRequires:[[:space:]]*\)firefox-devel|\1xulrunner-devel|; s|\(BuildRequires:[[:space:]]*\)firefox-devel|\1xulrunner-devel|;
s|^PreReq:[[:space:]]*/sbin/install-info|Requires(post):%{__install_info}|; s|^PreReq:[[:space:]]*/sbin/install-info|Requires(post):%{__install_info}|;
s|^PreReq:[[:space:]]*%{__install_info}|Requires(post):%{__install_info}|; s|^PreReq:[[:space:]]*%{__install_info}|Requires(post):%{__install_info}|;
s|^PreReq:[[:space:]]*|Requires(pre): |; s|^PreReq:[[:space:]]*|Requires(pre): |;
s|^\(Requires:[[:space:]]*kde-workspace\)$|#\1|; s|^\(Requires:[[:space:]]*kde-workspace\)$|#\1|;
s|http://.*.dl\.sourceforge\.net/|http://downloads.sourceforge.net/|; s|http://.*.dl\.sourceforge\.net/|https://downloads.sourceforge.net/|;
s|http://ftp.kde.org/stable/|http://download.kde.org/stable/|; s|http://ftp.kde.org/stable/|https://download.kde.org/stable/|;
s|ftp://ftp.kde.org/pub/kde/|http://download.kde.org/|; s|ftp://ftp.kde.org/pub/kde/|https://download.kde.org/|;
s|http://download.kde.org/stable/%{version}|http://download.kde.org/stable/applications/%{version}|" $SPECFILE s|update-mime-database %{|update-mime-database -n %{|;
s|http://download.kde.org/stable/%{version}|https://download.kde.org/stable/applications/%{version}|;
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|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 #sed -i "s|^\(Source.*:[[:space:]]*ftp://ftp.kde.org/pub/kde/stable/.*.tar.\)bz2|\1xz|" $SPECFILE
if [ $BUILDREQNUM -gt 0 ]; then if [ $BUILDREQNUM -gt 0 ]; then