From b3e82e19b4c42721636018ae4ec9c8b233c50fec Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 16 Aug 2012 12:13:07 +0200 Subject: [PATCH] update-specfile: sync to current --- etc/autodist/scripts/update-specfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/autodist/scripts/update-specfile b/etc/autodist/scripts/update-specfile index 689ffc3..4114d77 100755 --- a/etc/autodist/scripts/update-specfile +++ b/etc/autodist/scripts/update-specfile @@ -1,6 +1,6 @@ # Autodist script for updating specfiles # -# Copyright (c) 2007-2009 by Silvan Calarco +# Copyright (c) 2007-2012 by Silvan Calarco # Released with the same license as autodist # @@ -24,5 +24,6 @@ sed -i "s|\(BuildRequires:[[:space:]]*\)firefox-devel|\1xulrunner-devel|" $1 sed -i "s|^PreReq:[[:space:]]*/sbin/install-info|Requires(post):%{__install_info}|" $1 sed -i "s|^PreReq:[[:space:]]*%{__install_info}|Requires(post):%{__install_info}|" $1 sed -i "s|^PreReq:[[:space:]]*|Requires(pre): |" $1 +sed -i "s|http://.*.dl\.sourceforge\.net/|http://downloads.sourceforge.net/|" $1 #sed -i "s|^\(Source.*:[[:space:]]*ftp://ftp.kde.org/pub/kde/stable/.*.tar.\)bz2|\1xz|" $1 exit 0