dcavalca / rpms / libdnf

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