Brian Stinson 824969
%global libsolv_version 0.7.7
9f20c2
%global libmodulemd_version 2.5.0
9fc8e2
%global librepo_version 1.12.0
9fc8e2
%global dnf_conflict 4.2.23
844bdb
%global swig_version 3.0.12
9f20c2
%global libdnf_major_version 0
827ab6
%global libdnf_minor_version 55
9f20c2
%global libdnf_micro_version 0
844bdb
827ab6
%define __cmake_in_source_build 1
827ab6
Brian Stinson 824969
# set sphinx package name according to distro
Brian Stinson 824969
%global requires_python2_sphinx python2-sphinx
Brian Stinson 824969
%global requires_python3_sphinx python3-sphinx
Brian Stinson 824969
%if 0%{?rhel} == 7
Brian Stinson 824969
    %global requires_python2_sphinx python-sphinx
Brian Stinson 824969
%endif
Brian Stinson 824969
%if 0%{?suse_version}
Brian Stinson 824969
    %global requires_python2_sphinx python2-Sphinx
Brian Stinson 824969
    %global requires_python3_sphinx python3-Sphinx
Brian Stinson 824969
%endif
Brian Stinson 824969
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
Brian Stinson 824969
%if 0%{?rhel}
Brian Stinson 824969
%bcond_with zchunk
Brian Stinson 824969
%else
Brian Stinson 824969
%bcond_without zchunk
Brian Stinson 824969
%endif
Brian Stinson 824969
9fc8e2
%bcond_with sanitizers
9fc8e2
844bdb
%global _cmake_opts \\\
844bdb
    -DENABLE_RHSM_SUPPORT=%{?with_rhsm:ON}%{!?with_rhsm:OFF} \\\
844bdb
    %{nil}
844bdb
844bdb
Name:           libdnf
9f20c2
Version:        %{libdnf_major_version}.%{libdnf_minor_version}.%{libdnf_micro_version}
8a795d
Release:        2%{?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
8a795d
Patch0:         0001-Better-msgs-if-basecachedir-or-proxy-password-isn-t-set-RhBug-1888946.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)
Brian Stinson 824969
BuildRequires:  rpm-devel >= 4.11.0
844bdb
%if %{with rhsm}
844bdb
BuildRequires:  pkgconfig(librhsm) >= 0.0.3
844bdb
%endif
Brian Stinson 824969
%if %{with zchunk}
Brian Stinson 824969
BuildRequires:  pkgconfig(zck) >= 0.9.11
Brian Stinson 824969
%endif
844bdb
BuildRequires:  pkgconfig(sqlite3)
844bdb
BuildRequires:  pkgconfig(json-c)
844bdb
BuildRequires:  pkgconfig(cppunit)
844bdb
BuildRequires:  pkgconfig(libcrypto)
9f20c2
BuildRequires:  pkgconfig(modulemd-2.0) >= %{libmodulemd_version}
844bdb
BuildRequires:  pkgconfig(smartcols)
844bdb
BuildRequires:  gettext
844bdb
BuildRequires:  gpgme-devel
844bdb
9fc8e2
%if %{with sanitizers}
9fc8e2
BuildRequires:  libasan-static
9fc8e2
BuildRequires:  liblsan-static
9fc8e2
BuildRequires:  libubsan-static
9fc8e2
%endif
9fc8e2
844bdb
Requires:       libmodulemd%{?_isa} >= %{libmodulemd_version}
844bdb
Requires:       libsolv%{?_isa} >= %{libsolv_version}
885e9e
Requires:       librepo%{?_isa} >= %{librepo_version}
844bdb
Brian Stinson 824969
%if %{without python2}
Brian Stinson 824969
# Obsoleted from here so we can track the fast growing version easily.
Brian Stinson 824969
# We intentionally only obsolete and not provide, this is a broken upgrade
Brian Stinson 824969
# prevention, not providing the removed functionality.
Brian Stinson 824969
Obsoletes:      python2-%{name} < %{version}-%{release}
Brian Stinson 824969
Obsoletes:      python2-hawkey < %{version}-%{release}
Brian Stinson 824969
Obsoletes:      python2-hawkey-debuginfo < %{version}-%{release}
Brian Stinson 824969
Obsoletes:      python2-libdnf-debuginfo < %{version}-%{release}
Brian Stinson 824969
%endif
Brian Stinson 824969
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
Brian Stinson 824969
%if !0%{?mageia}
Brian Stinson 824969
BuildRequires:  %{requires_python2_sphinx}
Brian Stinson 824969
%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.
9fc8e2
%endif
9fc8e2
# 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
Brian Stinson 824969
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
%if 0%{?rhel} && 0%{?rhel} <= 7
844bdb
BuildRequires:  python-nose
844bdb
%else
844bdb
BuildRequires:  python2-nose
844bdb
%endif
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.
9fc8e2
%endif
9fc8e2
# 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
BuildRequires:  python3-nose
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
844bdb
%autosetup -p1
844bdb
%if %{with python2}
844bdb
mkdir build-py2
9fc8e2
%endif
844bdb
%if %{with python3}
844bdb
mkdir build-py3
844bdb
%endif
844bdb
844bdb
%build
844bdb
%if %{with python2}
844bdb
pushd build-py2
Brian Stinson 824969
  %if 0%{?mageia} || 0%{?suse_version}
Brian Stinson 824969
    cd ..
Brian Stinson 824969
    %define _cmake_builddir build-py2
Brian Stinson 824969
    %define __builddir build-py2
Brian Stinson 824969
  %endif
9fc8e2
  %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} \
9fc8e2
    -DWITH_SANITIZERS=%{?with_sanitizers:ON}%{!?with_sanitizers:OFF}
844bdb
  %make_build
844bdb
popd
9fc8e2
%endif
9fc8e2
# endif with python2
844bdb
844bdb
%if %{with python3}
844bdb
pushd build-py3
Brian Stinson 824969
  %if 0%{?mageia} || 0%{?suse_version}
Brian Stinson 824969
    cd ..
Brian Stinson 824969
    %define _cmake_builddir build-py3
Brian Stinson 824969
    %define __builddir build-py3
Brian Stinson 824969
  %endif
9fc8e2
  %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} \
9fc8e2
    -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
9fc8e2
%endif
844bdb
%if %{with python3}
Brian Stinson 824969
# If we didn't run the general tests yet, do it now.
Brian Stinson 824969
%if %{without python2}
Brian Stinson 824969
pushd build-py3
Brian Stinson 824969
  make ARGS="-V" test
Brian Stinson 824969
popd
Brian Stinson 824969
%else
Brian Stinson 824969
# Otherwise, run just the Python tests, not all of
Brian Stinson 824969
# them, since we have coverage of the core from the
Brian Stinson 824969
# first build
844bdb
pushd build-py3/python/hawkey/tests
844bdb
  make ARGS="-V" test
844bdb
popd
844bdb
%endif
Brian Stinson 824969
%endif
844bdb
844bdb
%install
844bdb
%if %{with python2}
844bdb
pushd build-py2
844bdb
  %make_install
844bdb
popd
9fc8e2
%endif
844bdb
%if %{with python3}
844bdb
pushd build-py3
844bdb
  %make_install
844bdb
popd
844bdb
%endif
844bdb
844bdb
%find_lang %{name}
844bdb
Brian Stinson 824969
%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
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}/
9fc8e2
%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/
9fc8e2
%endif
844bdb
844bdb
%if %{with python3}
844bdb
%files -n python3-hawkey
844bdb
%{python3_sitearch}/hawkey/
844bdb
%endif
844bdb
844bdb
%changelog
8a795d
* Fri Jan 15 2021 Nicola Sella <nsella@redhat.com> - 0.55.0-2
8a795d
- Better msgs if "basecachedir" or "proxy_password" isn't set (RhBug:1888946)
8a795d
827ab6
* Mon Nov 09 2020 Nicola Sella <nsella@redhat.com> - 0.55.0-1
827ab6
- Add vendor to dnf API (RhBug:1876561)
827ab6
- Add formatting function for solver error
827ab6
- Add error types in ModulePackageContainer
827ab6
- Implement module enable for context part
827ab6
- Improve string formatting for translation
827ab6
- Remove redundant printf and change logging info to notice (RhBug:1827424)
827ab6
- Add allow_vendor_change option (RhBug:1788371) (RhBug:1788371)
827ab6
ed125d
* Thu Aug 20 2020 Nicola Sella <nsella@redhat.com> - 0.48.0-5
ed125d
- [covscan] Handle exception in a python binding by the proper function (RhBug:1870492)
ed125d
e6a984
* Tue Jul 28 2020 Marek Blaha <mblaha@redhat.com> - 0.48.0-4
e6a984
- Update translations (RhBug:1820548)
e6a984
d3fb65
* Fri Jul 17 2020 Nicola Sella <nsella@redhat.com> - 0.48.0-3
d3fb65
- Add log file level main config option (RhBug:1802074)
d3fb65
- Accept '==' as an operator in reldeps (RhBug:1847946)
d3fb65
9fc8e2
* Wed Jun 10 2020 Ales Matej <amatej@redhat.com> - 0.48.0-2
9fc8e2
- [history] Fix dnf history rollback when a package was removed (RhBug:1683134)
9fc8e2
9fc8e2
* Wed Jun 03 2020 Nicola Sella <nsella@redhat.com> - 0.48.0-1
9fc8e2
- Update to 0.48.0
9fc8e2
- swdb: Catch only SQLite3 exceptions and simplify the messages
9fc8e2
- MergedTransaction list multiple comments (RhBug:1773679)
9fc8e2
- Modify CMake to pull *.po files from weblate
9fc8e2
- Optimize DependencyContainer creation from an existing queue
9fc8e2
- fix a memory leak in dnf_package_get_requires()
9fc8e2
- Fix memory leaks on g_build_filename()
9fc8e2
- Fix memory leak in dnf_context_setup()
9fc8e2
- Add `hy_goal_favor` and `hy_goal_disfavor`
9fc8e2
- Define a cleanup function for `DnfPackageSet`
9fc8e2
- dnf-repo: fix dnf_repo_get_public_keys double-free
9fc8e2
- Do not cache RPMDB
9fc8e2
- Use single-quotes around string literals used in SQL statements
9fc8e2
- SQLite3: Do not close the database if it wasn't opened (RhBug:1761976)
9fc8e2
- Don't create a new history DB connection for in-memory DB
9fc8e2
- transaction/Swdb: Use a single logger variable in constructor
9fc8e2
- utils: Add a safe version of pathExists()
9fc8e2
- swdb: Handle the case when pathExists() fails on e.g. permission
9fc8e2
- Repo: prepend "file://" if a local path is used as baseurl
9fc8e2
- Move urlEncode() to utils
9fc8e2
- utils: Add 'exclude' argument to urlEncode()
9fc8e2
- Encode package URL for downloading through librepo (RhBug:1817130)
9fc8e2
- Replace std::runtime_error with libdnf::RepoError
9fc8e2
- Fixes and error handling improvements of the File class
9fc8e2
- [context] Use ConfigRepo for gpgkey and baseurl (RhBug:1807864)
9fc8e2
- [context] support "priority" option in .repo config file (RhBug:1797265)
9fc8e2
9f20c2
* Fri Apr 03 2020 Ales Matej <amatej@redhat.com> - 0.47.0-1
9f20c2
- Update to 0.47.0
9f20c2
- Allow excluding packages with "excludepkgs" and globs
9f20c2
- Make parsing of reldeps more strict (RhBug:1788107)
9f20c2
- Add expanding solvable provides for dependency matching (RhBug:1534123)
9f20c2
- DnfRepo: fix module_hotfixes keyfile priority level
9f20c2
- Add custom exceptions to libdnf interface
9f20c2
- Port to libmodulemd-2 API (RhBug:1693683)
9f20c2
- Add prereq_ignoreinst & regular_requires properties for pkg (RhBug:1543449)
9f20c2
- Reset active modules when no module enabled or default (RhBug:1767351)
9f20c2
- Add comment option to transaction (RhBug:1773679)
9f20c2
- Baseurl is not exclusive with mirrorlist/metalink (RhBug:1775184)
9f20c2
- Add new function to reset all modules in C API (dnf_context_reset_all_modules)
9f20c2
- Handle situation when an unprivileged user cannot create history database (RhBug:1634385)
9f20c2
- Add query filter: latest by priority
9f20c2
- Add setter for running kernel protection setting
9f20c2
- Add DNF_NO_PROTECTED flag to allow empty list of protected packages
9f20c2
- Config options: only first empty value clears existing (RhBug:1788154)
9f20c2
- [conf] Set useful default colors when color is enabled
9f20c2
- [context] Use installonly_limit from global config (RhBug:1256108)
9f20c2
- [context] Add API to get/set "install_weak_deps"
9f20c2
- [context] Adds support for includepkgs in repository configuration.
9f20c2
- [context] Adds support for excludepkgs, exclude, includepkgs, and disable_excludes in main configuration.
9f20c2
- [context] Added function dnf_transaction_set_dont_solve_goal
9f20c2
- [context] Added functions dnf_context_get/set_config_file_path
9f20c2
- [context] Respect "plugins" global conf value
9f20c2
- [context] Add API to disable/enable plugins
9f20c2
- [context] Create new repo instead of reusing old one (RhBug:1795004)
9f20c2
- [context] Error when main config file can't be opened (RhBug:1794864)
9f20c2
- [context] Add function function dnf_context_is_set_config_file_path
9f20c2
- [context] Support repositories defined in main configuration file
9f20c2
bf4004
* Tue Feb 18 2020 Ales Matej <amatej@redhat.com> - 0.39.1-5
bf4004
- Fix filtering of packages by advisory (RhBug:1770125)
bf4004
bf4004
* Fri Jan 31 2020 Marek Blaha <mblaha@redhat.com> - 0.39.1-4
bf4004
- [translations] Update translations from zanata (RhBug:1754965)
bf4004
bf4004
* Mon Jan 13 2020 Ales Matej <amatej@redhat.com> - 0.39.1-3
bf4004
- Add two new query filters: obsoletes_by_priority, upgrades_by_priority (RhBug:1769466)
bf4004
- [context] Add wildcard support in dnf_context_repo_set_data (RhBug:1781420)
bf4004
- Remove killGpgAgent function (RhBug:1781601)
bf4004
Brian Stinson 824969
* Thu Dec 12 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.39.1-2
Brian Stinson 824969
- [user-agent] Stop checking os-release(5) data against a hard-coded whitelist (RhBug:1777255)
Brian Stinson 824969
Brian Stinson 824969
* Mon Nov 25 2019 Ales Matej <amatej@redhat.com> - 0.39.1-1
Brian Stinson 824969
- Update to 0.39.1
Brian Stinson 824969
- Report reason how package was excluded (RhBug:1649754)
Brian Stinson 824969
- Additional Arm detection improvements (RhBug:1691430)
Brian Stinson 824969
- Set skip_if_unavailable for media repos to skip their update (RhBug:1716067)
Brian Stinson 824969
- Add support of xml:base for remote and local url in context (RhBug:1734350,1717865)
Brian Stinson 824969
Brian Stinson 824969
* Wed Nov 13 2019 Ales Matej <amatej@redhat.com> - 0.38.1-1
Brian Stinson 824969
- Update to 0.38.1
Brian Stinson 824969
- Change the best option default to false
Brian Stinson 824969
- Use more descriptive message when failed to retrieve GPG key (RhBug:1605117)
Brian Stinson 824969
- Add removeMetadataTypeFromDownload function to the API
Brian Stinson 824969
- Context part of libdnf can now read vars (urlvars) from dirs and environment
Brian Stinson 824969
- Throw exception immediately if file cannot be opened
Brian Stinson 824969
- Add test when there is no primary metadata in compatible format (RhBug:1744960)
Brian Stinson 824969
- Various improvements to countme features
Brian Stinson 824969
- Don't abort on rpmdb checksum calculation failure
Brian Stinson 824969
- Enable module dependency trees when using set_modules_enabled_by_pkgset() (RhBug:1762314)
Brian Stinson 824969
- Resolve problem with --best and search in provides (RhBug:1737469)
Brian Stinson 824969
- New method "Query::filterSubject()", replaces Solution::getBestSolution()
Brian Stinson 824969
- The Solution class was removed
Brian Stinson 824969
- Add query argument into get_best_query and get_best_solution
Brian Stinson 824969
- Add module reset function into dnf_context
Brian Stinson 824969
- Add method to get all repository metadata locations
Brian Stinson 824969
- Catch NoModuleException in case of not existent value was used in persistor (RhBug:1761773)
Brian Stinson 824969
Brian Stinson 824969
* Tue Oct 22 2019 Ales Matej <amatej@redhat.com> - 0.35.5-1
Brian Stinson 824969
- Update to 0.35.5
Brian Stinson 824969
- Make libdnf own its plugin directory (RhBug:1714265)
Brian Stinson 824969
- Set priority of dnf.conf.d drop-ins
Brian Stinson 824969
- Fix toString() to not insert [] (RhBug:1584442)
Brian Stinson 824969
- Fix handling large number of filenames on input (RhBug:1690915)
Brian Stinson 824969
- Detect armv7 with crypto extension only on arm version >= 8
Brian Stinson 824969
- A new standardized User-Agent field consisting of the libdnf and OS version
Brian Stinson 824969
  (including the variant) (RhBug:1156007)
Brian Stinson 824969
- Add basic countme support (RhBug:1647454)
Brian Stinson 824969
- Fix crash in PackageKit (RhBug:1636803)
Brian Stinson 824969
- Do not create @System.solv files (RhBug:1707995)
Brian Stinson 824969
- Set LRO_CACHEDIR so zchunk works again (RhBug:1739867)
Brian Stinson 824969
- Improve detection of extras packages by comparing (name, arch) pair instead
Brian Stinson 824969
  of full NEVRA (RhBuh:1684517)
Brian Stinson 824969
- Improve handling multilib packages in the history command (RhBug:1728637)
Brian Stinson 824969
- Repo download: use full error description into the exception text (RhBug:1741442)
Brian Stinson 824969
- Properly close hawkey.log (RhBug:1594016)
Brian Stinson 824969
- Fix dnf updateinfo --update to not list advisories for packages updatable
Brian Stinson 824969
  only from non-enabled modules
Brian Stinson 824969
- Apply modular filtering by package name (RhBug:1702729)
Brian Stinson 824969
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