Update to 1.3.0

This commit is contained in:
Tomas Mlcoch 2013-10-31 09:31:34 +01:00
parent 8fc54c3fb7
commit 2b5a88aa8b
4 changed files with 15 additions and 27 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
/librepo-c4ee6d2.tar.xz
/librepo-4a8f93b.tar.xz
/librepo-bc2c8a5.tar.xz
/librepo-09b3052.tar.xz

View File

@ -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

View File

@ -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 <rdieter@fedoraproject.org> - 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 <tmlcoch at redhat.com> - 1.2.1-2
- Just release bump
* Thu Oct 31 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 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 <mm0:alternates> 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 <tmlcoch at redhat.com> - 1.2.1-1
- Open fd right before downloading and close them immediately after

View File

@ -1 +1 @@
738edb5e6e67b6a50585d97bf56952be librepo-bc2c8a5.tar.xz
f6a1ebb89da8af05ec4145cbb536cf3c librepo-09b3052.tar.xz