diff options
author | Olav Vitters <olav@vitters.nl> | 2014-07-22 11:39:52 +0200 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2014-07-22 11:39:52 +0200 |
commit | 26458b003060faac1a41490eaf45fefd7d7ef804 (patch) | |
tree | cdb853e707e984b79328754878e8ee3996683aa0 /mgagnome | |
parent | e6bb7bc011091f8b4489581c76d2de87ee6713e5 (diff) | |
download | mgagnome-26458b003060faac1a41490eaf45fefd7d7ef804.tar mgagnome-26458b003060faac1a41490eaf45fefd7d7ef804.tar.gz mgagnome-26458b003060faac1a41490eaf45fefd7d7ef804.tar.bz2 mgagnome-26458b003060faac1a41490eaf45fefd7d7ef804.tar.xz mgagnome-26458b003060faac1a41490eaf45fefd7d7ef804.zip |
change ftp.gnome.org to download.gnome.org
Diffstat (limited to 'mgagnome')
-rwxr-xr-x | mgagnome | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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<keeppre>\%setup -q )-n (?:\%name|\%\{name\})-(?:\%version|\%\{version\})(?P<keeppost>\n)', re.MULTILINE + re.IGNORECASE)), ('https for download.gnome.org', r'\g<keeppre>https://\g<keeppost>', re.compile(r'^(?P<keeppre>Source[0-9]*[ \t]*:[^\n]+)http://(?P<keeppost>download.gnome.org/[^\n]+\n)', re.MULTILINE + re.IGNORECASE)), + ('download.gnome.org instead of ftp.gnome.org', r'\g<keeppre>https://download.gnome.org\g<keeppost>', re.compile(r'^(?P<keeppre>Source[0-9]*[ \t]*:[^\n]+)(?:ftp|http|https)://ftp.gnome.org/pub/GNOME(?P<keeppost>/[^\n]+\n)', re.MULTILINE + re.IGNORECASE)), ] re_convert_br = [ ('remove py_requires', ('python',), re.compile(r'^\%(?:py_requires|\{py_requires\})[ \t]*\n', re.MULTILINE)), |