From 26458b003060faac1a41490eaf45fefd7d7ef804 Mon Sep 17 00:00:00 2001 From: Olav Vitters Date: Tue, 22 Jul 2014 11:39:52 +0200 Subject: change ftp.gnome.org to download.gnome.org --- mgagnome | 1 + 1 file changed, 1 insertion(+) diff --git a/mgagnome b/mgagnome index 36f1c5c..6c12f8f 100755 --- a/mgagnome +++ b/mgagnome @@ -392,6 +392,7 @@ class SpecFile(object): ('remove buildroot definition', None, re.compile(r'^BuildRoot[ \t]*:[^\n]+\n', re.MULTILINE + re.IGNORECASE)), ('remove unneeded setup option', None, re.compile(r'^(?P\%setup -q )-n (?:\%name|\%\{name\})-(?:\%version|\%\{version\})(?P\n)', re.MULTILINE + re.IGNORECASE)), ('https for download.gnome.org', r'\ghttps://\g', re.compile(r'^(?PSource[0-9]*[ \t]*:[^\n]+)http://(?Pdownload.gnome.org/[^\n]+\n)', re.MULTILINE + re.IGNORECASE)), + ('download.gnome.org instead of ftp.gnome.org', r'\ghttps://download.gnome.org\g', re.compile(r'^(?PSource[0-9]*[ \t]*:[^\n]+)(?:ftp|http|https)://ftp.gnome.org/pub/GNOME(?P/[^\n]+\n)', re.MULTILINE + re.IGNORECASE)), ] re_convert_br = [ ('remove py_requires', ('python',), re.compile(r'^\%(?:py_requires|\{py_requires\})[ \t]*\n', re.MULTILINE)), -- cgit v1.2.1