dcavalca / rpms / libdnf

Forked from rpms/libdnf 2 years ago
Clone
aea1e4
%global libsolv_version 0.7.17
aea1e4
%global libmodulemd_version 2.11.2-2
aea1e4
%global librepo_version 1.13.1
2acfc6
%global dnf_conflict 4.3.0
844bdb
%global swig_version 3.0.12
288843
%global libdnf_major_version 0
aea1e4
%global libdnf_minor_version 63
288843
%global libdnf_micro_version 0
844bdb
2acfc6
%define __cmake_in_source_build 1
2acfc6
462afb
# set sphinx package name according to distro
462afb
%global requires_python2_sphinx python2-sphinx
462afb
%global requires_python3_sphinx python3-sphinx
462afb
%if 0%{?rhel} == 7
462afb
    %global requires_python2_sphinx python-sphinx
462afb
%endif
462afb
%if 0%{?suse_version}
462afb
    %global requires_python2_sphinx python2-Sphinx
462afb
    %global requires_python3_sphinx python3-Sphinx
462afb
%endif
462afb
844bdb
%bcond_with valgrind
844bdb
844bdb
# Do not build bindings for python3 for RHEL <= 7
844bdb
%if 0%{?rhel} && 0%{?rhel} <= 7
844bdb
%bcond_with python3
844bdb
%else
844bdb
%bcond_without python3
844bdb
%endif
844bdb
844bdb
%if 0%{?rhel} > 7 || 0%{?fedora} > 29
844bdb
# Disable python2 build by default
844bdb
%bcond_with python2
844bdb
%else
844bdb
%bcond_without python2
844bdb
%endif
844bdb
844bdb
%if 0%{?rhel} && ! 0%{?centos}
844bdb
%bcond_without rhsm
844bdb
%else
844bdb
%bcond_with rhsm
844bdb
%endif
844bdb
462afb
%if 0%{?rhel}
462afb
%bcond_with zchunk
462afb
%else
462afb
%bcond_without zchunk
462afb
%endif
462afb
288843
%bcond_with sanitizers
288843
844bdb
%global _cmake_opts \\\
844bdb
    -DENABLE_RHSM_SUPPORT=%{?with_rhsm:ON}%{!?with_rhsm:OFF} \\\
844bdb
    %{nil}
844bdb
844bdb
Name:           libdnf
288843
Version:        %{libdnf_major_version}.%{libdnf_minor_version}.%{libdnf_micro_version}
aea1e4
Release:        3%{?dist}
844bdb
Summary:        Library providing simplified C and Python API to libsolv
844bdb
License:        LGPLv2+
844bdb
URL:            https://github.com/rpm-software-management/libdnf
844bdb
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
aea1e4
Patch1:         0001-Revert-Improve-performance-for-module-query.patch
aea1e4
Patch2:         0002-Revert-Enhance-description-of-modular-solvables.patch
aea1e4
Patch3:         0003-Revert-Fix-typo-lates-latest.patch
aea1e4
Patch4:         0004-Revert-Remove-unused-code-bump-version.patch
aea1e4
Patch5:         0005-Revert-Report-a-new-type-of-the-module-resolve-error.patch
aea1e4
Patch6:         0006-Revert-Add-additional-fallback-for-module-resolve.patch
aea1e4
Patch7:         0007-Revert-Decide-how-to-handle-context-according-to-sta.patch
aea1e4
Patch8:         0008-Revert-Fix-load-update-FailSafe.patch
aea1e4
Patch9:         0009-Revert-Change-mechanism-of-module-conflicts.patch
aea1e4
Patch10:        0010-Revert-Call-addVersion2Modules-as-late-as-possible.patch
aea1e4
Patch11:        0011-Revert-Fix-modular-queries-with-the-new-solver.patch
aea1e4
Patch12:        0012-Revert-Add-compatible-layer-for-MdDocuments-v2.patch
aea1e4
Patch13:        0013-Revert-Add-an-alternative-constructor-for-ModulePack.patch
aea1e4
Patch14:        0014-Revert-Adjust-modular-solver-to-new-context-type.patch
aea1e4
Patch15:        0015-Revert-Change-usage-of-context-and-version-in-modula.patch
aea1e4
Patch16:        0016-Fix-failing-unittest-caused-by-the-revert-of-new-mod.patch
aea1e4
Patch17:        0017-Modify-unit-test-after-change-of-handling-advisories.patch
aea1e4
Patch18:        0018-Adjust-module-error-formatting-function-for-original.patch
aea1e4
Patch19:        0019-Remove-redundant-test.patch
aea1e4
Patch20:        0020-Fix-dnf_context_module_install-memory-leaks.patch
aea1e4
Patch21:        0021-covscan-remove-unused-vars-mark-private-func-static-return-values.patch
aea1e4
Patch22:        0022-hawkey-surrogateescape-error-handler-to-decode-UTF-8-strings-RhBug1893176.patch
aea1e4
Patch23:        0023-Update-translations.patch
844bdb
844bdb
BuildRequires:  cmake
844bdb
BuildRequires:  gcc
844bdb
BuildRequires:  gcc-c++
844bdb
BuildRequires:  libsolv-devel >= %{libsolv_version}
885e9e
BuildRequires:  pkgconfig(librepo) >= %{librepo_version}
844bdb
BuildRequires:  pkgconfig(check)
844bdb
%if %{with valgrind}
844bdb
BuildRequires:  valgrind
844bdb
%endif
844bdb
BuildRequires:  pkgconfig(gio-unix-2.0) >= 2.46.0
844bdb
BuildRequires:  pkgconfig(gtk-doc)
462afb
BuildRequires:  rpm-devel >= 4.11.0
844bdb
%if %{with rhsm}
844bdb
BuildRequires:  pkgconfig(librhsm) >= 0.0.3
844bdb
%endif
462afb
%if %{with zchunk}
462afb
BuildRequires:  pkgconfig(zck) >= 0.9.11
462afb
%endif
844bdb
BuildRequires:  pkgconfig(sqlite3)
844bdb
BuildRequires:  pkgconfig(json-c)
844bdb
BuildRequires:  pkgconfig(cppunit)
844bdb
BuildRequires:  pkgconfig(libcrypto)
288843
BuildRequires:  pkgconfig(modulemd-2.0) >= %{libmodulemd_version}
844bdb
BuildRequires:  pkgconfig(smartcols)
844bdb
BuildRequires:  gettext
844bdb
BuildRequires:  gpgme-devel
844bdb
288843
%if %{with sanitizers}
aea1e4
BuildRequires:  libasan
aea1e4
BuildRequires:  liblsan
aea1e4
BuildRequires:  libubsan
288843
%endif
288843
844bdb
Requires:       libmodulemd%{?_isa} >= %{libmodulemd_version}
844bdb
Requires:       libsolv%{?_isa} >= %{libsolv_version}
885e9e
Requires:       librepo%{?_isa} >= %{librepo_version}
844bdb
462afb
%if %{without python2}
462afb
# Obsoleted from here so we can track the fast growing version easily.
462afb
# We intentionally only obsolete and not provide, this is a broken upgrade
462afb
# prevention, not providing the removed functionality.
462afb
Obsoletes:      python2-%{name} < %{version}-%{release}
462afb
Obsoletes:      python2-hawkey < %{version}-%{release}
462afb
Obsoletes:      python2-hawkey-debuginfo < %{version}-%{release}
462afb
Obsoletes:      python2-libdnf-debuginfo < %{version}-%{release}
462afb
%endif
462afb
844bdb
%description
844bdb
A Library providing simplified C and Python API to libsolv.
844bdb
844bdb
%package devel
844bdb
Summary:        Development files for %{name}
844bdb
Requires:       %{name}%{?_isa} = %{version}-%{release}
844bdb
Requires:       libsolv-devel%{?_isa} >= %{libsolv_version}
844bdb
844bdb
%description devel
844bdb
Development files for %{name}.
844bdb
844bdb
%if %{with python2}
844bdb
%package -n python2-%{name}
844bdb
%{?python_provide:%python_provide python2-%{name}}
844bdb
Summary:        Python 2 bindings for the libdnf library.
844bdb
Requires:       %{name}%{?_isa} = %{version}-%{release}
844bdb
BuildRequires:  python2-devel
462afb
%if !0%{?mageia}
462afb
BuildRequires:  %{requires_python2_sphinx}
462afb
%endif
844bdb
%if 0%{?rhel} == 7
844bdb
BuildRequires:  swig3 >= %{swig_version}
844bdb
%else
844bdb
BuildRequires:  swig >= %{swig_version}
844bdb
%endif
844bdb
844bdb
%description -n python2-%{name}
844bdb
Python 2 bindings for the libdnf library.
288843
%endif
288843
# endif with python2
844bdb
844bdb
%if %{with python3}
844bdb
%package -n python3-%{name}
844bdb
%{?python_provide:%python_provide python3-%{name}}
844bdb
Summary:        Python 3 bindings for the libdnf library.
844bdb
Requires:       %{name}%{?_isa} = %{version}-%{release}
844bdb
BuildRequires:  python3-devel
462afb
BuildRequires:  %{requires_python3_sphinx}
844bdb
BuildRequires:  swig >= %{swig_version}
844bdb
844bdb
%description -n python3-%{name}
844bdb
Python 3 bindings for the libdnf library.
844bdb
%endif
844bdb
844bdb
%if %{with python2}
844bdb
%package -n python2-hawkey
844bdb
Summary:        Python 2 bindings for the hawkey library
844bdb
%{?python_provide:%python_provide python2-hawkey}
844bdb
BuildRequires:  python2-devel
844bdb
Requires:       %{name}%{?_isa} = %{version}-%{release}
844bdb
Requires:       python2-%{name} = %{version}-%{release}
844bdb
# Fix problem with hawkey - dnf version incompatibility
844bdb
# Can be deleted for distros where only python2-dnf >= 2.0.0
844bdb
Conflicts:      python2-dnf < %{dnf_conflict}
844bdb
Conflicts:      python-dnf < %{dnf_conflict}
844bdb
844bdb
%description -n python2-hawkey
844bdb
Python 2 bindings for the hawkey library.
288843
%endif
288843
# endif with python2
844bdb
844bdb
%if %{with python3}
844bdb
%package -n python3-hawkey
844bdb
Summary:        Python 3 bindings for the hawkey library
844bdb
%{?python_provide:%python_provide python3-hawkey}
844bdb
BuildRequires:  python3-devel
844bdb
Requires:       %{name}%{?_isa} = %{version}-%{release}
844bdb
Requires:       python3-%{name} = %{version}-%{release}
844bdb
# Fix problem with hawkey - dnf version incompatibility
844bdb
# Can be deleted for distros where only python3-dnf >= 2.0.0
844bdb
Conflicts:      python3-dnf < %{dnf_conflict}
844bdb
# Obsoletes F27 packages
844bdb
Obsoletes:      platform-python-hawkey < %{version}-%{release}
844bdb
844bdb
%description -n python3-hawkey
844bdb
Python 3 bindings for the hawkey library.
844bdb
%endif
844bdb
844bdb
%prep
aea1e4
%autosetup -S git -p1
844bdb
%if %{with python2}
844bdb
mkdir build-py2
288843
%endif
844bdb
%if %{with python3}
844bdb
mkdir build-py3
844bdb
%endif
844bdb
844bdb
%build
844bdb
%if %{with python2}
844bdb
pushd build-py2
462afb
  %if 0%{?mageia} || 0%{?suse_version}
462afb
    cd ..
462afb
    %define _cmake_builddir build-py2
462afb
    %define __builddir build-py2
462afb
  %endif
288843
  %cmake -DPYTHON_DESIRED:FILEPATH=%{__python2} -DWITH_MAN=OFF ../ %{!?with_zchunk:-DWITH_ZCHUNK=OFF} %{!?with_valgrind:-DDISABLE_VALGRIND=1} %{_cmake_opts} -DLIBDNF_MAJOR_VERSION=%{libdnf_major_version} -DLIBDNF_MINOR_VERSION=%{libdnf_minor_version} -DLIBDNF_MICRO_VERSION=%{libdnf_micro_version} \
288843
    -DWITH_SANITIZERS=%{?with_sanitizers:ON}%{!?with_sanitizers:OFF}
844bdb
  %make_build
844bdb
popd
288843
%endif
288843
# endif with python2
844bdb
844bdb
%if %{with python3}
844bdb
pushd build-py3
462afb
  %if 0%{?mageia} || 0%{?suse_version}
462afb
    cd ..
462afb
    %define _cmake_builddir build-py3
462afb
    %define __builddir build-py3
462afb
  %endif
288843
  %cmake -DPYTHON_DESIRED:FILEPATH=%{__python3} -DWITH_GIR=0 -DWITH_MAN=0 -Dgtkdoc=0 ../ %{!?with_zchunk:-DWITH_ZCHUNK=OFF} %{!?with_valgrind:-DDISABLE_VALGRIND=1} %{_cmake_opts} -DLIBDNF_MAJOR_VERSION=%{libdnf_major_version} -DLIBDNF_MINOR_VERSION=%{libdnf_minor_version} -DLIBDNF_MICRO_VERSION=%{libdnf_micro_version} \
288843
    -DWITH_SANITIZERS=%{?with_sanitizers:ON}%{!?with_sanitizers:OFF}
844bdb
  %make_build
844bdb
popd
844bdb
%endif
844bdb
844bdb
%check
844bdb
%if %{with python2}
844bdb
pushd build-py2
844bdb
  make ARGS="-V" test
844bdb
popd
288843
%endif
844bdb
%if %{with python3}
462afb
# If we didn't run the general tests yet, do it now.
462afb
%if %{without python2}
462afb
pushd build-py3
462afb
  make ARGS="-V" test
462afb
popd
462afb
%else
462afb
# Otherwise, run just the Python tests, not all of
462afb
# them, since we have coverage of the core from the
462afb
# first build
844bdb
pushd build-py3/python/hawkey/tests
844bdb
  make ARGS="-V" test
844bdb
popd
844bdb
%endif
462afb
%endif
844bdb
844bdb
%install
844bdb
%if %{with python2}
844bdb
pushd build-py2
844bdb
  %make_install
844bdb
popd
288843
%endif
844bdb
%if %{with python3}
844bdb
pushd build-py3
844bdb
  %make_install
844bdb
popd
844bdb
%endif
844bdb
844bdb
%find_lang %{name}
844bdb
462afb
%if (0%{?rhel} && 0%{?rhel} <= 7) || 0%{?suse_version}
844bdb
%post -p /sbin/ldconfig
844bdb
%postun -p /sbin/ldconfig
844bdb
%else
844bdb
%ldconfig_scriptlets
844bdb
%endif
844bdb
844bdb
%files -f %{name}.lang
844bdb
%license COPYING
844bdb
%doc README.md AUTHORS
844bdb
%{_libdir}/%{name}.so.*
885e9e
%dir %{_libdir}/libdnf/
885e9e
%dir %{_libdir}/libdnf/plugins/
844bdb
%{_libdir}/libdnf/plugins/README
aea1e4
%if %{with sanitizers}
aea1e4
%{_sysconfdir}/profile.d/dnf-sanitizers.sh
aea1e4
%endif
844bdb
844bdb
%files devel
844bdb
%doc %{_datadir}/gtk-doc/html/%{name}/
844bdb
%{_libdir}/%{name}.so
844bdb
%{_libdir}/pkgconfig/%{name}.pc
844bdb
%{_includedir}/%{name}/
844bdb
844bdb
%if %{with python2}
844bdb
%files -n python2-%{name}
844bdb
%{python2_sitearch}/%{name}/
288843
%endif
844bdb
844bdb
%if %{with python3}
844bdb
%files -n python3-%{name}
844bdb
%{python3_sitearch}/%{name}/
844bdb
%endif
844bdb
844bdb
%if %{with python2}
844bdb
%files -n python2-hawkey
844bdb
%{python2_sitearch}/hawkey/
288843
%endif
844bdb
844bdb
%if %{with python3}
844bdb
%files -n python3-hawkey
844bdb
%{python3_sitearch}/hawkey/
844bdb
%endif
844bdb
844bdb
%changelog
aea1e4
* Mon Sep 13 2021 Marek Blaha <mblaha@redhat.com> - 0.63.0-3
aea1e4
- Update translations (RhBug:1961634)
aea1e4
aea1e4
* Tue Jul 27 2021 Pavla Kratochvilova <pkratoch@redhat.com> - 0.63.0-2
aea1e4
- Fix: dnf_context_module_install: memory leaks
aea1e4
- covscan: remove unused vars, mark private func static, return values
aea1e4
- DNF does not fail on non UTF-8 file names in a package
aea1e4
aea1e4
* Wed May 19 2021 Pavla Kratochvilova <pkratoch@redhat.com> - 0.63.0-1
aea1e4
- Update to 0.62.0
aea1e4
- Hardening: add signature check with rpmcliVerifySignatures (RhBug:1932079)
aea1e4
- Support allow_vendor_change setting in dnf context API
aea1e4
- Add a new option module_obsoletes
aea1e4
- Add new API applyObsoletes() function to apply modular obsoletes
aea1e4
- Do not allow 1 as installonly_limit value (RhBug:1926261)
aea1e4
- Add a config option to check TLS certificate revocation status (using OCSP stapling), defaults to false (RhBug:1814383)
aea1e4
- Swdb: Add a method to get the current transaction
aea1e4
- [context,API] Functions for accessing main/global configuration options
aea1e4
- [context,API] Function for adding setopt
aea1e4
- Add getter for modular obsoletes from ModuleMetadata
aea1e4
- Add ModulePackage.getStaticContext() and getRequires()
aea1e4
- Fix modular queries with the new solver
aea1e4
- Fix: Fully set ssl in newHandle function
aea1e4
- [conf] Add options for working with certificates used with proxy
aea1e4
- Modify module NSVCA parsing - context definition (RhBug:1926771)
aea1e4
- [context] Fix: dnf_package_is_installonly (RhBug:1928056)
aea1e4
- Add getApplicablePackages to advisory and isApplicable to advisorymodule
aea1e4
- Keep isAdvisoryApplicable to preserve API
aea1e4
- [context] Support config file option "proxy_auth_method", defaults "any"
aea1e4
- Support main config file options "installonlypkgs" and "protected_packages". Changes behaviour of microdnf and PackageKit.
aea1e4
- Properly handle multiple collections in updateinfo.xml (RhBug:1804234)
aea1e4
- Fix a crash when [media] section in .treeinfo is missing for bootable media (RhBug:1946024)
aea1e4
- Add new dnf_context_module_install() C API
2acfc6
2acfc6
* Fri Feb 12 2021 Nicola Sella <nsella@redhat.com> - 0.55.0-6
2acfc6
- Fix removal step during modular enable in context part
2acfc6
2acfc6
* Thu Feb 11 2021 Nicola Sella <nsella@redhat.com> - 0.55.0-5
2acfc6
- Add new option module_stream_switch
2acfc6
2acfc6
* Mon Feb 08 2021 Nicola Sella <nsella@redhat.com> - 0.55.0-4
2acfc6
- [context] improve retrieving repository configuration
2acfc6
- Allow loading incomplete cache and loading ext solv files without its repodata
2acfc6
2acfc6
* Fri Jan 29 2021 Nicola Sella <nsella@redhat.com> - 0.55.0-3
2acfc6
- Avoid multilib file conflict in config.h (RhBug:1918818)
2acfc6
- [modules] Add special handling for src artifacts (RhBug:1809314)
2acfc6
2acfc6
* Fri Jan 15 2021 Nicola Sella <nsella@redhat.com> - 0.55.0-2
2acfc6
- Better msgs if "basecachedir" or "proxy_password" isn't set (RhBug:1888946)
2acfc6
2acfc6
* Mon Nov 09 2020 Nicola Sella <nsella@redhat.com> - 0.55.0-1
2acfc6
- Add vendor to dnf API (RhBug:1876561)
2acfc6
- Add formatting function for solver error
2acfc6
- Add error types in ModulePackageContainer
2acfc6
- Implement module enable for context part
2acfc6
- Improve string formatting for translation
2acfc6
- Remove redundant printf and change logging info to notice (RhBug:1827424)
2acfc6
- Add allow_vendor_change option (RhBug:1788371) (RhBug:1788371)
2acfc6
288843
* Thu Aug 20 2020 Nicola Sella <nsella@redhat.com> - 0.48.0-5
288843
- [covscan] Handle exception in a python binding by the proper function (RhBug:1870492)
288843
288843
* Tue Jul 28 2020 Marek Blaha <mblaha@redhat.com> - 0.48.0-4
288843
- Update translations (RhBug:1820548)
288843
288843
* Fri Jul 17 2020 Nicola Sella <nsella@redhat.com> - 0.48.0-3
288843
- Add log file level main config option (RhBug:1802074)
288843
- Accept '==' as an operator in reldeps (RhBug:1847946)
288843
288843
* Wed Jun 10 2020 Ales Matej <amatej@redhat.com> - 0.48.0-2
288843
- [history] Fix dnf history rollback when a package was removed (RhBug:1683134)
288843
288843
* Wed Jun 03 2020 Nicola Sella <nsella@redhat.com> - 0.48.0-1
288843
- Update to 0.48.0
288843
- swdb: Catch only SQLite3 exceptions and simplify the messages
288843
- MergedTransaction list multiple comments (RhBug:1773679)
288843
- Modify CMake to pull *.po files from weblate
288843
- Optimize DependencyContainer creation from an existing queue
288843
- fix a memory leak in dnf_package_get_requires()
288843
- Fix memory leaks on g_build_filename()
288843
- Fix memory leak in dnf_context_setup()
288843
- Add `hy_goal_favor` and `hy_goal_disfavor`
288843
- Define a cleanup function for `DnfPackageSet`
288843
- dnf-repo: fix dnf_repo_get_public_keys double-free
288843
- Do not cache RPMDB
288843
- Use single-quotes around string literals used in SQL statements
288843
- SQLite3: Do not close the database if it wasn't opened (RhBug:1761976)
288843
- Don't create a new history DB connection for in-memory DB
288843
- transaction/Swdb: Use a single logger variable in constructor
288843
- utils: Add a safe version of pathExists()
288843
- swdb: Handle the case when pathExists() fails on e.g. permission
288843
- Repo: prepend "file://" if a local path is used as baseurl
288843
- Move urlEncode() to utils
288843
- utils: Add 'exclude' argument to urlEncode()
288843
- Encode package URL for downloading through librepo (RhBug:1817130)
288843
- Replace std::runtime_error with libdnf::RepoError
288843
- Fixes and error handling improvements of the File class
288843
- [context] Use ConfigRepo for gpgkey and baseurl (RhBug:1807864)
288843
- [context] support "priority" option in .repo config file (RhBug:1797265)
288843
288843
* Fri Apr 03 2020 Ales Matej <amatej@redhat.com> - 0.47.0-1
288843
- Update to 0.47.0
288843
- Allow excluding packages with "excludepkgs" and globs
288843
- Make parsing of reldeps more strict (RhBug:1788107)
288843
- Add expanding solvable provides for dependency matching (RhBug:1534123)
288843
- DnfRepo: fix module_hotfixes keyfile priority level
288843
- Add custom exceptions to libdnf interface
288843
- Port to libmodulemd-2 API (RhBug:1693683)
288843
- Add prereq_ignoreinst & regular_requires properties for pkg (RhBug:1543449)
288843
- Reset active modules when no module enabled or default (RhBug:1767351)
288843
- Add comment option to transaction (RhBug:1773679)
288843
- Baseurl is not exclusive with mirrorlist/metalink (RhBug:1775184)
288843
- Add new function to reset all modules in C API (dnf_context_reset_all_modules)
288843
- Handle situation when an unprivileged user cannot create history database (RhBug:1634385)
288843
- Add query filter: latest by priority
288843
- Add setter for running kernel protection setting
288843
- Add DNF_NO_PROTECTED flag to allow empty list of protected packages
288843
- Config options: only first empty value clears existing (RhBug:1788154)
288843
- [conf] Set useful default colors when color is enabled
288843
- [context] Use installonly_limit from global config (RhBug:1256108)
288843
- [context] Add API to get/set "install_weak_deps"
288843
- [context] Adds support for includepkgs in repository configuration.
288843
- [context] Adds support for excludepkgs, exclude, includepkgs, and disable_excludes in main configuration.
288843
- [context] Added function dnf_transaction_set_dont_solve_goal
288843
- [context] Added functions dnf_context_get/set_config_file_path
288843
- [context] Respect "plugins" global conf value
288843
- [context] Add API to disable/enable plugins
288843
- [context] Create new repo instead of reusing old one (RhBug:1795004)
288843
- [context] Error when main config file can't be opened (RhBug:1794864)
288843
- [context] Add function function dnf_context_is_set_config_file_path
288843
- [context] Support repositories defined in main configuration file
1951a4
462afb
* Tue Feb 18 2020 Ales Matej <amatej@redhat.com> - 0.39.1-5
462afb
- Fix filtering of packages by advisory (RhBug:1770125)
462afb
462afb
* Fri Jan 31 2020 Marek Blaha <mblaha@redhat.com> - 0.39.1-4
462afb
- [translations] Update translations from zanata (RhBug:1754965)
462afb
462afb
* Mon Jan 13 2020 Ales Matej <amatej@redhat.com> - 0.39.1-3
462afb
- Add two new query filters: obsoletes_by_priority, upgrades_by_priority (RhBug:1769466)
462afb
- [context] Add wildcard support in dnf_context_repo_set_data (RhBug:1781420)
462afb
- Remove killGpgAgent function (RhBug:1781601)
462afb
462afb
* Thu Dec 12 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.39.1-2
462afb
- [user-agent] Stop checking os-release(5) data against a hard-coded whitelist (RhBug:1777255)
462afb
462afb
* Mon Nov 25 2019 Ales Matej <amatej@redhat.com> - 0.39.1-1
462afb
- Update to 0.39.1
462afb
- Report reason how package was excluded (RhBug:1649754)
462afb
- Additional Arm detection improvements (RhBug:1691430)
462afb
- Set skip_if_unavailable for media repos to skip their update (RhBug:1716067)
462afb
- Add support of xml:base for remote and local url in context (RhBug:1734350,1717865)
462afb
462afb
* Wed Nov 13 2019 Ales Matej <amatej@redhat.com> - 0.38.1-1
462afb
- Update to 0.38.1
462afb
- Change the best option default to false
462afb
- Use more descriptive message when failed to retrieve GPG key (RhBug:1605117)
462afb
- Add removeMetadataTypeFromDownload function to the API
462afb
- Context part of libdnf can now read vars (urlvars) from dirs and environment
462afb
- Throw exception immediately if file cannot be opened
462afb
- Add test when there is no primary metadata in compatible format (RhBug:1744960)
462afb
- Various improvements to countme features
462afb
- Don't abort on rpmdb checksum calculation failure
462afb
- Enable module dependency trees when using set_modules_enabled_by_pkgset() (RhBug:1762314)
462afb
- Resolve problem with --best and search in provides (RhBug:1737469)
462afb
- New method "Query::filterSubject()", replaces Solution::getBestSolution()
462afb
- The Solution class was removed
462afb
- Add query argument into get_best_query and get_best_solution
462afb
- Add module reset function into dnf_context
462afb
- Add method to get all repository metadata locations
462afb
- Catch NoModuleException in case of not existent value was used in persistor (RhBug:1761773)
462afb
462afb
* Tue Oct 22 2019 Ales Matej <amatej@redhat.com> - 0.35.5-1
462afb
- Update to 0.35.5
462afb
- Make libdnf own its plugin directory (RhBug:1714265)
462afb
- Set priority of dnf.conf.d drop-ins
462afb
- Fix toString() to not insert [] (RhBug:1584442)
462afb
- Fix handling large number of filenames on input (RhBug:1690915)
462afb
- Detect armv7 with crypto extension only on arm version >= 8
462afb
- A new standardized User-Agent field consisting of the libdnf and OS version
462afb
  (including the variant) (RhBug:1156007)
462afb
- Add basic countme support (RhBug:1647454)
462afb
- Fix crash in PackageKit (RhBug:1636803)
462afb
- Do not create @System.solv files (RhBug:1707995)
462afb
- Set LRO_CACHEDIR so zchunk works again (RhBug:1739867)
462afb
- Improve detection of extras packages by comparing (name, arch) pair instead
462afb
  of full NEVRA (RhBuh:1684517)
462afb
- Improve handling multilib packages in the history command (RhBug:1728637)
462afb
- Repo download: use full error description into the exception text (RhBug:1741442)
462afb
- Properly close hawkey.log (RhBug:1594016)
462afb
- Fix dnf updateinfo --update to not list advisories for packages updatable
462afb
  only from non-enabled modules
462afb
- Apply modular filtering by package name (RhBug:1702729)
462afb
6e2a04
* Wed Oct 16 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.35.1-9
6e2a04
- Prevent reinstalling modified packages with same NEVRA (RhBug:1728252,1644241,1760825)
6e2a04
885e9e
* Fri Sep 06 2019 Marek Blaha <mblaha@redhat.com> - 0.35.1-8
885e9e
- Enhanced fix of moving directories in minimal container (RhBug:1700341)
885e9e
885e9e
* Thu Sep 05 2019 Jaroslav Mracek <jmracek@redhat.com> - 0.35.1-7
885e9e
- Remove patch to not fail when installing modular RPMs without modular metadata
885e9e
885e9e
* Thu Sep 05 2019 Marek Blaha <mblaha@redhat.com> - 0.35.1-6
885e9e
- Fix moving directories in minimal container (RhBug:1700341)
885e9e
885e9e
* Tue Aug 06 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.35.1-5
885e9e
- Add suport for query sequence conversions
885e9e
885e9e
* Thu Aug 01 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.35.1-4
885e9e
- Fix typo in error message (RhBug:1726661)
885e9e
- Update localizations from zanata (RhBug:1689991)
885e9e
- Don't disable nonexistent but required repositories (RhBug:1689331)
885e9e
- Ignore trailing blank lines of multiline value (RhBug:1722493)
885e9e
- Re-size includes map before re-computation (RhBug:1725213)
885e9e
885e9e
* Tue Jul 16 2019 Marek Blaha <mblaha@redhat.com> - 0.35.1-3
885e9e
- Fix attaching and detaching of libsolvRepo and repo_internalize_trigger()
885e9e
  (RhBug:1730224)
885e9e
885e9e
* Thu Jul 04 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.35.1-2
885e9e
- Add patch to not fail when installing modular RPMs without modular metadata
885e9e
885e9e
* Tue Jun 11 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.35.1-1
885e9e
- Update to 0.35.1
885e9e
- Skip invalid key files in "/etc/pki/rpm-gpg" with warning (RhBug:1644040)
885e9e
- Enable timestamp preserving for downloaded data (RhBug:1688537)
885e9e
- Fix 'database is locked' error (RhBug:1631533)
885e9e
- Replace the 'Failed to synchronize cache' message (RhBug:1712055)
885e9e
- Fix 'no such table: main.trans_cmdline' error (RhBug:1596540)
885e9e
- Fix: skip_if_unavailable=true for local repositories (RhBug:1716313)
885e9e
- Add support of modular FailSafe (RhBug:1623128)
885e9e
- Add support of DNF main config file in context; used by PackageKit and
885e9e
  microdnf (RhBug:1689331)
885e9e
- Exit gpg-agent after repokey import (RhBug:1650266)
885e9e
885e9e
* Mon May 13 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.33.0-1
885e9e
- Update to 0.33.0
885e9e
- Enhance sorting for module list (RhBug:1590358)
885e9e
- [DnfRepo] Add methods for alternative repository metadata type and download (RhBug:1656314)
885e9e
- Remove installed profile on module enable or disable (RhBug:1653623)
885e9e
- Enhance modular solver to handle enabled and default module streams differently (RhBug:1648839)
885e9e
- Add support of wild cards for modules (RhBug:1644588)
885e9e
- Exclude module pkgs that have conflict
885e9e
- Enhance config parser to preserve order of data, and keep comments and format
885e9e
- Improve ARM detection
885e9e
- Add support for SHA-384
885e9e
- Return empty query if incorrect reldep (RhBug:1687135)
885e9e
- ConfigParser: Improve compatibility with Python ConfigParser and dnf-plugin-spacewalk (RhBug:1692044)
885e9e
- ConfigParser: Unify default set of string represenation of boolean values
885e9e
- Fix segfault when interrupting dnf process (RhBug:1610456)
885e9e
- Installroot now requires absolute path
885e9e
- Support "_none_" value for repo option "proxy" (RhBug:1680272)
885e9e
- Add support for Module advisories
885e9e
- Add support for xml:base attribute from primary.xml (RhBug:1691315)
885e9e
- Improve detection of Platform ID (RhBug:1688462)
885e9e
885e9e
* Fri Apr 26 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.22.5-6
885e9e
- Rebuild for libsolv soname bump (in libsolve update to 0.7.4)
885e9e
9df603
* Wed Apr 03 2019 Jaroslav Mracek <jmracek@redhat.com> - 0.22.5-5
9df603
- Backport patches to set default to skip_if_unavailable to false (RhBug:1692452)
9df603
844bdb
* Tue Feb 12 2019 Jaroslav Mracek <jmracek@redhat.com> - 0.22.5-4
844bdb
- Backport patch to exclude module pkgs that have conflict (RhBug:1670496)
844bdb
844bdb
* Fri Feb 08 2019 Jaroslav Mracek <jmracek@redhat.com> - 0.22.5-3
844bdb
- Backport patches to add support for modular updateinfoxml applicability
844bdb
844bdb
* Wed Feb 06 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.22.5-2
844bdb
- Add patch: Add best as default behavior (RhBug1670776)
844bdb
844bdb
* Mon Dec 17 2018 Daniel Mach <dmach@redhat.com> - 0.22.4-1
844bdb
- Enhance LIBDNF plugins support
844bdb
- [repo] Check whether metadata cache is expired (RhBug:1539620,1648274)
844bdb
- [sack] Implement dnf_sack_get_rpmdb_version()
844bdb
844bdb
* Fri Nov 23 2018 Jaroslav Mracek <jmracek@redhat.com> - 0.22.3-1
844bdb
- Permanently disable Python2 build for Fedora 30+
844bdb
- Update to 0.22.3
844bdb
- Modify solver_describe_decision to report cleaned (RhBug:1486749)
844bdb
- [swdb] create persistent WAL files (RhBug:1640235)
844bdb
- Relocate ModuleContainer save hook (RhBug:1632518)
844bdb
- [transaction] Fix transaction item lookup for obsoleted packages (RhBug: 1642796)
844bdb
- Fix memory leaks and memory allocations
844bdb
- [repo] Possibility to extend downloaded repository metadata
844bdb
844bdb
* Wed Oct 24 2018 Jaroslav Mracek <jmracek@redhat.com> - 0.22.0-2
844bdb
- Add patch Modify-solver_describe_decision-to-report-cleaned-RhBug1486749
844bdb
- Add patch swdb-create-persistent-WAL-files-RhBug1640235
844bdb
- Add patch Relocate-ModuleContainer-save-hook-RhBug1632518
844bdb
- Add patch Test-if-sack-is-present-and-run-save-module-persistor-RhBug1632518
844bdb
844bdb
* Mon Oct 15 2018 Jaroslav Mracek <jmracek@redhat.com> - 0.22.0-1
844bdb
- Fix segfault in repo_internalize_trigger (RhBug:1375895)
844bdb
- Change sorting of installonly packages (RhBug:1627685)
844bdb
- [swdb] Fixed pattern searching in history db (RhBug:1635542)
844bdb
- Check correctly gpg for repomd when refresh is used (RhBug:1636743)
844bdb
- [conf] Provide additional VectorString methods for compatibility with Python list.
844bdb
- [plugins] add plugin loading and hooks into libdnf
844bdb
844bdb
* Tue Sep 25 2018 Jaroslav Mracek <jmracek@redhat.com> - 0.20.0-1
844bdb
- [module] Report module solver errors
844bdb
- [module] Enhance module commands and errors
844bdb
- [transaction] Fixed several problems with SWDB
844bdb
- Remove unneeded regex URL tests (RhBug:1598336)
844bdb
- Allow quoted values in ini files (RhBug:1624056)
844bdb
- Filter out not unique set of solver problems (RhBug:1564369)
844bdb
- Resolves: rhbz#1614531 - dnf 3.2 does not depsolve correctly
844bdb
- Resolves: rhbz#1614346 - dnf rollback doesn't work after install/downgrade/upgrade
844bdb
- bug 1605274 - DNF crashes on * in installation repository URL
844bdb
- Resolves: rhbz#1623383 - dnf.exceptions.ConfigError: Error parsing ...
844bdb
844bdb
* Mon Sep 10 2018 Jaroslav Mracek <jmracek@redhat.com> - 0.19.1-1
844bdb
- Fix compilation errors on gcc-4.8.5
844bdb
- [module] Allow module queries on disabled modules (RhBug:1627081)
844bdb
844bdb
* Fri Sep 07 2018 Jaroslav Mracek <jmracek@redhat.com> - 0.19.0-1
844bdb
- [query] Reldeps can contain a space char (RhBug:1612462)
844bdb
- [transaction] Avoid adding duplicates via Transaction::addItem()
844bdb
- Fix compilation errors on gcc-4.8.5
844bdb
- [module] Make available ModuleProfile using SWIG
844bdb
- [module] Redesign module disable and reset
844bdb
844bdb
* Fri Aug 31 2018 Daniel Mach <dmach@redhat.com> - 0.18.0-1
844bdb
- [repo] Implement GPG key import
844bdb
- [repo] Introduce Repo class replacing dnf.repo.Repo
844bdb
- [context] Fix memory corruption in dnf_context
844bdb
- [rhsm] Fix: RHSM don't write .repo file with same content (RhBug:1600452)
844bdb
- [module] Create /etc/dnf/modules.d if it doesn't exist.
844bdb
- [module] Forward C++ exceptions to bindings.
844bdb
844bdb
* Thu Aug 16 2018 Daniel Mach <dmach@redhat.com> - 0.17.2-2
844bdb
- [module] Create /etc/dnf/modules.d if it doesn't exist.
844bdb
- [module] Forward C++ exceptions to bindings.
844bdb
844bdb
* Mon Aug 13 2018 Daniel Mach <dmach@redhat.com> - 0.17.2-1
844bdb
- [sqlite3] Change db locking mode to DEFAULT.
844bdb
- [doc] Add libsmartcols-devel to devel deps.
844bdb
844bdb
* Mon Aug 13 2018 Daniel Mach <dmach@redhat.com> - 0.17.1-1
844bdb
- [module] Solve a problem in python constructor of NSVCAP if no version.
844bdb
- [translations] Update translations from zanata.
844bdb
- [transaction] Fix crash after using dnf.comps.CompsQuery and forking the process in Anaconda.
844bdb
- [module] Support for resetting module state.
844bdb
- [output] Introduce wrapper for smartcols.
844bdb
844bdb
* Tue Aug 07 2018 Daniel Mach <dmach@redhat.com> - 0.17.0-1
844bdb
- [conf] Add module_platform_id option.
844bdb
- [module] Add ModulePackageContainer class.
844bdb
- [module] Add ModulePersistor class.
844bdb
- [sack] Module filtering made available in python API
844bdb
- [sack] Module auto-enabling according to installed packages
844bdb
844bdb
* Fri Jul 27 2018 Daniel Mach <dmach@redhat.com> - 0.16.1-1
844bdb
- [module] Implement 'module_hotfixes' conf option to skip filtering RPMs from hotfix repos.
844bdb
- [goal] Fix distupgrade filter, allow downgrades.
844bdb
- [context] Allow to set module platform in context.
844bdb
- [module] Introduce proper modular dependency solving.
844bdb
- [module] Platform pseudo-module based on /etc/os-release.
844bdb
- [goal] Add Goal::listSuggested().
844bdb
- [l10n] Support for translations, add gettext build dependency.
844bdb
844bdb
* Sun Jul 22 2018 Daniel Mach <dmach@redhat.com> - 0.16.0-1
844bdb
- Fix RHSM plugin
844bdb
- Add support for logging
844bdb
- Bump minimal libmodulemd version to 1.6.1
844bdb
844bdb
* Mon Jul 09 2018 Igor Gnatenko <ignatenko@redhat.com> - 0.15.2-2
844bdb
- Fix librhsm support logic
844bdb
844bdb
* Fri Jun 29 2018 Jaroslav Mracek <jmracek@redhat.com> - 0.15.2-1
844bdb
- Update to 0.15.1
844bdb
- Resolves: rhbz#1595487
844bdb
844bdb
* Fri Jun 29 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.1-2
844bdb
- Restore proper ldconfig_scriptlets
844bdb
844bdb
* Tue Jun 26 2018 Jaroslav Mracek <jmracek@redhat.com> - 0.15.1-1
844bdb
- Update to 0.15.1
844bdb
844bdb
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.11.1-6
844bdb
- Rebuilt for Python 3.7
844bdb
844bdb
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-5
844bdb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
844bdb
844bdb
* Tue Jan 30 2018 Igor Gnatenko <ignatenko@redhat.com> - 0.11.1-4
844bdb
- Switch to %%ldconfig_scriptlets
844bdb
844bdb
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.1-3
844bdb
- Use better Obsoletes for platform-python
844bdb
844bdb
* Fri Nov 03 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.11.1-2
844bdb
- Remove platform-python subpackage
844bdb
844bdb
* Mon Oct 16 2017 Jaroslav Mracek <jmracek@redhat.com> - 0.11.1-1
844bdb
- Rerelease of 0.11.1-1
844bdb
- Improvement query performance
844bdb
- Run file query in hy_subject_get_best_solution only for files (arguments that start with ``/`` or
844bdb
  ``*/``)
844bdb
- Resolves: rhbz#1498207 - DNF crash during upgrade installation F26 -> F27
844bdb
844bdb
* Tue Oct 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.11.0-1
844bdb
- Update to 0.11.0
844bdb
844bdb
* Mon Oct 02 2017 Jaroslav Mracek <jmracek@redhat.com> - 0.10.1-2
844bdb
- Rerelease of 0.10.1-1
844bdb
844bdb
* Wed Sep 27 2017 Jaroslav Mracek <jmracek@redhat.com> - 0.10.1-1
844bdb
- Update to 0.10.1
844bdb
- It improves query performance with name and arch filters. Also nevra filter will now
844bdb
  handle string with or without epoch.
844bdb
- Additionally for python bindings it renames NEVRA._has_just_name() to NEVRA.has_just_name() due
844bdb
  to movement of code into c part of library.
844bdb
- Resolves: rhbz#1260242 - --exclude does not affect dnf remove's removal of requirements
844bdb
- Resolves: rhbz#1485881 - DNF claims it cannot install package, which have been already installed
844bdb
- Resolves: rhbz#1361187 - [abrt] python-ipython-console: filter_updown(): python3.5 killed by SIGABRT
844bdb
844bdb
* Fri Sep 15 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.9.3-8
844bdb
- Disable platform python on old releases
844bdb
844bdb
* Tue Aug 15 2017 Lumír Balhar <lbalhar@redhat.com> - 0.9.3-7
844bdb
- Add platform-python subpackage
844bdb
844bdb
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.9.3-6
844bdb
- Rebuilt after RPM update (№ 3)
844bdb
844bdb
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.9.3-5
844bdb
- Rebuilt for RPM soname bump
844bdb
844bdb
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.9.3-4
844bdb
- Rebuilt for RPM soname bump
844bdb
844bdb
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-3
844bdb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
844bdb
844bdb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
844bdb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
844bdb
844bdb
* Mon Jul 24 2017 Jaroslav Mracek <jmracek@redhat.com> - 0.9.3-1
844bdb
- Update to 0.9.3
844bdb
844bdb
* Sat Jul 01 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.9.2-1
844bdb
- Update to 0.9.2
844bdb
844bdb
* Mon Jun 12 2017 Jaroslav Mracek <jmracek@redhat.com> - 0.9.1-1
844bdb
- Update to 0.9.1
844bdb
844bdb
* Mon May 22 2017 Jaroslav Mracek <jmracek@redhat.com> - 0.9.0-1
844bdb
- Update to 0.9.0
844bdb
844bdb
* Tue May 02 2017 Jaroslav Mracek <jmracek@redhat.com> - 0.8.2-1
844bdb
- Update to 0.8.2
844bdb
844bdb
* Fri Mar 24 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.8.1-1
844bdb
- Update to 0.8.1
844bdb
844bdb
* Tue Mar 21 2017 Jaroslav Mracek <jmracek@redhat.com> - 0.8.0-1
844bdb
- Update to 0.8.0
844bdb
844bdb
* Mon Feb 20 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.7.4-1
844bdb
- Update to 0.7.4
844bdb
844bdb
* Fri Feb 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.7.3-1
844bdb
- Update to 0.7.3
844bdb
844bdb
* Wed Feb 08 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.7.2-1
844bdb
- 0.7.2
844bdb
844bdb
* Fri Jan 06 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.7.1-1
844bdb
- 0.7.1
844bdb
844bdb
* Wed Dec 21 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.7.0-0.7gitf9b798c
844bdb
- Rebuild for Python 3.6
844bdb
844bdb
* Mon Dec 19 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.7.0-0.6gitf9b798c
844bdb
- Use new upstream URL
844bdb
844bdb
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 0.7.0-0.5gitf9b798c
844bdb
- Rebuild for Python 3.6
844bdb
844bdb
* Tue Dec 06 2016 Martin Hatina <mhatina@redhat.com> - 0.7.0-0.4gitf9b798c
844bdb
- Increase conflict version of dnf
844bdb
844bdb
* Thu Dec 01 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.7.0-0.3gitf9b798c
844bdb
- Update to latest snapshot
844bdb
844bdb
* Fri Nov 04 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.7.0-0.2git8bd77f8
844bdb
- Update to latest snapshot
844bdb
844bdb
* Thu Sep 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.7.0-0.1git179c0a6
844bdb
- Initial package