From 2b5a88aa8b94b4949d6891de25e5a99eaff04c5a Mon Sep 17 00:00:00 2001 From: Tomas Mlcoch Date: Thu, 31 Oct 2013 09:31:34 +0100 Subject: [PATCH] Update to 1.3.0 --- .gitignore | 1 + librepo-mirrorlist_h.patch | 11 ----------- librepo.spec | 28 +++++++++++++--------------- sources | 2 +- 4 files changed, 15 insertions(+), 27 deletions(-) delete mode 100644 librepo-mirrorlist_h.patch diff --git a/.gitignore b/.gitignore index 10dbf1b..19432bc 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /librepo-c4ee6d2.tar.xz /librepo-4a8f93b.tar.xz /librepo-bc2c8a5.tar.xz +/librepo-09b3052.tar.xz diff --git a/librepo-mirrorlist_h.patch b/librepo-mirrorlist_h.patch deleted file mode 100644 index 5dc3c37..0000000 --- a/librepo-mirrorlist_h.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up librepo/librepo/CMakeLists.txt.mirrorlist librepo/librepo/CMakeLists.txt ---- librepo/librepo/CMakeLists.txt.mirrorlist 2013-10-07 06:40:51.000000000 -0500 -+++ librepo/librepo/CMakeLists.txt 2013-10-10 19:44:38.906416673 -0500 -@@ -25,6 +25,7 @@ SET(librepo_HEADERS - handle.h - librepo.h - metalink.h -+ mirrorlist.h - package_downloader.h - rcodes.h - repomd.h diff --git a/librepo.spec b/librepo.spec index 44772b6..cf25a3f 100644 --- a/librepo.spec +++ b/librepo.spec @@ -1,9 +1,9 @@ -%global gitrev bc2c8a5 +%global gitrev 09b3052 # gitrev is output of: git rev-parse --short HEAD Name: librepo -Version: 1.2.1 -Release: 3.%{gitrev}%{?dist} +Version: 1.3.0 +Release: 1%{?dist} Summary: Repodata downloading library Group: System Environment/Libraries @@ -15,10 +15,6 @@ URL: https://github.com/Tojaj/librepo # utils/make_tarball.sh %{gitrev} Source0: librepo-%{gitrev}.tar.xz -# upstreamable patch to install missing mirrorlist.h header -# https://bugzilla.redhat.com/show_bug.cgi?id=1018006 -Patch1: librepo-mirrorlist_h.patch - BuildRequires: check-devel BuildRequires: cmake BuildRequires: doxygen @@ -75,8 +71,6 @@ Python 3 bindings for the librepo library. %prep %setup -q -n librepo -%patch1 -p1 -b .mirrorlist_h - rm -rf py3 mkdir ../py3 cp -a . ../py3/ @@ -124,12 +118,16 @@ popd %{python3_sitearch}/ %changelog -* Thu Oct 10 2013 Rex Dieter - 1.2.1-3.bc2c8a5 -- fastestmirror.h:26:24: fatal error: mirrorlist.h: No such file or directory (#1018006) -- adjust Release tag to match packaging guidelines - -* Thu Oct 10 2013 Tomas Mlcoch - 1.2.1-2 -- Just release bump +* Thu Oct 31 2013 Tomas Mlcoch - 1.3.0-1 +- Some CURL error codes should be considered as fatal (RhBug: 1022994) +- fastestmirror: Add support for cache - New options: LRO_FASTESTMIRRORCACHE + and LRO_FASTESTMIRRORMAXAGE +- fastestmirror: For download_packages() do fastestmirror detection for + all handles in one shot +- Use during repomd.xml download (RhBug: 1019103) +- Don't perform fastest mirror test if file already exists locally. +- fastestmirror.h:26:24: fatal error: mirrorlist.h: No such file + or directory (#1018006) * Mon Oct 07 2013 Tomas Mlcoch - 1.2.1-1 - Open fd right before downloading and close them immediately after diff --git a/sources b/sources index 613e9b7..a63f0e4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -738edb5e6e67b6a50585d97bf56952be librepo-bc2c8a5.tar.xz +f6a1ebb89da8af05ec4145cbb536cf3c librepo-09b3052.tar.xz