14c88f
# default dependencies
ba72f7
%global hawkey_version 0.22.5
14c88f
%global libcomps_version 0.1.8
14c88f
%global libmodulemd_version 1.4.0
14c88f
%global rpm_version 4.14.0
14c88f
14c88f
# conflicts
ba72f7
%global conflicts_dnf_plugins_core_version 4.0.2
ba72f7
%global conflicts_dnf_plugins_extras_version 3.0.2
ba72f7
%global conflicts_dnfdaemon_version 0.3.19
50a443
%global conflicts_librepo_version 1.8.1
50a443
14c88f
14c88f
# override dependencies for rhel 7
14c88f
%if 0%{?rhel} == 7
14c88f
    %global rpm_version 4.11.3-32
14c88f
%endif
14c88f
14c88f
%if 0%{?rhel} == 7 && 0%{?centos}
14c88f
    %global rpm_version 4.11.3-25.el7.centos.1
14c88f
%endif
14c88f
14c88f
# override dependencies for fedora 26
14c88f
%if 0%{?fedora} == 26
14c88f
    %global rpm_version 4.13.0.1-7
14c88f
%endif
14c88f
14c88f
14c88f
%if 0%{?rhel} && 0%{?rhel} <= 7
14c88f
%bcond_with python3
14c88f
%else
14c88f
%bcond_without python3
14c88f
%endif
14c88f
ba72f7
%if 0%{?rhel} >= 8 || 0%{?fedora} > 29
ba72f7
# Disable python2 build
14c88f
%bcond_with python2
14c88f
%else
14c88f
%bcond_without python2
14c88f
%endif
14c88f
14c88f
# configurable name for the compat yum package
14c88f
%global yum_subpackage_name %{name}-yum
14c88f
ba72f7
# provide nextgen-yum4 on rhel <= 7 to avoid conflict with existing yum
14c88f
%if 0%{?rhel} && 0%{?rhel} <= 7
14c88f
    %global yum_subpackage_name nextgen-yum4
14c88f
%endif
14c88f
14c88f
# provide yum on rhel >= 8, it replaces old yum
14c88f
%if 0%{?rhel} && 0%{?rhel} >= 8
14c88f
    %global yum_subpackage_name yum
14c88f
%endif
14c88f
14c88f
14c88f
# paths
14c88f
%global confdir %{_sysconfdir}/%{name}
14c88f
%global pluginconfpath %{confdir}/plugins
14c88f
14c88f
%if %{with python2}
14c88f
    %global py2pluginpath %{python2_sitelib}/%{name}-plugins
14c88f
%endif
14c88f
14c88f
%if %{with python3}
14c88f
    %global py3pluginpath %{python3_sitelib}/%{name}-plugins
14c88f
%endif
14c88f
14c88f
# Use the same directory of the main package for subpackage licence and docs
14c88f
%global _docdir_fmt %{name}
14c88f
14c88f
14c88f
%global pkg_summary     Package manager
14c88f
%global pkg_description Utility that allows users to manage packages on their systems. \
14c88f
It supports RPMs, modules and comps groups & environments.
14c88f
14c88f
Name:           dnf
ba72f7
Version:        4.0.9.2
50a443
Release:        2%{?dist}
14c88f
Summary:        %{pkg_summary}
14c88f
# For a breakdown of the licensing, see PACKAGE-LICENSING
14c88f
License:        GPLv2+ and GPLv2 and GPL
14c88f
URL:            https://github.com/rpm-software-management/dnf
ba72f7
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
ba72f7
Patch0:         1293.patch
919af6
14c88f
BuildArch:      noarch
14c88f
BuildRequires:  cmake
14c88f
BuildRequires:  gettext
14c88f
# Documentation
14c88f
BuildRequires:  %{_bindir}/sphinx-build
14c88f
BuildRequires:  systemd
14c88f
BuildRequires:  bash-completion
14c88f
%if %{with python3}
14c88f
Requires:       python3-%{name} = %{version}-%{release}
14c88f
%else
14c88f
Requires:       python2-%{name} = %{version}-%{release}
14c88f
%endif
14c88f
%if 0%{?rhel} && 0%{?rhel} <= 7
14c88f
Requires:       python-dbus
14c88f
Requires:       %{_bindir}/sqlite3
14c88f
%else
14c88f
%if %{with python3}
14c88f
Recommends:     (python3-dbus if NetworkManager)
14c88f
%else
14c88f
Recommends:     (python2-dbus if NetworkManager)
14c88f
%endif
14c88f
Recommends:     (%{_bindir}/sqlite3 if bash-completion)
14c88f
%endif
14c88f
%{?systemd_requires}
ba72f7
Provides:       dnf-command(alias)
14c88f
Provides:       dnf-command(autoremove)
14c88f
Provides:       dnf-command(check-update)
14c88f
Provides:       dnf-command(clean)
14c88f
Provides:       dnf-command(distro-sync)
14c88f
Provides:       dnf-command(downgrade)
14c88f
Provides:       dnf-command(group)
14c88f
Provides:       dnf-command(history)
14c88f
Provides:       dnf-command(info)
14c88f
Provides:       dnf-command(install)
14c88f
Provides:       dnf-command(list)
14c88f
Provides:       dnf-command(makecache)
14c88f
Provides:       dnf-command(mark)
14c88f
Provides:       dnf-command(provides)
14c88f
Provides:       dnf-command(reinstall)
14c88f
Provides:       dnf-command(remove)
14c88f
Provides:       dnf-command(repolist)
14c88f
Provides:       dnf-command(repoquery)
14c88f
Provides:       dnf-command(repository-packages)
14c88f
Provides:       dnf-command(search)
14c88f
Provides:       dnf-command(updateinfo)
14c88f
Provides:       dnf-command(upgrade)
14c88f
Provides:       dnf-command(upgrade-to)
14c88f
Conflicts:      python2-dnf-plugins-core < %{conflicts_dnf_plugins_core_version}
14c88f
Conflicts:      python3-dnf-plugins-core < %{conflicts_dnf_plugins_core_version}
ba72f7
Conflicts:      python2-dnf-plugins-extras < %{conflicts_dnf_plugins_extras_version}
ba72f7
Conflicts:      python3-dnf-plugins-extras < %{conflicts_dnf_plugins_extras_version}
14c88f
14c88f
%description
14c88f
%{pkg_description}
14c88f
14c88f
%package data
14c88f
Summary:        Common data and configuration files for DNF
14c88f
Requires:       libreport-filesystem
14c88f
Obsoletes:      %{name}-conf <= %{version}-%{release}
14c88f
Provides:       %{name}-conf = %{version}-%{release}
14c88f
14c88f
%description data
14c88f
Common data and configuration files for DNF
14c88f
14c88f
%package -n %{yum_subpackage_name}
14c88f
Requires:       %{name} = %{version}-%{release}
14c88f
Summary:        %{pkg_summary}
14c88f
%if 0%{?fedora}
ba72f7
%if 0%{?fedora} >= 30
14c88f
Conflicts:      yum
ba72f7
%else
ba72f7
Conflicts:      yum < 3.4.3-505
ba72f7
%endif
14c88f
%endif
14c88f
14c88f
%description -n %{yum_subpackage_name}
14c88f
%{pkg_description}
14c88f
14c88f
%if %{with python2}
14c88f
%package -n python2-%{name}
14c88f
Summary:        Python 2 interface to DNF
14c88f
%{?python_provide:%python_provide python2-%{name}}
14c88f
BuildRequires:  python2-devel
14c88f
BuildRequires:  python2-hawkey >= %{hawkey_version}
ba72f7
BuildRequires:  python2-libdnf >= %{hawkey_version}
14c88f
BuildRequires:  python2-libcomps >= %{libcomps_version}
ba72f7
BuildRequires:  python2-libdnf
14c88f
BuildRequires:  python2-nose
ba72f7
BuildRequires:  libmodulemd >= %{libmodulemd_version}
ba72f7
Requires:       libmodulemd >= %{libmodulemd_version}
14c88f
%if (0%{?rhel} && 0%{?rhel} <= 7)
14c88f
BuildRequires:  pygpgme
14c88f
Requires:       pygpgme
ba72f7
BuildRequires:  python-enum34
ba72f7
Requires:       python-enum34
14c88f
%else
14c88f
BuildRequires:  python2-gpg
14c88f
Requires:       python2-gpg
ba72f7
BuildRequires:  python2-enum34
ba72f7
Requires:       python2-enum34
14c88f
%endif
14c88f
BuildRequires:  pyliblzma
14c88f
Requires:       pyliblzma
14c88f
Requires:       %{name}-data = %{version}-%{release}
ba72f7
%if 0%{?fedora}
ba72f7
Recommends:     deltarpm
ba72f7
Recommends:     python2-unbound
ba72f7
%endif
ba72f7
%if 0%{?centos}
14c88f
Requires:       deltarpm
14c88f
%endif
14c88f
Requires:       python2-hawkey >= %{hawkey_version}
ba72f7
Requires:       python2-libdnf >= %{hawkey_version}
14c88f
Requires:       python2-libcomps >= %{libcomps_version}
ba72f7
Requires:       python2-libdnf
14c88f
%if 0%{?rhel} && 0%{?rhel} <= 7
14c88f
BuildRequires:  python-iniparse
14c88f
Requires:       python-iniparse
14c88f
BuildRequires:  rpm-python >= %{rpm_version}
14c88f
Requires:       rpm-python >= %{rpm_version}
14c88f
%else
14c88f
BuildRequires:  python2-iniparse
14c88f
Requires:       python2-iniparse
14c88f
BuildRequires:  python2-rpm >= %{rpm_version}
14c88f
Requires:       python2-rpm >= %{rpm_version}
14c88f
Recommends:     rpm-plugin-systemd-inhibit
14c88f
%endif
ba72f7
Conflicts:      dnfdaemon < %{conflicts_dnfdaemon_version}
50a443
Conflicts:      librepo < %{conflicts_librepo_version}
14c88f
14c88f
%description -n python2-%{name}
14c88f
Python 2 interface to DNF.
14c88f
%endif  # %%{with python2}
14c88f
14c88f
%if %{with python3}
14c88f
%package -n python3-%{name}
14c88f
Summary:        Python 3 interface to DNF
14c88f
%{?python_provide:%python_provide python3-%{name}}
14c88f
BuildRequires:  python3-devel
14c88f
BuildRequires:  python3-hawkey >= %{hawkey_version}
ba72f7
BuildRequires:  python3-libdnf >= %{hawkey_version}
14c88f
BuildRequires:  python3-iniparse
14c88f
BuildRequires:  python3-libcomps >= %{libcomps_version}
ba72f7
BuildRequires:  python3-libdnf
ba72f7
BuildRequires:  libmodulemd >= %{libmodulemd_version}
ba72f7
Requires:       libmodulemd >= %{libmodulemd_version}
14c88f
BuildRequires:  python3-nose
14c88f
BuildRequires:  python3-gpg
14c88f
Requires:       python3-gpg
14c88f
Requires:       %{name}-data = %{version}-%{release}
ba72f7
%if 0%{?fedora}
ba72f7
Recommends:     deltarpm
ba72f7
%endif
ba72f7
%if 0%{?centos}
14c88f
Requires:       deltarpm
14c88f
%endif
14c88f
Requires:       python3-hawkey >= %{hawkey_version}
ba72f7
Requires:       python3-libdnf >= %{hawkey_version}
14c88f
Requires:       python3-iniparse
14c88f
Requires:       python3-libcomps >= %{libcomps_version}
ba72f7
Requires:       python3-libdnf
14c88f
BuildRequires:  python3-rpm >= %{rpm_version}
14c88f
Requires:       python3-rpm >= %{rpm_version}
ba72f7
Recommends:     python3-unbound
14c88f
%if 0%{?rhel} && 0%{?rhel} <= 7
14c88f
Requires:       rpm-plugin-systemd-inhibit
14c88f
%else
14c88f
Recommends:     rpm-plugin-systemd-inhibit
14c88f
%endif
14c88f
14c88f
%description -n python3-%{name}
14c88f
Python 3 interface to DNF.
14c88f
%endif
14c88f
14c88f
%package automatic
14c88f
Summary:        %{pkg_summary} - automated upgrades
14c88f
BuildRequires:  systemd
14c88f
Requires:       %{name} = %{version}-%{release}
14c88f
%{?systemd_requires}
14c88f
14c88f
%description automatic
14c88f
Systemd units that can periodically download package upgrades and apply them.
14c88f
14c88f
14c88f
%prep
ba72f7
%autosetup -p1
14c88f
mkdir build-py2
14c88f
mkdir build-py3
14c88f
14c88f
14c88f
%build
14c88f
%if %{with python2}
14c88f
    pushd build-py2
ba72f7
    %cmake .. -DPYTHON_DESIRED:FILEPATH=%{__python2}
14c88f
    %make_build
14c88f
    make doc-man
14c88f
    popd
14c88f
%endif
14c88f
14c88f
%if %{with python3}
14c88f
    pushd build-py3
ba72f7
    %cmake .. -DPYTHON_DESIRED:FILEPATH=%{__python3}
14c88f
    %make_build
14c88f
    make doc-man
14c88f
    popd
14c88f
%endif
14c88f
14c88f
14c88f
%install
14c88f
%if %{with python2}
14c88f
    pushd build-py2
14c88f
    %make_install
14c88f
    popd
14c88f
%endif
14c88f
14c88f
%if %{with python3}
14c88f
    pushd build-py3
14c88f
    %make_install
14c88f
    popd
14c88f
%endif
14c88f
14c88f
%find_lang %{name}
14c88f
mkdir -p %{buildroot}%{confdir}/vars
ba72f7
mkdir -p %{buildroot}%{confdir}/aliases.d
14c88f
mkdir -p %{buildroot}%{pluginconfpath}/
ba72f7
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/modules.d
ba72f7
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/modules.defaults.d
14c88f
%if %{with python2}
14c88f
mkdir -p %{buildroot}%{py2pluginpath}/
14c88f
%endif
14c88f
%if %{with python3}
14c88f
mkdir -p %{buildroot}%{py3pluginpath}/__pycache__/
14c88f
%endif
14c88f
ln -sr  %{buildroot}%{confdir}/%{name}.conf %{buildroot}%{_sysconfdir}/yum.conf
14c88f
mkdir -p %{buildroot}%{_localstatedir}/log/
14c88f
mkdir -p %{buildroot}%{_var}/cache/dnf/
14c88f
touch %{buildroot}%{_localstatedir}/log/%{name}.log
14c88f
%if %{with python3}
14c88f
ln -sr %{buildroot}%{_bindir}/dnf-3 %{buildroot}%{_bindir}/dnf
14c88f
mv %{buildroot}%{_bindir}/dnf-automatic-3 %{buildroot}%{_bindir}/dnf-automatic
14c88f
ln -sr  %{buildroot}%{_bindir}/dnf-3 %{buildroot}%{_bindir}/yum
14c88f
%else
14c88f
ln -sr %{buildroot}%{_bindir}/dnf-2 %{buildroot}%{_bindir}/dnf
14c88f
mv %{buildroot}%{_bindir}/dnf-automatic-2 %{buildroot}%{_bindir}/dnf-automatic
14c88f
%if 0%{?rhel} && 0%{?rhel} <= 7
14c88f
ln -sr  %{buildroot}%{_bindir}/dnf-2 %{buildroot}%{_bindir}/yum4
14c88f
ln -sr  %{buildroot}%{_mandir}/man8/dnf.8.gz %{buildroot}%{_mandir}/man8/yum4.8.gz
14c88f
rm -f %{buildroot}%{_mandir}/man8/yum.8.gz
14c88f
%else
14c88f
ln -sr  %{buildroot}%{_bindir}/dnf-2 %{buildroot}%{_bindir}/yum
14c88f
%endif
14c88f
%endif
14c88f
rm -vf %{buildroot}%{_bindir}/dnf-automatic-*
ba72f7
%if "%{yum_subpackage_name}" == "yum"
ba72f7
mkdir -p %{buildroot}%{_sysconfdir}/yum
ba72f7
ln -sr  %{buildroot}%{pluginconfpath} %{buildroot}%{_sysconfdir}/yum/pluginconf.d
ba72f7
ln -sr  %{buildroot}%{confdir}/protected.d %{buildroot}%{_sysconfdir}/yum/protected.d
ba72f7
ln -sr  %{buildroot}%{confdir}/vars %{buildroot}%{_sysconfdir}/yum/vars
ba72f7
%endif
14c88f
14c88f
14c88f
%check
14c88f
%if %{with python2}
14c88f
    pushd build-py2
14c88f
    ctest -VV
14c88f
    popd
14c88f
%endif
14c88f
14c88f
%if %{with python3}
14c88f
    pushd build-py3
14c88f
    ctest -VV
14c88f
    popd
14c88f
%endif
14c88f
14c88f
14c88f
%post
14c88f
%systemd_post dnf-makecache.timer
14c88f
14c88f
%preun
14c88f
%systemd_preun dnf-makecache.timer
14c88f
14c88f
%postun
14c88f
%systemd_postun_with_restart dnf-makecache.timer
14c88f
14c88f
14c88f
%post automatic
14c88f
%systemd_post dnf-automatic.timer
14c88f
%systemd_post dnf-automatic-notifyonly.timer
14c88f
%systemd_post dnf-automatic-download.timer
14c88f
%systemd_post dnf-automatic-install.timer
14c88f
14c88f
%preun automatic
14c88f
%systemd_preun dnf-automatic.timer
14c88f
%systemd_preun dnf-automatic-notifyonly.timer
14c88f
%systemd_preun dnf-automatic-download.timer
14c88f
%systemd_preun dnf-automatic-install.timer
14c88f
14c88f
%postun automatic
14c88f
%systemd_postun_with_restart dnf-automatic.timer
14c88f
%systemd_postun_with_restart dnf-automatic-notifyonly.timer
14c88f
%systemd_postun_with_restart dnf-automatic-download.timer
14c88f
%systemd_postun_with_restart dnf-automatic-install.timer
14c88f
14c88f
14c88f
%files -f %{name}.lang
14c88f
%{_bindir}/%{name}
14c88f
%if 0%{?rhel} && 0%{?rhel} <= 7
14c88f
%{_sysconfdir}/bash_completion.d/%{name}
14c88f
%else
14c88f
%dir %{_datadir}/bash-completion
14c88f
%dir %{_datadir}/bash-completion/completions
14c88f
%{_datadir}/bash-completion/completions/%{name}
14c88f
%endif
14c88f
%{_mandir}/man8/%{name}.8*
14c88f
%{_mandir}/man8/yum2dnf.8*
14c88f
%{_unitdir}/%{name}-makecache.service
14c88f
%{_unitdir}/%{name}-makecache.timer
14c88f
%{_var}/cache/%{name}/
14c88f
14c88f
%files data
14c88f
%license COPYING PACKAGE-LICENSING
14c88f
%doc AUTHORS README.rst
14c88f
%dir %{confdir}
14c88f
%dir %{confdir}/modules.d
14c88f
%dir %{confdir}/modules.defaults.d
14c88f
%dir %{pluginconfpath}
14c88f
%dir %{confdir}/protected.d
14c88f
%dir %{confdir}/vars
ba72f7
%dir %{confdir}/aliases.d
14c88f
%config(noreplace) %{confdir}/%{name}.conf
14c88f
%config(noreplace) %{confdir}/protected.d/%{name}.conf
14c88f
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
ba72f7
%ghost %attr(644,-,-) %{_localstatedir}/log/hawkey.log
ba72f7
%ghost %attr(644,-,-) %{_localstatedir}/log/%{name}.log
ba72f7
%ghost %attr(644,-,-) %{_localstatedir}/log/%{name}.librepo.log
ba72f7
%ghost %attr(644,-,-) %{_localstatedir}/log/%{name}.rpm.log
ba72f7
%ghost %attr(644,-,-) %{_localstatedir}/log/%{name}.plugin.log
ba72f7
%ghost %attr(755,-,-) %dir %{_sharedstatedir}/%{name}
ba72f7
%ghost %attr(644,-,-) %{_sharedstatedir}/%{name}/groups.json
ba72f7
%ghost %attr(755,-,-) %dir %{_sharedstatedir}/%{name}/yumdb
ba72f7
%ghost %attr(755,-,-) %dir %{_sharedstatedir}/%{name}/history
14c88f
%{_mandir}/man5/%{name}.conf.5*
14c88f
%{_tmpfilesdir}/%{name}.conf
14c88f
%{_sysconfdir}/libreport/events.d/collect_dnf.conf
14c88f
14c88f
%files -n %{yum_subpackage_name}
14c88f
%if "%{yum_subpackage_name}" == "yum"
14c88f
%{_bindir}/yum
ba72f7
%{_mandir}/man8/yum.8*
14c88f
%{_sysconfdir}/yum.conf
ba72f7
%{_sysconfdir}/yum/pluginconf.d
ba72f7
%{_sysconfdir}/yum/protected.d
ba72f7
%{_sysconfdir}/yum/vars
14c88f
%{_mandir}/man5/yum.conf.5.*
14c88f
%{_mandir}/man8/yum.8*
ba72f7
%{_mandir}/man8/yum-shell.8*
ba72f7
%{_mandir}/man1/yum-aliases.1*
ba72f7
%else
ba72f7
%exclude %{_mandir}/man8/yum-shell.8*
ba72f7
%exclude %{_mandir}/man1/yum-aliases.1*
ba72f7
%exclude %{_sysconfdir}/yum/pluginconf.d
ba72f7
%exclude %{_sysconfdir}/yum/protected.d
ba72f7
%exclude %{_sysconfdir}/yum/vars
14c88f
%endif
14c88f
14c88f
%if "%{yum_subpackage_name}" == "nextgen-yum4"
14c88f
%{_bindir}/yum4
14c88f
%{_mandir}/man8/yum4.8*
14c88f
%exclude %{_sysconfdir}/yum.conf
14c88f
%exclude %{_mandir}/man5/yum.conf.5.*
14c88f
%exclude %{_mandir}/man8/yum.8*
14c88f
%endif
14c88f
14c88f
%if "%{yum_subpackage_name}" == "%{name}-yum"
14c88f
%{_bindir}/yum
14c88f
%{_mandir}/man8/yum.8*
ba72f7
%if 0%{?fedora} >= 30
ba72f7
%{_sysconfdir}/yum.conf
ba72f7
%{_mandir}/man5/yum.conf.5*
ba72f7
%else
ba72f7
%exclude %{_sysconfdir}/yum.conf
ba72f7
%exclude %{_mandir}/man5/yum.conf.5*
ba72f7
%endif
14c88f
%endif
14c88f
14c88f
%if %{with python2}
14c88f
%files -n python2-%{name}
14c88f
%{_bindir}/%{name}-2
14c88f
%exclude %{python2_sitelib}/%{name}/automatic
14c88f
%{python2_sitelib}/%{name}/
14c88f
%dir %{py2pluginpath}
14c88f
%endif
14c88f
14c88f
%if %{with python3}
14c88f
%files -n python3-%{name}
14c88f
%{_bindir}/%{name}-3
14c88f
%exclude %{python3_sitelib}/%{name}/automatic
14c88f
%{python3_sitelib}/%{name}/
14c88f
%dir %{py3pluginpath}
14c88f
%dir %{py3pluginpath}/__pycache__
14c88f
%endif
14c88f
14c88f
%files automatic
14c88f
%{_bindir}/%{name}-automatic
14c88f
%config(noreplace) %{confdir}/automatic.conf
14c88f
%{_mandir}/man8/%{name}.automatic.8*
14c88f
%{_unitdir}/%{name}-automatic.service
14c88f
%{_unitdir}/%{name}-automatic.timer
14c88f
%{_unitdir}/%{name}-automatic-notifyonly.service
14c88f
%{_unitdir}/%{name}-automatic-notifyonly.timer
14c88f
%{_unitdir}/%{name}-automatic-download.service
14c88f
%{_unitdir}/%{name}-automatic-download.timer
14c88f
%{_unitdir}/%{name}-automatic-install.service
14c88f
%{_unitdir}/%{name}-automatic-install.timer
14c88f
%if %{with python3}
14c88f
%{python3_sitelib}/%{name}/automatic/
14c88f
%else
14c88f
%{python2_sitelib}/%{name}/automatic/
14c88f
%endif
14c88f
14c88f
%changelog
50a443
* Thu Feb 25 2021 Daniel Mach <dmach@redhat.com> - 4.0.9.2-2
50a443
- Add conflict with librepo < 1.8.1 to enforce librepo upgrade (RhBug:1932228)
50a443
ba72f7
* Tue Jan 08 2019 Daniel Mach <dmach@redhat.com> - 4.0.9.2-1
ba72f7
- Update to 4.0.9.2
ba72f7
919af6
* Thu Nov 08 2018 Jaroslav Mracek <jmracek@redhat.com> - 2.7.5-19
919af6
- Backport patches for RHBZ#1643129 from upstream dnf-2-modularity
919af6
919af6
* Mon Sep 24 2018 Marek Blaha <mblaha@redhat.com> - 2.7.5-18
919af6
- Exclude system and commandline pkg from filtering (RhBug:1630226)
919af6
14c88f
* Mon Jul 23 2018 Marek Blaha <mblaha@redhat.com> - 2.7.5-17
14c88f
- Rename yum4 subpackage to nextgen-yum4
14c88f
- Correct Source0 URL
14c88f
14c88f
* Tue May 29 2018 Martin Hatina <mhatina@redhat.com> - 2.7.5-16
14c88f
- Apply util-Correctly-source-errno.EEXIST patch
14c88f
14c88f
* Mon May 28 2018 Martin Hatina <mhatina@redhat.com> - 2.7.5-15
14c88f
- Do not require libdnf
14c88f
14c88f
* Fri May 25 2018 Martin Hatina <mhatina@redhat.com> - 2.7.5-14
14c88f
- Fix patch applying.
14c88f
14c88f
* Fri May 25 2018 Martin Hatina <mhatina@redhat.com> - 2.7.5-13
14c88f
- Rebase to dnf from dnf-2-modularity-6 release.
14c88f
14c88f
* Wed Apr 18 2018 Daniel Mach <dmach@redhat.com> - 2.7.5-12
14c88f
- Fix defaults loading.
14c88f
14c88f
* Tue Apr 17 2018 Martin Hatina <mhatina@redhat.com> - 2.7.5-11
14c88f
- Rebase to dnf from dnf-2-modularity-4 release.
14c88f
14c88f
* Mon Mar 26 2018 Martin Hatina <mhatina@redhat.com> - 2.7.5-10
14c88f
- Require libmodulemd.
14c88f
14c88f
* Mon Mar 26 2018 Martin Hatina <mhatina@redhat.com> - 2.7.5-9
14c88f
- Rebase to dnf from dnf-2-modularity-3 release.
14c88f
14c88f
* Mon Feb 12 2018 Daniel Mach <dmach@redhat.com> - 2.7.5-8
14c88f
- Rebase to dnf from dnf-2-modularity branch.
14c88f
14c88f
* Thu Feb 08 2018 Igor Gnatenko <ignatenko@redhat.com> - 2.7.5-7
14c88f
- Demote deltarpm to weak dependencies
14c88f
14c88f
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.5-6
14c88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
14c88f
14c88f
* Wed Jan 03 2018 Igor Gnatenko <ignatenko@redhat.com> - 2.7.5-5
14c88f
- Use %%systemd_requires
14c88f
- Update Python 2 dependency declarations to new packaging standards
14c88f
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
14c88f
14c88f
* Wed Nov 29 2017 Jaroslav Mracek <jmracek@redhat.com> - 2.7.5-4
14c88f
- Fix problem with demands.cacheonly that caused problems for system-upgrade
14c88f
14c88f
* Tue Nov 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.7.5-3
14c88f
- Remove platform-python subpackage
14c88f
14c88f
* Fri Oct 27 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.7.5-2
14c88f
- Enable usage of rich deps for NM integration
14c88f
14c88f
* Wed Oct 18 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.7.5-1
14c88f
- Improve performance for excludes and includes handling (RHBZ #1500361)
14c88f
- Fixed problem of handling checksums for local repositories (RHBZ #1502106)
14c88f
- Fix traceback when using dnf.Base.close() (RHBZ #1503575)
14c88f
14c88f
* Mon Oct 16 2017 Jaroslav Mracek <jmracek@redhat.com> - 2.7.4-1
14c88f
- Update to 2.7.4-1
14c88f
- Enhanced performance for excludes and includes handling
14c88f
- Solved memory leaks at time of closing of dnf.Base()
14c88f
- Resolves: rhbz#1480979 - I thought it abnormal that dnf crashed.
14c88f
- Resolves: rhbz#1461423 - Memory leak in python-dnf
14c88f
- Resolves: rhbz#1499564 - dnf list installed crashes
14c88f
- Resolves: rhbz#1499534 - dnf-2 is much slower than dnf-1 when handling groups
14c88f
- Resolves: rhbz#1499623 - Mishandling stderr vs stdout (dnf search, dnf repoquery)
14c88f
14c88f
* Fri Oct 06 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.7.3-1
14c88f
- Fix URL detection (RHBZ #1472847)
14c88f
- Do not remove downloaded files with --destdir option (RHBZ #1498426)
14c88f
- Fix handling of conditional packages in comps (RHBZ #1427144)
14c88f
14c88f
* Mon Oct 02 2017 Jaroslav Mracek <jmracek@redhat.com> - 2.7.2-1
14c88f
- Update to 2.7.2-1
14c88f
- Added new option ``--comment=<comment>`` that adds a comment to transaction in history
14c88f
- :meth:`dnf.Base.pre_configure_plugin` configure plugins by running their pre_configure() method
14c88f
- Added pre_configure() methotd for plugins and commands to configure dnf before repos are loaded
14c88f
- Resolves: rhbz#1421478 - dnf repository-packages: error: unrecognized arguments: -x rust-rpm-macros
14c88f
- Resolves: rhbz#1491560 - 'dnf check' reports spurious "has missing requires of" errors
14c88f
- Resolves: rhbz#1465292 - DNF remove protected duplicate package
14c88f
- Resolves: rhbz#1279001 - [RFE] Missing dnf --downloaddir option
14c88f
- Resolves: rhbz#1212341 - [RFE] Allow plugins to override the core configuration
14c88f
- Resolves: rhbz#1299482 - mock --init fails with message "Failed calculating RPMDB checksum"
14c88f
- Resolves: rhbz#1488398 - dnf upstream tests failures on f26
14c88f
- Resolves: rhbz#1192811 - dnf whatprovides should show which provides matched a pattern
14c88f
- Resolves: rhbz#1288845 - "dnf provides" wildcard matching is unreliable (not all packages with matches listed)
14c88f
- Resolves: rhbz#1473933 - [abrt] dnf-automatic: resolved(): rpm_conf.py:58:resolved:AttributeError: 'Rpmconf' object has no attribute '_interactive'
14c88f
- Resolves: rhbz#1237349 - dnf autoremove not removing what dnf list extras shows
14c88f
- Resolves: rhbz#1470050 - the 'priority=' option in /etc/yum.repos.d/*.repo is not respected
14c88f
- Resolves: rhbz#1347927 - dnf --cacheonly downloads packages
14c88f
- Resolves: rhbz#1478115 - [abrt] dnf: _hcmd_undo(): __init__.py:888:_hcmd_undo:IndexError: list index out of range
14c88f
- Resolves: rhbz#1461171 -  RFE: support --advisory= with install
14c88f
- Resolves: rhbz#1448874 - "dnf needs-restarting" vanished from bash completion
14c88f
- Resolves: rhbz#1495116 - Dnf version fails with traceback in container
14c88f
14c88f
* Mon Aug 07 2017 Jaroslav Mracek <jmracek@redhat.com> 2.6.3-1
14c88f
- Fix problem with dnf.Package().remote_location() (RhBug:1476215) (Jaroslav
14c88f
  Mracek)
14c88f
- Change behavior of -C according to documentation (RhBug:1473964) (Jaroslav
14c88f
  Mracek)
14c88f
- It should prevent to ask attribute of None (RhBug:1359482) (Jaroslav Mracek)
14c88f
- Solve a problems with --arch options (RhBug:1476834) (Jaroslav Mracek)
14c88f
- Use security plugin code for dnf-automatic (Jaroslav Mracek)
14c88f
- Fix unicode error for python2 (Jaroslav Mracek)
14c88f
- Inform about packages installed for group (Jaroslav Mracek)
14c88f
- Provide info if pkg is removed due to dependency (RhBug:1244755) (Jaroslav
14c88f
  Mracek)
14c88f
- Unify format of %%{_mandir} paths in dnf.spec (Jaroslav Mracek)
14c88f
- Remove test_yumlayer.py as unneeded test (Jaroslav Mracek)
14c88f
- Provide yum4 package for rhel7 build (Jaroslav Mracek)
14c88f
- Make yum compatible layer very minimal (RhBug:1476748) (Jaroslav Mracek)
14c88f
- Remove metadata_expire from yum compatible layer (Jaroslav Mracek)
14c88f
- Remove keepcache from yum compatibility layer (Jaroslav Mracek)
14c88f
- Remove options from yum conf (Jaroslav Mracek)
14c88f
- Remove unused functionality from  yum compatible layer (Jaroslav Mracek)
14c88f
- Add deplist command for dnf (Jaroslav Mracek)
14c88f
- Fix problems with --downloaddir options (RhBug:1476464) (Jaroslav Mracek)
14c88f
- Move description of --forcearch into proper place (Jaroslav Mracek)
14c88f
- Provide description of --downloaddir option (Jaroslav Mracek)
14c88f
- Fix if in spec file (Jaroslav Mracek)
14c88f
- Add description of "test" tsflags (Jaroslav Mracek)
14c88f
- Enable import gpg_keys with tsflag test (RhBug:1464192) (Jaroslav Mracek)
14c88f
- Keep old reason when undoing erase (RhBug:1463107) (Eduard Čuba)
14c88f
- spec: eliminate other weak dependencies for el<=7 (Igor Gnatenko)
14c88f
- spec: do not strongly require inhibit plugin (Igor Gnatenko)
14c88f
- Inform that packages are only downloaded (RhBug:1426196) (Jaroslav Mracek)
14c88f
- Move releasever check after the etc/dnf/vars substitutions. (Alexander
14c88f
  Kanavin)
14c88f
- Provide substitution for Repodict.add_new_repo() (RhBug:1457507) (Jaroslav
14c88f
  Mracek)
14c88f
14c88f
* Mon Jul 24 2017 Jaroslav Mracek <jmracek@redhat.com> 2.6.2-1
14c88f
- Remove autodeglob optimization (Jaroslav Rohel)
14c88f
- Integrate --destdir with --destdir from download plugin (Ondřej Sojka)
14c88f
- Add CLI option --destdir (RhBug:1279001) (Ondřej Sojka)
14c88f
- Add myself to the AUTHORS file (Nathaniel McCallum)
14c88f
- Add the --forcearch CLI flag (Nathaniel McCallum)
14c88f
- Add 'ignorearch' option (Nathaniel McCallum)
14c88f
- Provide an API for setting 'arch' and 'basearch' (Nathaniel McCallum)
14c88f
- Add nevra forms for repoquery command (Jaroslav Rohel)
14c88f
- Fix UnicodeDecodeError during checkSig() on non UTF-8 locale (RhBug:1397848)
14c88f
  (Jaroslav Rohel)
14c88f
- Add dnf option --noautoremove (RhBug:1361424) (Jaroslav Mracek)
14c88f
- Add group argument for mark command (Jaroslav Mracek)
14c88f
- Report problems for each pkg during gpgcheck (RhBug:1387925) (Jaroslav
14c88f
  Mracek)
14c88f
- fix minor spelling mistakes (René Genz)
14c88f
- Print warning when wrong delimiter in cache (RhBug:1332099) (Vítek Hoch)
14c88f
- Fix the loading of config for dnf-automatic command_email (RhBug:1470116)
14c88f
  (Jaroslav Rohel)
14c88f
- Enable download progress bar if redirected output (RhBug:1161950) (Jaroslav
14c88f
  Mracek)
14c88f
- Support short abbrevations of commands (RhBug:1320254) (Vítek Hoch)
14c88f
- Remove unused variables kwargs (Jaroslav Mracek)
14c88f
- Not reinstall packages if install from repository-pkgs used (Jaroslav Mracek)
14c88f
- bump dnf version to 2.6.0 (Igor Gnatenko)
14c88f
- spec: use python2- prefix for hawkey (Igor Gnatenko)
14c88f
- spec: use sphinx-build binary rather than package name (Igor Gnatenko)
14c88f
- spec: python-bugzilla is not needed for building (Igor Gnatenko)
14c88f
- spec: fix instructions about generating tarball (Igor Gnatenko)
14c88f
- po: Update translations (Igor Gnatenko)
14c88f
- Add an example of installation without weak-deps  (RhBug:1424723) (Jaroslav
14c88f
  Mracek)
14c88f
- Add detection if mirrorlist is used for metalink (Jaroslav Mracek)
14c88f
- Rename variable (Jaroslav Mracek)
14c88f
- Add --groupmember option to repoquery (RhBug:1462486) (Jaroslav Mracek)
14c88f
- Check checksum for local repositories (RhBug:1314405) (Jaroslav Mracek)
14c88f
- Spelling fixes (Ville Skyttä)
14c88f
- repoquery --obsoletes prints obsoletes (RhBug:1457368) (Matěj Cepl)
14c88f
- Provide pkg name hint for icase (RhBug:1339280) (RhBug:1138978) (Jaroslav
14c88f
  Mracek)
14c88f
- Return only latest pkgs for "dnf list upgrades" (RhBug:1423472) (Jaroslav
14c88f
  Mracek)
14c88f
- cleanup code not executed in case of exception (Marek Blaha)
14c88f
- Allow to modify message for user confirmation (Jaroslav Mracek)
14c88f
- Add autocheck_running_kernel config option (Štěpán Smetana)
14c88f
- Inform about skipped packages for group install (RhBug:1427365) (Jaroslav
14c88f
  Mracek)
14c88f
- Remove group remove unneeded pkgs (RhBug:1398871) (RhBug:1432312) (Jaroslav
14c88f
  Mracek)
14c88f
- po: update translations (Igor Gnatenko)
14c88f
14c88f
* Mon Jun 12 2017 Jaroslav Mracek <jmracek@redhat.com> 2.5.1-1
14c88f
- bump version to 2.5.1 + update release notes (Jaroslav Mracek)
14c88f
- Fix: dnf update --refresh fails for repo_gpgcheck=1 (RhBug:1456419) (Daniel
14c88f
  Mach)
14c88f
- Don't try to cut datetime message (Jaroslav Rohel)
14c88f
- Use localized datetime format (RhBug:1445021) (Jaroslav Rohel)
14c88f
- Work with locale date (Jaroslav Rohel)
14c88f
- Use ISO 8601 time format in logfile (Jaroslav Rohel)
14c88f
- Add unitest to prevent callbacks breakage (Jaroslav Mracek)
14c88f
- Provide compatibility for tools that do not use total_drpms (Jaroslav Mracek)
14c88f
- Requires strict usage of repoquery --recursive (Jaroslav Mracek)
14c88f
- Fix output for --resolve with --installed for repoquery (Jaroslav Mracek)
14c88f
- Remove unnecessary inheritance of yum conf options (Martin Hatina)
14c88f
- Remove alwaysprompt option support (RhBug:1400714) (Jaroslav Rohel)
14c88f
- Allow to install groups with multilib_policy=all (RhBug:1250702) (Jaroslav
14c88f
  Mracek)
14c88f
- Redesign Base.install() to provide alternatives (Jaroslav Mracek)
14c88f
- Report excludes includes into logger.debug (RhBug:1381988) (Jaroslav Mracek)
14c88f
- Provide new API to parse string to NEVRA () (Jaroslav Mracek)
14c88f
- Add more repoquery querytags (Jaroslav Rohel)
14c88f
- Not hide tracebacks (Jaroslav Mracek)
14c88f
- Solve error handling for get attr in yumdb (RhBug:1397848) (Jaroslav Mracek)
14c88f
- Provide a better error if throttle to low (RhBug:1321407) (Jaroslav Mracek)
14c88f
- Change timeout to 30s (RhBug:1291867) (Jaroslav Mracek)
14c88f
- Add pre_transaction hook for plugins (Jaroslav Rohel)
14c88f
- Not download metadata if "dnf history [info|list|userinstalled]" (Jaroslav
14c88f
  Mracek)
14c88f
- Not download metadata if "dnf repo-pkgs <repo> list --installed" (Jaroslav
14c88f
  Mracek)
14c88f
- Not download metadata if "dnf list --installed" (RhBug:1372895) (Jaroslav
14c88f
  Mracek)
14c88f
- Format pkg str for repoquery --tree due to -qf (RhBug:1444751) (Jaroslav
14c88f
  Mracek)
14c88f
14c88f
* Mon May 22 2017 Jaroslav Mracek <jmracek@redhat.com> 2.5.0-1
14c88f
- Update release notes (Jaroslav Mracek)
14c88f
- Change documentation for history --userinstalled (RhBug:1370062) (Jaroslav
14c88f
  Mracek)
14c88f
- Change example to install plugin using versionlock (Jaroslav Mracek)
14c88f
- Remove unused method Goal.best_run_diff() (Jaroslav Mracek)
14c88f
- Change recommendations if some problems appear (RhBug:1293067) (Jaroslav
14c88f
  Mracek)
14c88f
- Report problems for goals with optional=True (Jaroslav Mracek)
14c88f
- Format resolve problem messages in method in dnf.util (Jaroslav Mracek)
14c88f
- Enhance reports about broken dep (RhBug:1398040)(RhBug:1393814) (Jaroslav
14c88f
  Mracek)
14c88f
- search: do not generate error if not match anything (RhBug:1342157) (Jaroslav
14c88f
  Rohel)
14c88f
- Check if any plugin is removed in transaction (RhBug:1379906) (Jaroslav
14c88f
  Mracek)
14c88f
- Show progress for DRPM (RhBug:1198975) (Jaroslav Mracek)
14c88f
- Fix disabledplugin option (Iavael)
14c88f
- [history]: fixed info command merged output (Eduard Čuba)
14c88f
14c88f
* Thu May 11 2017 Jaroslav Mracek <jmracek@redhat.com> 2.4.1-1
14c88f
- bump version to 2.4.1 + update release notes (Jaroslav Mracek)
14c88f
- goal: do not mark weak dependencies as userinstalled (Igor Gnatenko)
14c88f
- fix typo in supplements (RhBug:1446756) (Igor Gnatenko)
14c88f
- Describe present behavior of installonly_limit conf option (Jaroslav Mracek)
14c88f
- Reset all transaction for groups if Base.reset() (RhBug:1446432) (Jaroslav
14c88f
  Mracek)
14c88f
- Explain how add negative num for --latest-limit (RhBug:1446641) (Jaroslav
14c88f
  Mracek)
14c88f
- trivial: don't duplicate option names (Igor Gnatenko)
14c88f
- Add support for --userinstalled for repoquery command (RhBug:1278124)
14c88f
  (Jaroslav Rohel)
14c88f
- Fix header of search result sections (RhBug:1301868) (Jaroslav Rohel)
14c88f
- Filter out src for get_best_selector (Jaroslav Mracek)
14c88f
- Add minor changes in formating of documentation (Jaroslav Mracek)
14c88f
14c88f
* Tue May 02 2017 Jaroslav Mracek <jmracek@redhat.com> 2.4.0-1
14c88f
- po: Update translations (Igor Gnatenko)
14c88f
- po: Update translations (Igor Gnatenko)
14c88f
- introduce '--enableplugin' option (Martin Hatina)
14c88f
- Improve detection of file patterns (Jaroslav Mracek)
14c88f
- Add method _get_nevra_solution() for subject (Jaroslav Mracek)
14c88f
- Do not add "*" into query filter in _nevra_to_filters() (Jaroslav Mracek)
14c88f
- Remove usage of nevra_possibilities_real() (Jaroslav Mracek)
14c88f
- Increase performance for downgrade_to() (Jaroslav Mracek)
14c88f
- Add additional keys for get_best_query() (Jaroslav Mracek)
14c88f
- Increase performance for get_best_selector() (Jaroslav Mracek)
14c88f
- Increase performance for get_best_query() (Jaroslav Mracek)
14c88f
- Fix "Package" text translation (RhBug:1302935) (Jaroslav Rohel)
14c88f
- Create a warning if releasever is None (Jaroslav Mracek)
14c88f
- Adds cost, excludepkgs, and includepkgs to Doc (RhBug:1248684) (Jaroslav
14c88f
  Mracek)
14c88f
- Change auto-detection of releasever in empty installroot (Jaroslav Mracek)
14c88f
- Do not load system repo for makecache command (RhBug:1441636) (Jaroslav
14c88f
  Mracek)
14c88f
- Do not raise assertion if group inst and rmv pkgs (RhBug:1438438) (Jaroslav
14c88f
  Mracek)
14c88f
- yum layer using python3 (Martin Hatina)
14c88f
- Filter url protocols for baseurl in Package.remote_location (Jaroslav Mracek)
14c88f
- Add armv5tl to arm basearch (Neal Gompa)
14c88f
- Setup additional parameters for handler for remote packages (Jaroslav Mracek)
14c88f
- Use same method for user/password setting of every librepo.handle (Jaroslav
14c88f
  Mracek)
14c88f
- Fix PEP8 violations and remove unused import (Jaroslav Mracek)
14c88f
- Handle unknown file size in download progress (Jaroslav Mracek)
14c88f
- Allow to delete cashed files from command line by clean command (Jaroslav
14c88f
  Mracek)
14c88f
- Save command line packages into chachedir (RhBug:1256313) (Jaroslav Mracek)
14c88f
- Add progress bar for download of commandline pkgs (RhBug:1161950) (Jaroslav
14c88f
  Mracek)
14c88f
- Fix minor typo Closes: #781 Approved by: ignatenkobrain (Yuri Chornoivan)
14c88f
- Mark unremoved packages as failed (RhBug:1421244) (Jaroslav Mracek)
14c88f
14c88f
* Mon Apr 10 2017 Jaroslav Mracek <jmracek@redhat.com> 2.3.0-1
14c88f
- update release notes (Jaroslav Mracek)
14c88f
- po: Update translations (Igor Gnatenko)
14c88f
- Add require of subcommand for repo-pkgs command (Jaroslav Rohel)
14c88f
- shell: Fix commands initialization (Jaroslav Rohel)
14c88f
- po: Update translations (Igor Gnatenko)
14c88f
- Add support for --location for repoquery command (RhBug:1290137) (Jaroslav
14c88f
  Mracek)
14c88f
- Add support of --recursive with --resolve in repoquery (Jaroslav Mracek)
14c88f
- Add --recursive option for repoquery (Jaroslav Mracek)
14c88f
- Add --whatconflicts for repoquery (Jaroslav Mracek)
14c88f
- Add support for multiple options for repoquery (Jaroslav Mracek)
14c88f
- Add multiple format option for repoquery (Jaroslav Mracek)
14c88f
- Fix problem with "dnf repoquery --querytags" (Jaroslav Mracek)
14c88f
- Add support of 3 options into updateinfo command (Jaroslav Mracek)
14c88f
- Add inheritance of reason for obsoleting packages (Jaroslav Mracek)
14c88f
- Mark installonlypkgs correctly as user installed (RhBug:1349314) (Jaroslav
14c88f
  Mracek)
14c88f
- Solve a problem with None names in callbacks (Jaroslav Mracek)
14c88f
- Solve a problem for callbacks (Jaroslav Mracek)
14c88f
- Revert "remove: CLI: --randomwait" (RhBug:1247122) (Ondřej Sojka)
14c88f
- po: update translations (Igor Gnatenko)
14c88f
- po: update translations (Igor Gnatenko)
14c88f
- Set strings for translations (RhBug:1298717) (Jaroslav Mracek)
14c88f
14c88f
* Mon Mar 27 2017 Jaroslav Mracek <jmracek@redhat.com> 2.2.0-1
14c88f
- bump version to 2.2.0 + update release notes (Jaroslav Mracek)
14c88f
- Add documentation of new API callback actions (RhBug:1411432) (Jaroslav
14c88f
  Mracek)
14c88f
- Fix python2 doesn't have e.__traceback__ attribute (Jaroslav Mracek)
14c88f
- Do not report erasing package as None. (Jaroslav Mracek)
14c88f
- Display scriplet for transaction (RhBug:1411423) (RhBug:1406130) (Jaroslav
14c88f
  Mracek)
14c88f
- Add support for rpmcallbacks (Jaroslav Mracek)
14c88f
- AUTHORS: updated (Jaroslav Rohel)
14c88f
- Not show expiration check if no repo enabled (RhBug:1369212) (Jaroslav
14c88f
  Mracek)
14c88f
- Fix changelog in dnf spec file (Jaroslav Mracek)
14c88f
- po: update translations (Igor Gnatenko)
14c88f
- Add myself (mhatina) to AUTHORS (Martin Hatina)
14c88f
- po: Update translations (Igor Gnatenko)
14c88f
14c88f
* Tue Mar 21 2017 Jaroslav Mracek <jmracek@redhat.com> 2.1.1-1
14c88f
- bump version to 2.1.1 + update release notes (Jaroslav Mracek)
14c88f
- Sync the translation with locale (Jaroslav Rohel)
14c88f
- Disable exceptions in logging (Jaroslav Rohel)
14c88f
- Fix severity info in "updateinfo info" (Jaroslav Mracek)
14c88f
- Add help for shell commands (Jaroslav Rohel)
14c88f
- shell: no crash if missing args (Jaroslav Rohel)
14c88f
- proper check of releasever, when using installroot (RhBug:1417542) (Martin
14c88f
  Hatina)
14c88f
- Inform about "Cache was expired" with "dnf clean" (RhBug:1401446) (Jaroslav
14c88f
  Mracek)
14c88f
- crypto: port to the official gpgme bindings (Igor Gnatenko)
14c88f
- Fix doc example for `fill_sack` method (Lubomír Sedlář)
14c88f
- po: update translations (Igor Gnatenko)
14c88f
- Not try to install src package (RhBug:1416699) (Jaroslav Mracek)
14c88f
- Add usage for add_new_repo() with repofrompath option (Jaroslav Mracek)
14c88f
- Add new API add_new_repo() in RepoDict() (RhBug:1427132) (Jaroslav Mracek)
14c88f
- docs: adds documentation for dnf-automatic's Command and CommandEmail
14c88f
  emitters. (rhn)
14c88f
- docs: fixes typo in section description in automatic (rhn)
14c88f
- Adds new emitters for dnf-automatic. (rhn)
14c88f
- po: update translations (Igor Gnatenko)
14c88f
- Ensure that callback will not kill dnf transaction (Jaroslav Mracek)
14c88f
- Ensure that name will be not requested on None (RhBug:1397047) (Jaroslav
14c88f
  Mracek)
14c88f
- Python 3.6 invalid escape sequence deprecation fix (Ville Skyttä)
14c88f
- display severity information in updateinfo (#741) (Michael Mraka)
14c88f
- po: update translations (Igor Gnatenko)
14c88f
- Add --nodocs option for dnf (RhBug:1379628) (Jaroslav Mracek)
14c88f
- Replace passive plugin noroot (Jaroslav Mracek)
14c88f
- Fix incorrect formating of string for logger.info (Jaroslav Mracek)
14c88f
- Not print help if empty line in script for shell command (Jaroslav Mracek)
14c88f
- Run fill_sack after all repos have changed status (Jaroslav Mracek)
14c88f
- Remove Hawkey object from repo if rerun of dnf.fill_sack (Jaroslav Mracek)
14c88f
- util/on_metered_connection: be more polite to failures (Igor Gnatenko)
14c88f
- cosmetic: i18n: rewording of 'Login user' (RhBug:1424939) (Jan Silhan)
14c88f
- Fix problem with --whatprovides in repoquery (RhBug:1396992) (Jaroslav
14c88f
  Mracek)
14c88f
- Add -a and --all option for repoquery (RhBug:1412970) (Jaroslav Mracek)
14c88f
- Change camel-case of output of grouplist (Jaroslav Mracek)
14c88f
- Minor correction in release notes (Jaroslav Mracek)
14c88f
- Minor correction in release notes (Jaroslav Mracek)
14c88f
14c88f
* Thu Feb 16 2017 Jaroslav Mracek <jmracek@redhat.com> 2.1.0-1
14c88f
- bump version to 2.1.0 + update release notes (Jaroslav Mracek)
14c88f
- Fix problem with --recent option in repoquery (Jaroslav Mracek)
14c88f
- Fix problem with duplicated --obsoletes (RhBug:1421835) (Jaroslav Mracek)
14c88f
- Python 3.6 invalid escape sequence deprecation fixes (Ville Skyttä)
14c88f
- Add --repoid as alias for --repo (Jaroslav Mracek)
14c88f
- introduce dnf.base.Base.update_cache() (Martin Hatina)
14c88f
- Try to install uninstalled packages if group installed (Jaroslav Mracek)
14c88f
- Enable search of provides in /usr/(s)bin (RgBug:1421618) (Jaroslav Mracek)
14c88f
- style: ignore E261 (Igor Gnatenko)
14c88f
- makecache: do not run on metered connections (RhBug:1415711) (Igor Gnatenko)
14c88f
- change '--disableplugins' to '--disableplugin' (Martin Hatina)
14c88f
- cosmetic: removed unused import (Jan Silhan)
14c88f
- show hint how to display why package was skipped (RhBug:1417627) (Jan Silhan)
14c88f
- spec: add information how to obtain archive (Igor Gnatenko)
14c88f
- fix messages (UX) (Jaroslav Rohel)
14c88f
- zanata update (Jan Silhan)
14c88f
14c88f
* Thu Feb 09 2017 Jaroslav Mracek <jmracek@redhat.com> 2.0.1-1
14c88f
- bump version to 2.0.1 + update release notes (Jaroslav Mracek)
14c88f
- introduce cli 'obsoletes' option (Martin Hatina)
14c88f
- swap tids if they are in wrong order (RhBug:1409361) (Michael Mraka)
14c88f
- Disable shell command recursion (Jaroslav Rohel)
14c88f
- Honor additional arguments for DNF shell repo list command (Jaroslav Rohel)
14c88f
- don't traceback when bug title is not set (Michael Mraka)
14c88f
- introducing list-security, info-security etc. commands (Michael Mraka)
14c88f
- Add lsedlar to contributors list (Lubomír Sedlář)
14c88f
- Return just name from Package.source_name (Lubomír Sedlář)
14c88f
- introduce dnf.conf.config.MainConf.exclude() (Martin Hatina)
14c88f
- systemd: Disable daemons on ostree-managed systems (Colin Walters)
14c88f
- introduced dnf.base.Base.autoremove() (RhBug:1414512) (Martin Hatina)
14c88f
- po: update translations (Igor Gnatenko)
14c88f
- build: use relative directory for translations (Igor Gnatenko)
14c88f
- Temporary eliminate a problem with install remove loop (Jaroslav Mracek)
14c88f
- Handle info message when DRPM wastes data (RhBug:1238808) (Daniel
14c88f
  Aleksandersen)
14c88f
- Fix output for better translation (RhBug:1386085) (Abhijeet Kasurde)
14c88f
- yum layer refactored (Martin Hatina)
14c88f
- return values changed to match yum's (Martin Hatina)
14c88f
- Reword sentence after removing package (RhBug:1286553) (Abhijeet Kasurde)
14c88f
- Minor documentation revisions (Mark Szymanski)
14c88f
- Minor code fix (Abhijeet Kasurde)
14c88f
- automatic: email emitter date header (David Greenhouse)
14c88f
- Solve problem when no repo and only rpms with upgrade command (Jaroslav
14c88f
  Mracek)
14c88f
- bash_completion: use system-python if it's available (Igor Gnatenko)
14c88f
- spec: use system-python for dnf-yum as well (Igor Gnatenko)
14c88f
- comps/groups: fix tests (Michal Luscon)
14c88f
- comps: adjust group_upgrade to new CompsTransPkg style (Michal Luscon)
14c88f
- groups: refactored installation (RhBug:1337731, RhBug:1336879) (Michal
14c88f
  Luscon)
14c88f
- Increase requirement for hawkey (Jaroslav Mracek)
14c88f
- Change reporting problems for downgradePkgs() (Jaroslav Mracek)
14c88f
- Use selector for base.package_upgrade() (Jaroslav Mracek)
14c88f
- Add usage of selectors for base.package_install() (Jaroslav Mracek)
14c88f
- Use selector for base.package_downgrade() (Jaroslav Mracek)
14c88f
- Redirect base.downgrade() to base.downgrade_to() (Jaroslav Mracek)
14c88f
- Enable wildcard for downgrade command (RhBug:1173349) (Jaroslav Mracek)
14c88f
- Refactor downgrade cmd behavior (RhBug:1329617)(RhBug:1283255) (Jaroslav
14c88f
  Mracek)
14c88f
- Redirect logger.info into stderr for repolist (RhBug:1369411) (Jaroslav
14c88f
  Mracek)
14c88f
- Redirect logger.info into stderr for repoquery (RhBug:1243393) (Jaroslav
14c88f
  Mracek)
14c88f
- Add possibility for commands to redirect logger (Jaroslav Mracek)
14c88f
- Put information about metadata expiration into stdout (Jaroslav Mracek)
14c88f
- Change warning about added repo into info (RhBug:1243393) (Jaroslav Mracek)
14c88f
- Move grouplist output from logger into stdout (Jaroslav Mracek)
14c88f
- let repo exclude work the same way as global exclude (Michael Mraka)
14c88f
- Fix wrong assumptions about metalinks (RhBug:1411349) (Jaroslav Mracek)
14c88f
- handle --disablerepo/--enablerepo properly with strict (RhBug:1345976)
14c88f
  (Štěpán Smetana)
14c88f
- Add fix to notify user about no repos (RhBug:1369212) (Abhijeet Kasurde)
14c88f
- Add information about "hidden" option in dnf doc (RhBug:1349247) (Abhijeet
14c88f
  Kasurde)
14c88f
- Fix for 'history package-list' (Amit Upadhye)
14c88f
- Enable multiple args for repoquery -f (RhBug:1403930) (Jaroslav Mracek)
14c88f
- Set default repo.name as repo._section (Jaroslav Mracek)
14c88f
- Create from self.forms value forms in cmd.run() (Jaroslav Mracek)
14c88f
- Add description of swap command into documentation (Jaroslav Mracek)
14c88f
- Add swap command (RhBug:1403465) (RhBug:1110780) (Jaroslav Mracek)
14c88f
- Solve a problem with shell when empty line or EOF (Jaroslav Mracek)
14c88f
- shell: add history of commands (RhBug:1405333) (Michal Luscon)
14c88f
- Add info if no files with repoquery -l (RhBug:1254879) (Jaroslav Mracek)
14c88f
- po: update translations (Igor Gnatenko)
14c88f
- po: migrate to zanata python client and trivial fixes in build (Igor
14c88f
  Gnatenko)
14c88f
- po: include all possible languages from zanata (Igor Gnatenko)
14c88f
- po: include comments for translations (Igor Gnatenko)
14c88f
- shell: catch exceptions from depsolving (Michal Luscon)
14c88f
- shell: update documentation (Michal Luscon)
14c88f
- shell: add transaction reset cmd (Michal Luscon)
14c88f
- shell: add transaction resolve cmd (Michal Luscon)
14c88f
- shell: provide rewritable demands for cmds (Michal Luscon)
14c88f
- shell: catch tracebacks from shlex (Michal Luscon)
14c88f
- shell: handle ctrl+D more gracefully (Michal Luscon)
14c88f
- groups: set demands in configure instead of run (Michal Luscon)
14c88f
- shell: implement config cmd (Michal Luscon)
14c88f
- shell: add help (Michal Luscon)
14c88f
- shell: make alias repo list -> repolist (Michal Luscon)
14c88f
- shell: catch exceptions from do_transaction (Michal Luscon)
14c88f
- shell: resolve transaction in ts run (Michal Luscon)
14c88f
- shell: add default value for internal methods argument (Michal Luscon)
14c88f
- shell: create run alias for ts run (Michal Luscon)
14c88f
- shell: add ts list cmd (Michal Luscon)
14c88f
- shell: refill sack after every successful repo cmd (Michal Luscon)
14c88f
- shell: allow running multiple transaction in one session (Michal Luscon)
14c88f
- shell: add ts command (Michal Luscon)
14c88f
- shell: catch cmd parsing and run exceptions (Michal Luscon)
14c88f
- shell: allow to run scripts (Michal Luscon)
14c88f
- shell: add repo cmd (Michal Luscon)
14c88f
- shell: add resolving + transaction run support (Michal Luscon)
14c88f
- shell: implement quit method (Michal Luscon)
14c88f
- shell: add custom cmds stubs (Michal Luscon)
14c88f
- shell: implement basic logic (Michal Luscon)
14c88f
- shell: register new cmd (Michal Luscon)
14c88f
14c88f
* Wed Dec 14 2016 Michal Luscon <mluscon@redhat.com> 2.0.0-1
14c88f
- tests: catch ModuleNotFoundError as well (Igor Gnatenko)
14c88f
- Switch out automatic service for automatic-download and automatic-install
14c88f
  (Pat Riehecky)
14c88f
- Make upgrade-to alias for upgrade (RhBug:1327999) (Jaroslav Mracek)
14c88f
- skip appending an empty option (RhBug: 1400081) (Michael Mraka)
14c88f
- Add description of nevra foems for commands and autoremove args (Jaroslav
14c88f
  Mracek)
14c88f
- Add support of arguments nevra forms for autoremove command (Jaroslav Mracek)
14c88f
- Add nevra forms for remove command (Jaroslav Mracek)
14c88f
- Add nevra forms for install command (Jaroslav Mracek)
14c88f
- add bin/yum into .gitignore (Michal Luscon)
14c88f
- clean: acquire all locks before cleaning (RhBug:1293782) (Michal Luscon)
14c88f
- Change hawkey version requirement (Jaroslav Mracek)
14c88f
- Add information for translators (RhBug:1386078) (Jaroslav Mracek)
14c88f
- Change info to warning for clean repoquery output (RhBug:1358245) (Jaroslav
14c88f
  Mracek)
14c88f
- Add description of pkg flag for Query (RhBug:1243393) (Jaroslav Mracek)
14c88f
- Add minor changes in documentation (Jaroslav Mracek)
14c88f
- Do not always overwrite the name with the repo ID (Neal Gompa)
14c88f
14c88f
* Fri Dec 02 2016 Martin Hatina <mhatina@redhat.com> 2.0.0-0.rc2.1
14c88f
- See http://dnf.readthedocs.io/en/latest/release_notes.html
14c88f
14c88f
* Thu Sep 29 2016 Michal Luscon <mluscon@redhat.com> 2.0.0-0.rc1.1
14c88f
- See http://dnf.readthedocs.io/en/latest/release_notes.html
14c88f