diff options
-rw-r--r-- | yum-fast-downloader.py | 5 | ||||
-rw-r--r-- | yum-fast-downloader.spec | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/yum-fast-downloader.py b/yum-fast-downloader.py index fda6f34..b012c53 100644 --- a/yum-fast-downloader.py +++ b/yum-fast-downloader.py @@ -62,10 +62,11 @@ def _getAria2CArgs(urls, remote_path, local_path, proxies = None): def downloadFile(urls, remote_path, local_path, proxies = None): if urls[0].startswith("http://") or urls[0].startswith("ftp://"): + repo_name = os.path.basename(os.path.dirname(local_path)) print "\n============================================================" \ - "====================\nDownloading {0}\n=========="\ + "====================\nDownloading ({0}) {1}\n=========="\ "==================================================================="\ - "===".format(remote_path) + "===".format(repo_name, remote_path) args = _getAria2CArgs(urls, remote_path, local_path) ret = os.spawnvp(os.P_WAIT, downloader_app, args) if ret: diff --git a/yum-fast-downloader.spec b/yum-fast-downloader.spec index a7645d3..93625a8 100644 --- a/yum-fast-downloader.spec +++ b/yum-fast-downloader.spec @@ -1,6 +1,6 @@ Summary: A fast downloader plugin for yum Name: yum-fast-downloader -Version: 0.5.7 +Version: 0.5.8 Release: 1 License: GPLv2+ Group: System Environment/Base @@ -34,6 +34,9 @@ install -m 755 %{name}-finalize $RPM_BUILD_ROOT/usr/libexec/ /usr/libexec/* %changelog +* Wed Oct 19 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.5.8-1 +- Include repository name in output when downloading metadata files + * Sat Oct 08 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.5.7-1 - Fixed a bug in downloading single files which caused repeated downloading of metadata files |