fb7f7e
%if 0%{?rhel} != 0 && 0%{?rhel} <= 7
fb7f7e
# Do not build bindings for python3 for RHEL <= 7
fb7f7e
%bcond_with python3
fb7f7e
# python-flask is not in RHEL7
fb7f7e
%bcond_with tests
fb7f7e
%else
fb7f7e
%bcond_without python3
fb7f7e
%bcond_without tests
fb7f7e
%endif
fb7f7e
fb7f7e
Name:           librepo
fb7f7e
Version:        1.8.1
fb7f7e
Release:        7%{?dist}
fb7f7e
Summary:        Repodata downloading library
fb7f7e
fb7f7e
Group:          System Environment/Libraries
fb7f7e
License:        LGPLv2+
fb7f7e
URL:            https://github.com/rpm-software-management/librepo
fb7f7e
Source0:        %{url}/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
fb7f7e
fb7f7e
BuildRequires:  check-devel
fb7f7e
BuildRequires:  cmake
fb7f7e
BuildRequires:  gcc
fb7f7e
BuildRequires:  doxygen
fb7f7e
BuildRequires:  expat-devel
fb7f7e
BuildRequires:  glib2-devel >= 2.26.0
fb7f7e
BuildRequires:  gpgme-devel
fb7f7e
BuildRequires:  libattr-devel
fb7f7e
BuildRequires:  libcurl-devel >= 7.19.0
fb7f7e
BuildRequires:  openssl-devel
fb7f7e
fb7f7e
# prevent provides from nonstandard paths:
fb7f7e
%filter_provides_in %{python_sitearch}/.*\.so$
fb7f7e
%if %{with python3}
fb7f7e
%filter_provides_in %{python3_sitearch}/.*\.so$
fb7f7e
%endif
fb7f7e
%filter_setup
fb7f7e
fb7f7e
%description
fb7f7e
A library providing C and Python (libcURL like) API to downloading repository
fb7f7e
metadata.
fb7f7e
fb7f7e
%package devel
fb7f7e
Summary:        Repodata downloading library
fb7f7e
Group:          Development/Libraries
fb7f7e
Requires:       %{name}%{?_isa} = %{version}-%{release}
fb7f7e
fb7f7e
%description devel
fb7f7e
Development files for librepo.
fb7f7e
fb7f7e
%package -n python-%{name}
fb7f7e
Summary:        Python bindings for the librepo library
fb7f7e
Group:          Development/Languages
fb7f7e
BuildRequires:  pygpgme
fb7f7e
BuildRequires:  python2-devel
fb7f7e
%if %{with tests}
fb7f7e
BuildRequires:  python-flask
fb7f7e
BuildRequires:  python-nose
fb7f7e
%endif
fb7f7e
BuildRequires:  python-sphinx
fb7f7e
BuildRequires:  pyxattr
fb7f7e
Requires:       %{name}%{?_isa} = %{version}-%{release}
fb7f7e
fb7f7e
%description -n python-%{name}
fb7f7e
Python bindings for the librepo library.
fb7f7e
fb7f7e
%if %{with python3}
fb7f7e
%package -n python3-%{name}
fb7f7e
Summary:        Python 3 bindings for the librepo library
fb7f7e
Group:          Development/Languages
fb7f7e
BuildRequires:  python3-pygpgme
fb7f7e
BuildRequires:  python3-devel
fb7f7e
%if %{with tests}
fb7f7e
BuildRequires:  python3-flask
fb7f7e
BuildRequires:  python3-nose
fb7f7e
%endif
fb7f7e
BuildRequires:  python3-sphinx
fb7f7e
BuildRequires:  python3-pyxattr
fb7f7e
Requires:       %{name}%{?_isa} = %{version}-%{release}
fb7f7e
fb7f7e
%description -n python3-%{name}
fb7f7e
Python 3 bindings for the librepo library.
fb7f7e
%endif
fb7f7e
fb7f7e
%prep
fb7f7e
%autosetup -p1
fb7f7e
fb7f7e
mkdir build build-py3
fb7f7e
fb7f7e
%build
fb7f7e
pushd build
fb7f7e
  %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
fb7f7e
  %make_build
fb7f7e
popd
fb7f7e
fb7f7e
%if %{with python3}
fb7f7e
pushd build-py3
fb7f7e
  %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPYTHON_DESIRED:str=3 ..
fb7f7e
  %make_build
fb7f7e
popd
fb7f7e
%endif
fb7f7e
fb7f7e
%check
fb7f7e
%if %{with tests}
fb7f7e
pushd build
fb7f7e
  make ARGS="-V" test
fb7f7e
popd
fb7f7e
fb7f7e
%if %{with python3}
fb7f7e
pushd build-py3
fb7f7e
  make ARGS="-V" test
fb7f7e
popd
fb7f7e
%endif
fb7f7e
%endif
fb7f7e
fb7f7e
%install
fb7f7e
pushd build
fb7f7e
  %make_install
fb7f7e
popd
fb7f7e
%if %{with python3}
fb7f7e
pushd build-py3
fb7f7e
  %make_install
fb7f7e
popd
fb7f7e
%endif
fb7f7e
fb7f7e
%post -p /sbin/ldconfig
fb7f7e
fb7f7e
%postun -p /sbin/ldconfig
fb7f7e
fb7f7e
%files
fb7f7e
%doc COPYING README.md
fb7f7e
%{_libdir}/%{name}.so.*
fb7f7e
fb7f7e
%files devel
fb7f7e
%{_libdir}/%{name}.so
fb7f7e
%{_libdir}/pkgconfig/%{name}.pc
fb7f7e
%{_includedir}/%{name}/
fb7f7e
fb7f7e
%files -n python-%{name}
fb7f7e
%{python_sitearch}/%{name}/
fb7f7e
fb7f7e
%if %{with python3}
fb7f7e
%files -n python3-%{name}
fb7f7e
%{python3_sitearch}/
fb7f7e
%endif
fb7f7e
fb7f7e
%changelog
fb7f7e
* Fri Jun 08 2018 Marek Blaha <mblaha@redhat.com> - 1.8.1-1
fb7f7e
- Add yumrecord substitution mechanism (mluscon)
fb7f7e
- Fix a memory leak in signature verification (cwalters)
fb7f7e
- Add new option LRO_FTPUSEEPSV
fb7f7e
- downloader prepare_next_transfer(): simplify long line
fb7f7e
- downloader prepare_next_transfer(): add missing error check
fb7f7e
- downloader prepare_next_transfer(): cleanup error path
fb7f7e
- downloader prepare_next_transfer() - fix memory leak on error path (Alan Jenkins)
fb7f7e
- handle: Don't use proxy cache for downloads of metalink/mirrorlist
fb7f7e
- handle: Don't set CURLOPT_HTTPHEADER into curl handle immediately when specified
fb7f7e
- downloader: Implement logic for no_cache param in LrDownloadTarget (RhBug: 1297762)
fb7f7e
- Add no_cache param to LrDownloadTarget and lr_downloadtarget_new()
fb7f7e
- New test: always try to download from the fastest mirror (Alexander Todorov)
fb7f7e
fb7f7e
* Fri May 29 2015 Colin Walters <tmlcoch@redhat.com> - 1.7.16-1
fb7f7e
- Add LRI_LOWSPEEDTIME and LRI_LOWSPEEDLIMIT
fb7f7e
- downloader: Don't consider CURLE_RECV_ERROR and CURLE_SEND_ERROR as fatal errors (RhBug: 1219817)
fb7f7e
- test_repoconf: Fix SIGSEGV in repoconf_assert_na (RhBug: 1222471)
fb7f7e
- repoconf: Proper handling of gint64 and guint64 types
fb7f7e
- build: Be compatible with cmake 2.8
fb7f7e
- handle: Do not free temporary error msg if there is no one (RhBug: 1219822)
fb7f7e
- utils/make_rpm.sh: Accept rpmbuild options as second argument (Issue #49)
fb7f7e
- Python: call lr_global_init() during module initialization
fb7f7e
- Add global function log_set_file that allow user to set a file where logs will be written (Issue #53)
fb7f7e
- util: Honor RFC 3986 (Issue #55)
fb7f7e
fb7f7e
* Tue May 12 2015 Colin Walters <walters@redhat.com> - 1.7.15-2
fb7f7e
- Disable tests and drop python-flask build dependency on RHEL7, as
fb7f7e
  it is not in the core
fb7f7e
fb7f7e
* Tue Apr   14 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.15-1
fb7f7e
- Do not inlude header in the body output (RhBug: 1207685)
fb7f7e
- metalink: Proper error handling
fb7f7e
- New LRR_RPMMD_* contants
fb7f7e
- Support for client certificates
fb7f7e
- Use 'metadata in the rpm-md format' instead of 'yum metadata' (Issue #51)
fb7f7e
- CMakeLists.txt: do not check for CXX
fb7f7e
- build: Use solely pkg-config to find glib
fb7f7e
fb7f7e
* Wed Feb   25 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.14-2
fb7f7e
- compat: fix ck_assert_msg() segfault in rhel-7
fb7f7e
fb7f7e
* Wed Feb   25 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.14-1
fb7f7e
- tests: Use g_assert_cmpuint instead of ck_assert_uint_eq (Pullrequest #43)
fb7f7e
- Add LRO_OFFLINE
fb7f7e
- Python: Handle: Raise ValueError instead of TypeError when an unknown option is specified
fb7f7e
- Python: Result: Use ValueError instead of TypeError when an unknown option value is specified
fb7f7e
- Add LR_VERSION constant with version string
fb7f7e
- python: Import contants from C librepo module in a loop
fb7f7e
- repoconf: Add support for failover and skip_if_unavailable options
fb7f7e
- handle: Change of LRO_LOCAL causes invalidation of internal mirrorlist (related to RhBug: 1188600)
fb7f7e
- Load local mirrorlists when LRO_LOCAL is on (related to RhBug: 1188600)
fb7f7e
- util: Add lr_is_local_path()
fb7f7e
- New module repoconf for reading *.repo files
fb7f7e
- Add LRO_HTTPHEADER option (RhBug: 1181123)
fb7f7e
fb7f7e
* Fri Jan   23 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.13-1
fb7f7e
- Fix ABI compatibility (RhBug: 1185180)
fb7f7e
- fastestmirror: Add LRO_FASTESTMIRRORTIMEOUT option
fb7f7e
- downloader: Move broken mirror at the end of the list of mirrors (RhBug: 1183998)
fb7f7e
- Make building tests and docs optional
fb7f7e
- librepo: Don't download remote mirrorlist/metalink when LRO_LOCAL is specified (Resolves #41)
fb7f7e
fb7f7e
* Fri Jan   16 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.12-1
fb7f7e
- downloader: Allow max one resume + nicer message if xattr cannot be set (RhBug: 1130685)
fb7f7e
- downloader: Resume only files that were originaly downloaded by Librepo (RhBug: 1130685)
fb7f7e
- downloader: Show also calculated checksums in error message about bad checksum
fb7f7e
- Python: Return all strings in unicode
fb7f7e
fb7f7e
* Mon Dec   22 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.11-2
fb7f7e
- Make tests port agnostic
fb7f7e
fb7f7e
* Fri Dec   19 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.11-1
fb7f7e
- Substitute vars in URL in the lr_downloadtarget_new()
fb7f7e
- New module repoconf for reading of *.repo files
fb7f7e
- Add LRE_VALUE code + LR_REPOCONF_ERROR error domain
fb7f7e
- Fail if gpgcheck enabled but repomd.xml signature is not available
fb7f7e
- Support for RHEL6
fb7f7e
- Add LRO_GNUPGHOMEDIR option
fb7f7e
- Refactoring to prevent RhBug: 1144741
fb7f7e
- fastest_mirror: Use <0.0 (-1.0) instead of DBL_MAX when a connection time wasn't measured
fb7f7e
- Add sanity checks in order to avoid bugs like: 1166533, 1160087
fb7f7e
- Refactoring
fb7f7e
fb7f7e
* Mon Dec   1 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.10-1
fb7f7e
- repomd: Add error reporting support to lr_yum_repomd_get_highest_timestamp()
fb7f7e
  (RhBug: 1149436)
fb7f7e
fb7f7e
* Thu Nov  20 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.9-1
fb7f7e
- handle: Fix memory leak when looking for local metalink/mirrorlist (Issue #33)
fb7f7e
- Return -1 for LRR_YUM_TIMESTAMP if no repomd is available
fb7f7e
- Use CURLOPT_ERRORBUFFER to get more useful error messages
fb7f7e
- repoutil_yum: lr_repoutil_yum_check_repo: fix path handling
fb7f7e
fb7f7e
* Wed Sep  24 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.7-1
fb7f7e
- Initialize struct sigaction vars correctly (RhBug: 1145656 )
fb7f7e
fb7f7e
* Tue Aug  12 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.6-1
fb7f7e
- New option LRO_ADAPTIVEMIRRORSORTING
fb7f7e
- Increase limits to make librepo more robust (RhBug: 1124349)
fb7f7e
- New option LRO_ALLOWEDMIRRORFAILURES
fb7f7e
- Refactoring
fb7f7e
- Default value of LRO_MAXDOWNLOADSPERMIRROR changed from 2 to 3
fb7f7e
fb7f7e
* Tue Jul  8 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.5-1
fb7f7e
- accepts unicoded destination as UTF-8 string (Related: RhBug:1108908)
fb7f7e
- downloader: Do not print debug message about preparing internal mirror list
fb7f7e
  if no internal mirror is available
fb7f7e
- fastestmirror: subtract name lookup (dns) time from plain connect time
fb7f7e
- fastestmirror: Small refactoring
fb7f7e
fb7f7e
* Thu Jun 26 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.4-3
fb7f7e
- Increase default value of LRO_LOWSPEEDTIME from 10 to 30 (RhBug: 1109189)
fb7f7e
fb7f7e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-2
fb7f7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fb7f7e
fb7f7e
* Mon Jun   2 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.4-1
fb7f7e
- Add LRO_IPRESOLVE option to set a kind of IP addresses to use when resolving host names
fb7f7e
- Relicenced from GPLv2 to LGPLv2+
fb7f7e
- error mesage is in unicode (RhBug:1096452)
fb7f7e
fb7f7e
* Tue May   6 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.3-1
fb7f7e
- Fix some issues which were found by coverity scan
fb7f7e
- Add missing support for Handle Mirror Failure Callback (hmfcb)
fb7f7e
  while downloading repomd.xml (related to RhBug: 1093014)
fb7f7e
- Add LRO_SSLVERIFYPEER and LRO_SSLVERIFYHOST options (RhBug: 1093014)
fb7f7e
fb7f7e
* Wed Apr  23 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.2-1
fb7f7e
- Fix segfault in headercb if only base_url and no mirrolist is used (RhBug: 1090325)
fb7f7e
- Set environmental variable LIBREPO_DEBUG enables librepo debug output to stderr
fb7f7e
fb7f7e
* Mon Apr   7 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.1-1
fb7f7e
- Don't try to call cb if no cb is set (RhBug: 1083659)
fb7f7e
fb7f7e
* Mon Mar  31 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.0-1
fb7f7e
- Support for xml:base tag in repomd.xml.
fb7f7e
- Downloader: If checksums don't match, include the expected values and types
fb7f7e
  in the error message.
fb7f7e
- Handle: Add LRO_HMFCB and LRI_HMFCB options.
fb7f7e
- API CHANGE: lr_download_single_cb() new param mfcb (LrMirrorFailureCb)
fb7f7e
- API CHANGE: Removed cbdata param from lr_download_single_cb(). Use specific
fb7f7e
  data for each target.
fb7f7e
- New callback LrHandleMirrorFailureCb
fb7f7e
- Python doc update (Check it out: http://tojaj.github.io/librepo/)
fb7f7e
fb7f7e
* Thu Mar 27 2014 Matěj Cepl <mcepl@redhat.com> - 1.6.0-2
fb7f7e
- Make building of python3 components conditional
fb7f7e
- replace all TABs with spaces
fb7f7e
fb7f7e
* Thu Feb  20 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.6.0-1
fb7f7e
- Small API change: End callback now must return integer and not void)
fb7f7e
- downloader: Check for the lr_interrupt regularly
fb7f7e
- Handle exceptions in python callbacks as return values (RhBug: 1066321)
fb7f7e
- Support for byterange of download (RhBug: 1058777)
fb7f7e
fb7f7e
* Tue Jan  28 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.5.2-2
fb7f7e
- Ignore rsyc mirrors silently.
fb7f7e
fb7f7e
* Thu Jan  16 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.5.2-1
fb7f7e
- Better download resume logic
fb7f7e
fb7f7e
* Fri Jan   3 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.5.1-1
fb7f7e
-  Downloading: LRO_MAXSPEED has effect over whole downloading, it is not
fb7f7e
   per target max speed anymore.
fb7f7e
-  Sanitize progresscb (GitHub issue 24) (Thanks zde/zpavlas)
fb7f7e
fb7f7e
* Tue Dec  17 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.5.0-1
fb7f7e
- Extend C example
fb7f7e
- Add LRR_YUM_TIMESTAMP (GitHub issue #25)
fb7f7e
- Close the correct file when using a metalink.xml file
fb7f7e
- Add lr_check_packages()
fb7f7e
- Enable checksum caching for already existing local packages
fb7f7e
- Library: Call LR_PROGRESSCB with zeroized values, when total_to_download
fb7f7e
  value is changed
fb7f7e
- Skip fastestmirror detection of only one mirror is present
fb7f7e
fb7f7e
* Tue Nov  19 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.4.0-1
fb7f7e
- Add LRO_FASTESTMIRRORCB
fb7f7e
- Add LRO_LOWSPEEDTIME and LRO_LOWSPEEDLIMIT options. (RhBug: 1028444)
fb7f7e
- Default connection timeout changed to 30sec instead of 300sec.
fb7f7e
- unittests: Fix expired key (RhBug: 1031825)
fb7f7e
fb7f7e
* Thu Oct  31 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.3.0-1
fb7f7e
- Some CURL error codes should be considered as fatal (RhBug: 1022994)
fb7f7e
- fastestmirror: Add support for cache - New options: LRO_FASTESTMIRRORCACHE
fb7f7e
  and LRO_FASTESTMIRRORMAXAGE
fb7f7e
- fastestmirror: For download_packages() do fastestmirror detection for
fb7f7e
  all handles in one shot
fb7f7e
- Use <mm0:alternates> during repomd.xml download (RhBug: 1019103)
fb7f7e
- Don't perform fastest mirror test if file already exists locally.
fb7f7e
- fastestmirror.h:26:24: fatal error: mirrorlist.h: No such file
fb7f7e
  or directory (#1018006)
fb7f7e
fb7f7e
* Mon Oct  07 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.2.1-1
fb7f7e
- Open fd right before downloading and close them immediately after
fb7f7e
  download. (RhBug: 1015957)
fb7f7e
fb7f7e
* Thu Oct  03 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.2.0-2
fb7f7e
- Add target for Python 3 to the spec file
fb7f7e
- Fix few python3 related issues
fb7f7e
fb7f7e
* Tue Oct  01 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.2.0-1
fb7f7e
- Better detection of bad content of repomd.xml
fb7f7e
- Close files properly (RhBug: 1012290)
fb7f7e
- Add fastestmirror module + LRO_FASTESTMIRROR option
fb7f7e
- downloader: Fix uninitialized total to download variable (GitHub issue 22)
fb7f7e
- Add LRO_MIRRORLISTURL and LRO_METALINKURL. LRO_MIRRORLIST is deprecated.
fb7f7e
- Few other small fixes
fb7f7e
fb7f7e
* Mon Sep  16 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.1.0-1
fb7f7e
- New librepo.download_url(url, fd, handle=None) function in Python API.
fb7f7e
- Low-level downloader interface is now public in C API.
fb7f7e
- Small change of API lr_download_packages() and lr_packagetarget_new
fb7f7e
  functions.
fb7f7e
- In python download_packages() changed from method of Handle() to
fb7f7e
  librepo module function without handle param.
fb7f7e
  Param handle was moved to the PackageTarget class that takes handle
fb7f7e
  as a optional param during constrution.
fb7f7e
- Implements checking size of downloaded files (expectedsize
fb7f7e
  param of downloading functions).
fb7f7e
fb7f7e
* Wed Aug  28 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.0.0-1
fb7f7e
- Huge API changes
fb7f7e
- Library starts to use GLib2
fb7f7e
- Support for parallel downloads
fb7f7e
- Better error reporting
fb7f7e
- More GLib2 style C api
fb7f7e
- More descriptive Python exception messages
fb7f7e
- A lot of bugfixes
fb7f7e
- Updated examples
fb7f7e
fb7f7e
* Thu Jul  25 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.5-3
fb7f7e
- python: Raise exception if handle has bad repo type configured
fb7f7e
  (RhBug: 988013)
fb7f7e
fb7f7e
* Mon Jul  22 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.5-2
fb7f7e
- Bump version in versioh.h to 0.0.5
fb7f7e
- Python: Fix Handle.mirrors to return empty list instead of None if
fb7f7e
  no mirrors available (RhBug: 986228)
fb7f7e
fb7f7e
* Wed Jul  17 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.5-1
fb7f7e
- Return LRE_ALREADYDOWNLOADED if the file exists even if no resume
fb7f7e
  is specified. (GitHub issue 15)
fb7f7e
- downloadtarget: New module, future replacement for curltarget module.
fb7f7e
- Librepo migrated to lr_LrMirrorlist from lr_InternalMirrorlist.
fb7f7e
- test: Run python unittest verbosely
fb7f7e
- lrmirrorlis: New module. GLib2 ready replacement for the internal_mirrorlist
fb7f7e
  module.
fb7f7e
- package_downloader: Add LRE_ALREADYDOWNLOADED rc code. (GitHub issue 15)
fb7f7e
- handle: After set python SIGINT handler back, check if librepo was
fb7f7e
  interrupted by CTRL+C. (RhBug: 977803)
fb7f7e
- cmake: Set required python version to 2. (GitHub issue 10)
fb7f7e
- Fix missing VAR substitution for mirrorlist. (GitHub issue 11)
fb7f7e
- cmake: Add FindXattr module.
fb7f7e
- Add support for caching checksum as extended file attribute. (GitHub issue 8)
fb7f7e
- util: Add lr_asprintf().
fb7f7e
- util: Add lr_vasprintf().
fb7f7e
- handle: Fix funky logic in internal error handling. (GitHub issue 9)
fb7f7e
- Add lr_yum_repomd_get_age() function. (GitHub issue 6)
fb7f7e
- test: Add test for LR_VERSION_CHECK macro.
fb7f7e
- Add a LR_VERSION_CHECK macro
fb7f7e
fb7f7e
* Wed Jun 12 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.4-2
fb7f7e
- examples: Add C example of usage.
fb7f7e
- Fix predefined lists in types.h (GitHub issue 4). Thank you hughsie
fb7f7e
- Add LRO_VARSUB and LRI_VARSUB. (RhBug: 965131)
fb7f7e
- py: Change reported name from _librepo.Exception to librepo.LibrepoException
fb7f7e
fb7f7e
* Thu May  2 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.4-1
fb7f7e
- Fix type conversion long long -> long.(RhBug: 957656)
fb7f7e
- python: Handle.perfrom() could be called without Result().
fb7f7e
- Add LRI_MAXMIRRORTRIES option. (RhBug: 954736)
fb7f7e
- py: unittests: Add metalink.xml and mirrorlist files. (RhBug: 954294)
fb7f7e
- Fix double free and memory leak. (RhBug: 954294)
fb7f7e
- New option LRO_MAXMIRRORTRIES. (RhBug: 949517)
fb7f7e
- LRI_MIRRORS return only content of mirrorlist file (without LRO_URL as first item).
fb7f7e
- Add LRO_FETCHMIRRORS option.
fb7f7e
fb7f7e
* Mon Apr  8 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.2-3.git720d68d
fb7f7e
- Add CURL_GLOBAL_ACK_EINTR flag to curl init.
fb7f7e
- Proper multi handle cleanup. (RhBug: 947388)
fb7f7e
- Support for read 'useragent' attr. (RhBug: 947346)
fb7f7e
- Add valgrind supress files. (RhBug: 923214)
fb7f7e
- Make python bindings interruptible (LRO_INTERRUPTIBLE) (RhBug: 919125)
fb7f7e
- Add LRI_MIRRORS option (RhBug: 923198)
fb7f7e
- Add LRI_METALINK option. (BzBug: 947767)
fb7f7e
fb7f7e
* Mon Mar 18 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.2-2.gitb3c3323
fb7f7e
- py: Use standard python exception while accessing bad attrs. (RhBug: 920673)
fb7f7e
- Default mask for newly created files is 0666. (RhBug: 922557)
fb7f7e
fb7f7e
* Thu Mar 14 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.2-1.git714e828
fb7f7e
- Add LRI_PROGRESSCB and LRI_PROGRESSDATA options (RhBug: 919123)
fb7f7e
- Bindings: More pythonic operations with handle's attributes (RhBug: 919124)
fb7f7e
fb7f7e
* Tue Oct  9 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.1-1.gitc69642e
fb7f7e
- Initial package