Blame dnf5.spec

Packit 2d74b6c
%global project_version_prime 5
Packit 2d74b6c
%global project_version_major 2
Packit 8dd063a
%global project_version_minor 3
Packit 2d74b6c
%global project_version_micro 0
5a33b64
Packit 2d74b6c
%bcond dnf5_obsoletes_dnf %[0%{?fedora} > 40 || 0%{?rhel} > 11]
532daf7
532daf7
Name:           dnf5
Packit 2d74b6c
Version:        %{project_version_prime}.%{project_version_major}.%{project_version_minor}.%{project_version_micro}
604f8d2
Release:        3%{?dist}
532daf7
Summary:        Command-line package manager
532daf7
License:        GPL-2.0-or-later
532daf7
URL:            https://github.com/rpm-software-management/dnf5
532daf7
Source0:        %{url}/archive/%{version}/dnf5-%{version}.tar.gz
Packit c803b8b
532daf7
Requires:       libdnf5%{?_isa} = %{version}-%{release}
2fa07e4
Requires:       libdnf5-cli%{?_isa} = %{version}-%{release}
5a33b64
%if %{without dnf5_obsoletes_dnf}
Packit 02ac962
Requires:       dnf-data
Packit 02ac962
%endif
532daf7
Recommends:     bash-completion
Packit cf866ef
Requires:       coreutils
532daf7
b5c968c
# Remove if condition when Fedora 37 is EOL
Packit 1442d75
%if 0%{?fedora} > 37 || 0%{?rhel} > 10
b5c968c
Provides:       microdnf = %{version}-%{release}
b5c968c
Obsoletes:      microdnf < 4
b5c968c
%endif
b5c968c
5a33b64
%if %{with dnf5_obsoletes_dnf}
Packit c803b8b
Provides:       dnf = %{version}-%{release}
Packit c803b8b
Obsoletes:      dnf < 5
Packit c803b8b
Packit c803b8b
Provides:       yum = %{version}-%{release}
Packit c803b8b
Obsoletes:      yum < 5
Packit 2d74b6c
Packit 2d74b6c
Conflicts:      python3-dnf-plugins-core < 4.7.0
Packit 02ac962
%endif
Packit c803b8b
Packit 95dcdf9
Provides:       dnf5-command(advisory)
Packit d2b3342
Provides:       dnf5-command(autoremove)
Packit 00bd4e6
Provides:       dnf5-command(check)
Packit d2b3342
Provides:       dnf5-command(check-upgrade)
Packit d2b3342
Provides:       dnf5-command(clean)
Packit 95dcdf9
Provides:       dnf5-command(distro-sync)
Packit 95dcdf9
Provides:       dnf5-command(downgrade)
Packit d2b3342
Provides:       dnf5-command(download)
Packit 95dcdf9
Provides:       dnf5-command(environment)
Packit 95dcdf9
Provides:       dnf5-command(group)
Packit 95dcdf9
Provides:       dnf5-command(history)
Packit 95dcdf9
Provides:       dnf5-command(info)
Packit 95dcdf9
Provides:       dnf5-command(install)
Packit 95dcdf9
Provides:       dnf5-command(leaves)
Packit 95dcdf9
Provides:       dnf5-command(list)
Packit d2b3342
Provides:       dnf5-command(makecache)
Packit 95dcdf9
Provides:       dnf5-command(mark)
Packit 95dcdf9
Provides:       dnf5-command(module)
Packit cf866ef
Provides:       dnf5-command(offline)
Packit 95dcdf9
Provides:       dnf5-command(provides)
Packit 95dcdf9
Provides:       dnf5-command(reinstall)
Packit 95dcdf9
Provides:       dnf5-command(remove)
Packit 95dcdf9
Provides:       dnf5-command(repo)
Packit 95dcdf9
Provides:       dnf5-command(repoquery)
Packit 95dcdf9
Provides:       dnf5-command(search)
Packit 95dcdf9
Provides:       dnf5-command(swap)
Packit cf866ef
Provides:       dnf5-command(system-upgrade)
Packit 95dcdf9
Provides:       dnf5-command(upgrade)
Packit 95dcdf9
Provides:       dnf5-command(versionlock)
Packit d2b3342
Packit d2b3342
532daf7
# ========== build options ==========
532daf7
532daf7
%bcond_without dnf5daemon_client
532daf7
%bcond_without dnf5daemon_server
532daf7
%bcond_without libdnf_cli
532daf7
%bcond_without dnf5
532daf7
%bcond_without dnf5_plugins
532daf7
%bcond_without plugin_actions
Packit 5c256c0
%bcond_without plugin_rhsm
532daf7
%bcond_without python_plugins_loader
532daf7
532daf7
%bcond_without comps
532daf7
%bcond_without modulemd
c30478a
%if 0%{?rhel}
c30478a
%bcond_with    zchunk
c30478a
%else
532daf7
%bcond_without zchunk
c30478a
%endif
Packit cf866ef
%bcond_without systemd
532daf7
532daf7
%bcond_with    html
532daf7
%if 0%{?rhel} == 8
532daf7
%bcond_with    man
532daf7
%else
532daf7
%bcond_without man
532daf7
%endif
532daf7
532daf7
# TODO Go bindings fail to build, disable for now
532daf7
%bcond_with    go
532daf7
%bcond_without perl5
532daf7
%bcond_without python3
532daf7
%bcond_without ruby
532daf7
532daf7
%bcond_with    clang
532daf7
%bcond_with    sanitizers
532daf7
%bcond_without tests
532daf7
%bcond_with    performance_tests
532daf7
%bcond_with    dnf5daemon_tests
532daf7
532daf7
%if %{with clang}
532daf7
    %global toolchain clang
532daf7
%endif
532daf7
532daf7
# ========== versions of dependencies ==========
532daf7
532daf7
%global libmodulemd_version 2.5.0
8f6b168
%global librepo_version 1.15.0
Packit 017fc77
%global libsolv_version 0.7.25
58612ae
%global sqlite_version 3.35.0
532daf7
%global swig_version 4
532daf7
%global zchunk_version 0.9.11
532daf7
532daf7
532daf7
# ========== build requires ==========
532daf7
Packit 3288271
%if 0%{?fedora} > 40 || 0%{?rhel} > 10
Packit 3288271
BuildRequires:  bash-completion-devel
Packit 3288271
%else
532daf7
BuildRequires:  bash-completion
Packit 3288271
%endif
532daf7
BuildRequires:  cmake
532daf7
BuildRequires:  doxygen
532daf7
BuildRequires:  gettext
532daf7
BuildRequires:  pkgconfig(check)
532daf7
BuildRequires:  pkgconfig(fmt)
532daf7
BuildRequires:  pkgconfig(json-c)
532daf7
BuildRequires:  pkgconfig(libcrypto)
532daf7
BuildRequires:  pkgconfig(librepo) >= %{librepo_version}
532daf7
BuildRequires:  pkgconfig(libsolv) >= %{libsolv_version}
532daf7
BuildRequires:  pkgconfig(libsolvext) >= %{libsolv_version}
532daf7
BuildRequires:  pkgconfig(rpm) >= 4.17.0
58612ae
BuildRequires:  pkgconfig(sqlite3) >= %{sqlite_version}
532daf7
BuildRequires:  toml11-static
532daf7
532daf7
%if %{with clang}
532daf7
BuildRequires:  clang
532daf7
%else
Packit c97da15
BuildRequires:  gcc-c++ >= 10.1
532daf7
%endif
532daf7
532daf7
%if %{with tests}
532daf7
BuildRequires:  createrepo_c
532daf7
BuildRequires:  pkgconfig(cppunit)
532daf7
BuildRequires:  rpm-build
532daf7
%endif
532daf7
532daf7
%if %{with comps}
532daf7
BuildRequires:  pkgconfig(libcomps)
532daf7
%endif
532daf7
532daf7
%if %{with modulemd}
532daf7
BuildRequires:  pkgconfig(modulemd-2.0) >= %{libmodulemd_version}
532daf7
%endif
532daf7
532daf7
%if %{with zchunk}
532daf7
BuildRequires:  pkgconfig(zck) >= %{zchunk_version}
532daf7
%endif
532daf7
Packit cf866ef
%if %{with systemd}
Packit cf866ef
BuildRequires:  pkgconfig(sdbus-c++) >= 0.8.1
Packit cf866ef
BuildRequires:  systemd-devel
Packit cf866ef
Packit cf866ef
 # We need to get the SYSTEMD_SYSTEM_UNIT_DIR from
Packit cf866ef
 # /usr/share/pkgconfig/systemd.pc
Packit cf866ef
BuildRequires:  systemd
Packit cf866ef
%endif
Packit cf866ef
532daf7
%if %{with html} || %{with man}
532daf7
BuildRequires:  python3dist(breathe)
532daf7
BuildRequires:  python3dist(sphinx) >= 4.1.2
532daf7
BuildRequires:  python3dist(sphinx-rtd-theme)
532daf7
%endif
532daf7
532daf7
%if %{with sanitizers}
532daf7
# compiler-rt is required by sanitizers in clang
532daf7
BuildRequires:  compiler-rt
532daf7
BuildRequires:  libasan
532daf7
BuildRequires:  liblsan
532daf7
BuildRequires:  libubsan
532daf7
%endif
532daf7
532daf7
%if %{with libdnf_cli}
532daf7
# required for libdnf5-cli
532daf7
BuildRequires:  pkgconfig(smartcols)
532daf7
%endif
532daf7
Packit 4eee55d
%if %{with dnf5_plugins}
Packit 4eee55d
BuildRequires:  libcurl-devel >= 7.62.0
Packit 4eee55d
%endif
Packit 4eee55d
532daf7
%if %{with dnf5daemon_server}
532daf7
# required for dnf5daemon-server
Packit 02249b1
BuildRequires:  pkgconfig(sdbus-c++) >= 0.9.0
532daf7
BuildRequires:  systemd-rpm-macros
532daf7
%if %{with dnf5daemon_tests}
532daf7
BuildRequires:  dbus-daemon
532daf7
BuildRequires:  polkit
532daf7
BuildRequires:  python3-devel
532daf7
BuildRequires:  python3dist(dbus-python)
532daf7
%endif
532daf7
%endif
532daf7
Packit 5c256c0
%if %{with plugin_rhsm}
Packit 5c256c0
BuildRequires:  pkgconfig(librhsm) >= 0.0.3
Packit 5c256c0
BuildRequires:  pkgconfig(glib-2.0) >= 2.44.0
Packit 5c256c0
%endif
Packit 5c256c0
532daf7
# ========== language bindings section ==========
532daf7
532daf7
%if %{with perl5} || %{with ruby} || %{with python3}
532daf7
BuildRequires:  swig >= %{swig_version}
532daf7
%endif
532daf7
532daf7
%if %{with perl5}
532daf7
# required for perl-libdnf5 and perl-libdnf5-cli
532daf7
BuildRequires:  perl-devel
532daf7
BuildRequires:  perl-generators
532daf7
%if %{with tests}
532daf7
BuildRequires:  perl(strict)
532daf7
BuildRequires:  perl(Test::More)
532daf7
BuildRequires:  perl(Test::Exception)
532daf7
BuildRequires:  perl(warnings)
532daf7
%endif
532daf7
%endif
532daf7
532daf7
%if %{with ruby}
532daf7
# required for ruby-libdnf5 and ruby-libdnf5-cli
532daf7
BuildRequires:  pkgconfig(ruby)
532daf7
%if %{with tests}
532daf7
BuildRequires:  rubygem-test-unit
532daf7
%endif
532daf7
%endif
532daf7
532daf7
%if %{with python3}
532daf7
# required for python3-libdnf5 and python3-libdnf5-cli
532daf7
BuildRequires:  python3-devel
532daf7
%endif
532daf7
532daf7
%description
532daf7
DNF5 is a command-line package manager that automates the process of installing,
532daf7
upgrading, configuring, and removing computer programs in a consistent manner.
532daf7
It supports RPM packages, modulemd modules, and comps groups & environments.
532daf7
Packit 4eee55d
%files -f dnf5.lang
532daf7
%{_bindir}/dnf5
5a33b64
%if %{with dnf5_obsoletes_dnf}
Packit c803b8b
%{_bindir}/dnf
Packit c803b8b
%{_bindir}/yum
Packit 02ac962
%endif
b5c968c
b5c968c
# Remove if condition when Fedora 37 is EOL
Packit 1442d75
%if 0%{?fedora} > 37 || 0%{?rhel} > 10
b5c968c
%{_bindir}/microdnf
b5c968c
%endif
b5c968c
532daf7
%dir %{_sysconfdir}/dnf/dnf5-aliases.d
532daf7
%doc %{_sysconfdir}/dnf/dnf5-aliases.d/README
b5c968c
%dir %{_datadir}/dnf5
b5c968c
%dir %{_datadir}/dnf5/aliases.d
Packit 2d74b6c
%{_datadir}/dnf5/aliases.d/compatibility.conf
b5c968c
%dir %{_libdir}/dnf5
b5c968c
%dir %{_libdir}/dnf5/plugins
Packit 3288271
%dir %{_datadir}/dnf5/dnf5-plugins
Packit 3288271
%dir %{_sysconfdir}/dnf/dnf5-plugins
532daf7
%doc %{_libdir}/dnf5/plugins/README
c26f320
%dir %{_libdir}/libdnf5/plugins
532daf7
%dir %{_datadir}/bash-completion/
532daf7
%dir %{_datadir}/bash-completion/completions/
Packit 2d74b6c
%{_datadir}/bash-completion/completions/dnf*
b5c968c
%dir %{_prefix}/lib/sysimage/dnf
b5c968c
%verify(not md5 size mtime) %ghost %{_prefix}/lib/sysimage/dnf/*
532daf7
%license COPYING.md
532daf7
%license gpl-2.0.txt
532daf7
%{_mandir}/man8/dnf5.8.*
Packit 2d74b6c
%if %{with dnf5_obsoletes_dnf}
Packit 2d74b6c
%{_mandir}/man8/dnf.8.*
Packit 2d74b6c
%endif
Packit 2d74b6c
%{_mandir}/man8/dnf*-advisory.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-autoremove.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-check.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-check-upgrade.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-clean.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-distro-sync.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-downgrade.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-download.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-environment.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-group.8.*
c26f320
# TODO(jkolarik): history is not ready yet
Packit 2d74b6c
# %%{_mandir}/man8/dnf*-history.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-info.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-install.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-leaves.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-list.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-makecache.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-mark.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-module.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-offline.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-provides.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-reinstall.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-remove.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-repo.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-repoquery.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-search.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-swap.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-system-upgrade.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-upgrade.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-versionlock.8.*
Packit 2d74b6c
%{_mandir}/man7/dnf*-aliases.7.*
Packit 2d74b6c
%{_mandir}/man7/dnf*-caching.7.*
Packit 2d74b6c
%{_mandir}/man7/dnf*-comps.7.*
c26f320
# TODO(jkolarik): filtering is not ready yet
Packit 2d74b6c
# %%{_mandir}/man7/dnf*-filtering.7.*
Packit 2d74b6c
%{_mandir}/man7/dnf*-forcearch.7.*
Packit 2d74b6c
%{_mandir}/man7/dnf*-installroot.7.*
c26f320
# TODO(jkolarik): modularity is not ready yet
Packit 2d74b6c
# %%{_mandir}/man7/dnf*-modularity.7.*
Packit 2d74b6c
%{_mandir}/man7/dnf*-specs.7.*
Packit 2d74b6c
%{_mandir}/man5/dnf*.conf.5.*
Packit 2d74b6c
%{_mandir}/man5/dnf*.conf-todo.5.*
Packit 2d74b6c
%{_mandir}/man5/dnf*.conf-deprecated.5.*
532daf7
Packit cf866ef
%if %{with systemd}
Packit cf866ef
%{_unitdir}/dnf5-offline-transaction.service
Packit cf866ef
%{_unitdir}/dnf5-offline-transaction-cleanup.service
Packit cf866ef
%{_unitdir}/system-update.target.wants/dnf5-offline-transaction.service
Packit cf866ef
%endif
Packit cf866ef
532daf7
# ========== libdnf5 ==========
532daf7
%package -n libdnf5
532daf7
Summary:        Package management library
532daf7
License:        LGPL-2.1-or-later
532daf7
#Requires:       libmodulemd{?_isa} >= {libmodulemd_version}
532daf7
Requires:       libsolv%{?_isa} >= %{libsolv_version}
532daf7
Requires:       librepo%{?_isa} >= %{librepo_version}
58612ae
Requires:       sqlite-libs%{?_isa} >= %{sqlite_version}
5a33b64
%if %{with dnf5_obsoletes_dnf}
Packit 2d74b6c
Conflicts:      dnf-data < 4.20.0
Packit 02ac962
%endif
532daf7
532daf7
%description -n libdnf5
532daf7
Package management library.
532daf7
Packit 4eee55d
%files -n libdnf5 -f libdnf5.lang
5a33b64
%if %{with dnf5_obsoletes_dnf}
Packit c803b8b
%config(noreplace) %{_sysconfdir}/dnf/dnf.conf
Packit c803b8b
%dir %{_sysconfdir}/dnf/vars
Packit c803b8b
%dir %{_sysconfdir}/dnf/protected.d
0a978e2
%else
0a978e2
%exclude %{_sysconfdir}/dnf/dnf.conf
Packit 02ac962
%endif
Packit a447818
%dir %{_datadir}/dnf5/libdnf.conf.d
Packit a447818
%dir %{_sysconfdir}/dnf/libdnf5.conf.d
Packit a447818
%dir %{_datadir}/dnf5/repos.override.d
Packit a447818
%dir %{_sysconfdir}/dnf/repos.override.d
Packit 1442d75
%dir %{_sysconfdir}/dnf/libdnf5-plugins
Packit a447818
%dir %{_datadir}/dnf5/repos.d
Packit a447818
%dir %{_datadir}/dnf5/vars.d
532daf7
%dir %{_libdir}/libdnf5
Packit 2d74b6c
%{_libdir}/libdnf5.so.2*
532daf7
%license lgpl-2.1.txt
Packit af48071
%{_var}/cache/libdnf5/
532daf7
532daf7
# ========== libdnf5-cli ==========
532daf7
532daf7
%if %{with libdnf_cli}
532daf7
%package -n libdnf5-cli
532daf7
Summary:        Library for working with a terminal in a command-line package manager
532daf7
License:        LGPL-2.1-or-later
532daf7
Requires:       libdnf5%{?_isa} = %{version}-%{release}
532daf7
532daf7
%description -n libdnf5-cli
532daf7
Library for working with a terminal in a command-line package manager.
532daf7
Packit 4eee55d
%files -n libdnf5-cli -f libdnf5-cli.lang
Packit 2d74b6c
%{_libdir}/libdnf5-cli.so.2*
532daf7
%license COPYING.md
532daf7
%license lgpl-2.1.txt
532daf7
%endif
532daf7
8f6b168
# ========== dnf5-devel ==========
8f6b168
8f6b168
%package -n dnf5-devel
8f6b168
Summary:        Development files for dnf5
8f6b168
License:        LGPL-2.1-or-later
8f6b168
Requires:       dnf5%{?_isa} = %{version}-%{release}
8f6b168
Requires:       libdnf5-devel%{?_isa} = %{version}-%{release}
8f6b168
Requires:       libdnf5-cli-devel%{?_isa} = %{version}-%{release}
8f6b168
8f6b168
%description -n dnf5-devel
Packit c97da15
Development files for dnf5.
8f6b168
8f6b168
%files -n dnf5-devel
8f6b168
%{_includedir}/dnf5/
8f6b168
%license COPYING.md
8f6b168
%license lgpl-2.1.txt
8f6b168
532daf7
532daf7
# ========== libdnf5-devel ==========
532daf7
532daf7
%package -n libdnf5-devel
532daf7
Summary:        Development files for libdnf
532daf7
License:        LGPL-2.1-or-later
532daf7
Requires:       libdnf5%{?_isa} = %{version}-%{release}
532daf7
Requires:       libsolv-devel%{?_isa} >= %{libsolv_version}
532daf7
532daf7
%description -n libdnf5-devel
532daf7
Development files for libdnf.
532daf7
532daf7
%files -n libdnf5-devel
Packit af48071
%{_includedir}/libdnf5/
532daf7
%dir %{_libdir}/libdnf5
532daf7
%{_libdir}/libdnf5.so
Packit 20f482a
%{_libdir}/pkgconfig/libdnf5.pc
532daf7
%license COPYING.md
532daf7
%license lgpl-2.1.txt
532daf7
532daf7
532daf7
# ========== libdnf5-cli-devel ==========
532daf7
532daf7
%package -n libdnf5-cli-devel
532daf7
Summary:        Development files for libdnf5-cli
532daf7
License:        LGPL-2.1-or-later
532daf7
Requires:       libdnf5-cli%{?_isa} = %{version}-%{release}
532daf7
532daf7
%description -n libdnf5-cli-devel
532daf7
Development files for libdnf5-cli.
532daf7
532daf7
%files -n libdnf5-cli-devel
Packit af48071
%{_includedir}/libdnf5-cli/
Packit af48071
%{_libdir}/libdnf5-cli.so
Packit af48071
%{_libdir}/pkgconfig/libdnf5-cli.pc
532daf7
%license COPYING.md
532daf7
%license lgpl-2.1.txt
532daf7
532daf7
532daf7
# ========== perl-libdnf5 ==========
532daf7
532daf7
%if %{with perl5}
532daf7
%package -n perl-libdnf5
532daf7
Summary:        Perl 5 bindings for the libdnf library
532daf7
License:        LGPL-2.1-or-later
532daf7
Requires:       libdnf5%{?_isa} = %{version}-%{release}
532daf7
532daf7
532daf7
%description -n perl-libdnf5
532daf7
Perl 5 bindings for the libdnf library.
532daf7
532daf7
%files -n perl-libdnf5
532daf7
%{perl_vendorarch}/libdnf5
532daf7
%{perl_vendorarch}/auto/libdnf5
532daf7
%license COPYING.md
532daf7
%license lgpl-2.1.txt
532daf7
%endif
532daf7
532daf7
532daf7
# ========== perl-libdnf5-cli ==========
532daf7
532daf7
%if %{with perl5} && %{with libdnf_cli}
532daf7
%package -n perl-libdnf5-cli
532daf7
Summary:        Perl 5 bindings for the libdnf5-cli library
532daf7
License:        LGPL-2.1-or-later
532daf7
Requires:       libdnf5-cli%{?_isa} = %{version}-%{release}
532daf7
532daf7
532daf7
%description -n perl-libdnf5-cli
532daf7
Perl 5 bindings for the libdnf5-cli library.
532daf7
532daf7
%files -n perl-libdnf5-cli
532daf7
%{perl_vendorarch}/libdnf5_cli
532daf7
%{perl_vendorarch}/auto/libdnf5_cli
532daf7
%license COPYING.md
532daf7
%license lgpl-2.1.txt
532daf7
%endif
532daf7
532daf7
532daf7
# ========== python3-libdnf5 ==========
532daf7
532daf7
%if %{with python3}
532daf7
%package -n python3-libdnf5
532daf7
%{?python_provide:%python_provide python3-libdnf}
532daf7
Summary:        Python 3 bindings for the libdnf library
532daf7
License:        LGPL-2.1-or-later
532daf7
Requires:       libdnf5%{?_isa} = %{version}-%{release}
532daf7
532daf7
%description -n python3-libdnf5
532daf7
Python 3 bindings for the libdnf library.
532daf7
532daf7
%files -n python3-libdnf5
532daf7
%{python3_sitearch}/libdnf5
58612ae
%{python3_sitearch}/libdnf5-*.dist-info
532daf7
%license COPYING.md
532daf7
%license lgpl-2.1.txt
532daf7
%endif
532daf7
532daf7
532daf7
# ========== python3-libdnf5-cli ==========
532daf7
532daf7
%if %{with python3} && %{with libdnf_cli}
532daf7
%package -n python3-libdnf5-cli
532daf7
%{?python_provide:%python_provide python3-libdnf5-cli}
532daf7
Summary:        Python 3 bindings for the libdnf5-cli library
532daf7
License:        LGPL-2.1-or-later
532daf7
Requires:       libdnf5-cli%{?_isa} = %{version}-%{release}
532daf7
532daf7
%description -n python3-libdnf5-cli
532daf7
Python 3 bindings for the libdnf5-cli library.
532daf7
532daf7
%files -n python3-libdnf5-cli
532daf7
%{python3_sitearch}/libdnf5_cli
58612ae
%{python3_sitearch}/libdnf5_cli-*.dist-info
532daf7
%license COPYING.md
532daf7
%license lgpl-2.1.txt
532daf7
%endif
532daf7
532daf7
532daf7
# ========== ruby-libdnf5 ==========
532daf7
532daf7
%if %{with ruby}
532daf7
%package -n ruby-libdnf5
532daf7
Summary:        Ruby bindings for the libdnf library
532daf7
License:        LGPL-2.1-or-later
532daf7
Provides:       ruby(libdnf) = %{version}-%{release}
532daf7
Requires:       libdnf5%{?_isa} = %{version}-%{release}
532daf7
Requires:       ruby(release)
532daf7
532daf7
%description -n ruby-libdnf5
532daf7
Ruby bindings for the libdnf library.
532daf7
532daf7
%files -n ruby-libdnf5
532daf7
%{ruby_vendorarchdir}/libdnf5
532daf7
%license COPYING.md
532daf7
%license lgpl-2.1.txt
532daf7
%endif
532daf7
532daf7
532daf7
# ========== ruby-libdnf5-cli ==========
532daf7
532daf7
%if %{with ruby} && %{with libdnf_cli}
532daf7
%package -n ruby-libdnf5-cli
532daf7
Summary:        Ruby bindings for the libdnf5-cli library
532daf7
License:        LGPL-2.1-or-later
532daf7
Provides:       ruby(libdnf_cli) = %{version}-%{release}
532daf7
Requires:       libdnf5-cli%{?_isa} = %{version}-%{release}
532daf7
Requires:       ruby(release)
532daf7
532daf7
%description -n ruby-libdnf5-cli
532daf7
Ruby bindings for the libdnf5-cli library.
532daf7
532daf7
%files -n ruby-libdnf5-cli
532daf7
%{ruby_vendorarchdir}/libdnf5_cli
532daf7
%license COPYING.md
532daf7
%license lgpl-2.1.txt
532daf7
%endif
532daf7
532daf7
532daf7
# ========== libdnf5-plugin-actions ==========
532daf7
532daf7
%if %{with plugin_actions}
532daf7
%package -n libdnf5-plugin-actions
Packit af48071
Summary:        Libdnf5 plugin that allows to run actions (external executables) on hooks
532daf7
License:        LGPL-2.1-or-later
532daf7
Requires:       libdnf5%{?_isa} = %{version}-%{release}
532daf7
532daf7
%description -n libdnf5-plugin-actions
Packit af48071
Libdnf5 plugin that allows to run actions (external executables) on hooks.
532daf7
Packit 4eee55d
%files -n libdnf5-plugin-actions -f libdnf5-plugin-actions.lang
532daf7
%{_libdir}/libdnf5/plugins/actions.*
Packit 1442d75
%config %{_sysconfdir}/dnf/libdnf5-plugins/actions.conf
Packit 1442d75
%dir %{_sysconfdir}/dnf/libdnf5-plugins/actions.d
Packit 1442d75
%{_mandir}/man8/libdnf5-actions.8.*
532daf7
%endif
532daf7
532daf7
Packit 5c256c0
# ========== libdnf5-plugin-plugin_rhsm ==========
Packit 5c256c0
Packit 5c256c0
%if %{with plugin_rhsm}
Packit 5c256c0
%package -n libdnf5-plugin-rhsm
Packit 5c256c0
Summary:        Libdnf5 rhsm (Red Hat Subscription Manager) plugin
Packit 5c256c0
License:        LGPL-2.1-or-later
Packit 5c256c0
Requires:       libdnf5%{?_isa} = %{version}-%{release}
Packit 5c256c0
Packit 5c256c0
%description -n libdnf5-plugin-rhsm
Packit 5c256c0
Libdnf5 plugin with basic support for Red Hat subscriptions.
Packit 5c256c0
Synchronizes the the enrollment with the vendor system. This can change
Packit 5c256c0
the contents of the repositories configuration files according
Packit 5c256c0
to the subscription levels.
Packit 5c256c0
Packit 4eee55d
%files -n libdnf5-plugin-rhsm -f libdnf5-plugin-rhsm.lang
Packit 5c256c0
%{_libdir}/libdnf5/plugins/rhsm.*
Packit 5c256c0
%config %{_sysconfdir}/dnf/libdnf5-plugins/rhsm.conf
Packit 5c256c0
%endif
Packit 5c256c0
Packit 5c256c0
532daf7
# ========== python3-libdnf5-plugins-loader ==========
532daf7
532daf7
%if %{with python_plugins_loader}
532daf7
%package -n python3-libdnf5-python-plugins-loader
Packit af48071
Summary:        Libdnf5 plugin that allows loading Python plugins
532daf7
License:        LGPL-2.1-or-later
532daf7
Requires:       libdnf5%{?_isa} = %{version}-%{release}
532daf7
Requires:       python3-libdnf5%{?_isa} = %{version}-%{release}
532daf7
532daf7
%description -n python3-libdnf5-python-plugins-loader
Packit af48071
Libdnf5 plugin that allows loading Python plugins.
532daf7
532daf7
%files -n python3-libdnf5-python-plugins-loader
532daf7
%{_libdir}/libdnf5/plugins/python_plugins_loader.*
532daf7
%dir %{python3_sitelib}/libdnf_plugins/
532daf7
%doc %{python3_sitelib}/libdnf_plugins/README
532daf7
%endif
532daf7
532daf7
532daf7
# ========== dnf5daemon-client ==========
532daf7
532daf7
%if %{with dnf5daemon_client}
532daf7
%package -n dnf5daemon-client
532daf7
Summary:        Command-line interface for dnf5daemon-server
532daf7
License:        GPL-2.0-or-later
532daf7
Requires:       libdnf5%{?_isa} = %{version}-%{release}
532daf7
Requires:       libdnf5-cli%{?_isa} = %{version}-%{release}
532daf7
Requires:       dnf5daemon-server
532daf7
532daf7
%description -n dnf5daemon-client
532daf7
Command-line interface for dnf5daemon-server.
532daf7
Packit 4eee55d
%files -n dnf5daemon-client -f dnf5daemon-client.lang
532daf7
%{_bindir}/dnf5daemon-client
532daf7
%license COPYING.md
532daf7
%license gpl-2.0.txt
532daf7
%{_mandir}/man8/dnf5daemon-client.8.*
532daf7
%endif
532daf7
532daf7
532daf7
# ========== dnf5daemon-server ==========
532daf7
532daf7
%if %{with dnf5daemon_server}
532daf7
%package -n dnf5daemon-server
532daf7
Summary:        Package management service with a DBus interface
532daf7
License:        GPL-2.0-or-later
532daf7
Requires:       libdnf5%{?_isa} = %{version}-%{release}
532daf7
Requires:       libdnf5-cli%{?_isa} = %{version}-%{release}
532daf7
Requires:       dbus
532daf7
Requires:       polkit
5a33b64
%if %{without dnf5_obsoletes_dnf}
Packit 02ac962
Requires:       dnf-data
Packit 02ac962
%endif
532daf7
532daf7
%description -n dnf5daemon-server
532daf7
Package management service with a DBus interface.
532daf7
532daf7
%post -n dnf5daemon-server
532daf7
%systemd_post dnf5daemon-server.service
532daf7
532daf7
%preun -n dnf5daemon-server
532daf7
%systemd_preun dnf5daemon-server.service
532daf7
532daf7
%postun -n dnf5daemon-server
532daf7
%systemd_postun_with_restart dnf5daemon-server.service
532daf7
Packit 4eee55d
%files -n dnf5daemon-server -f dnf5daemon-server.lang
532daf7
%{_sbindir}/dnf5daemon-server
532daf7
%{_unitdir}/dnf5daemon-server.service
Packit 2d74b6c
%{_datadir}/dbus-1/system.d/org.rpm.dnf.v0.conf
532daf7
%{_datadir}/dbus-1/system-services/org.rpm.dnf.v0.service
532daf7
%{_datadir}/dbus-1/interfaces/org.rpm.dnf.v0.*.xml
532daf7
%{_datadir}/polkit-1/actions/org.rpm.dnf.v0.policy
532daf7
%license COPYING.md
532daf7
%license gpl-2.0.txt
532daf7
%{_mandir}/man8/dnf5daemon-server.8.*
532daf7
%{_mandir}/man8/dnf5daemon-dbus-api.8.*
532daf7
%endif
532daf7
532daf7
532daf7
# ========== dnf5-plugins ==========
532daf7
%if %{with dnf5_plugins}
Packit 3288271
532daf7
%package -n dnf5-plugins
532daf7
Summary:        Plugins for dnf5
532daf7
License:        LGPL-2.1-or-later
532daf7
Requires:       dnf5%{?_isa} = %{version}-%{release}
Packit 4eee55d
Requires:       libcurl%{?_isa} >= 7.62.0
Packit c418319
Requires:       libdnf5-cli%{?_isa} = %{version}-%{release}
Packit d2b3342
Provides:       dnf5-command(builddep)
Packit d2b3342
Provides:       dnf5-command(changelog)
Packit 4eee55d
Provides:       dnf5-command(config-manager)
Packit d2b3342
Provides:       dnf5-command(copr)
Packit 4eee55d
Provides:       dnf5-command(needs-restarting)
Packit d2b3342
Provides:       dnf5-command(repoclosure)
532daf7
532daf7
%description -n dnf5-plugins
Packit 4eee55d
Core DNF5 plugins that enhance dnf5 with builddep, changelog,
Packit 4eee55d
config-manager, copr, and repoclosure commands.
532daf7
Packit 4eee55d
%files -n dnf5-plugins -f dnf5-plugin-builddep.lang -f dnf5-plugin-changelog.lang -f dnf5-plugin-config-manager.lang -f dnf5-plugin-copr.lang -f dnf5-plugin-needs-restarting.lang -f dnf5-plugin-repoclosure.lang
Packit 3288271
%{_libdir}/dnf5/plugins/builddep_cmd_plugin.so
Packit 3288271
%{_libdir}/dnf5/plugins/changelog_cmd_plugin.so
Packit 3288271
%{_libdir}/dnf5/plugins/config-manager_cmd_plugin.so
Packit 3288271
%{_libdir}/dnf5/plugins/copr_cmd_plugin.so
Packit 3288271
%{_libdir}/dnf5/plugins/needs_restarting_cmd_plugin.so
Packit 3288271
%{_libdir}/dnf5/plugins/repoclosure_cmd_plugin.so
Packit 2d74b6c
%{_mandir}/man8/dnf*-builddep.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-changelog.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-config-manager.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-copr.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-needs-restarting.8.*
Packit 2d74b6c
%{_mandir}/man8/dnf*-repoclosure.8.*
Packit 3288271
Packit 3288271
Packit 3288271
# ========== dnf5-automatic plugin ==========
Packit 3288271
Packit 3288271
%package plugin-automatic
Packit 3288271
Summary:        Package manager - automated upgrades
Packit 3288271
License:        LGPL-2.1-or-later
Packit 3288271
Requires:       dnf5%{?_isa} = %{version}-%{release}
Packit 3288271
Requires:       libcurl-full%{?_isa}
Packit 3288271
Provides:       dnf5-command(automatic)
Packit 3288271
%if %{with dnf5_obsoletes_dnf}
Packit 3288271
Provides:       dnf-automatic = %{version}-%{release}
Packit 3288271
Obsoletes:      dnf-automatic < 5
Packit 3288271
%else
Packit 3288271
Conflicts:      dnf-automatic < 5
Packit 3288271
%endif
Packit 3288271
Packit 3288271
%description plugin-automatic
Packit 3288271
Alternative command-line interface "dnf upgrade" suitable to be executed
Packit 3288271
automatically and regularly from systemd timers, cron jobs or similar.
Packit 3288271
Packit 3288271
%files plugin-automatic -f dnf5-plugin-automatic.lang
Packit 3288271
%ghost %{_sysconfdir}/motd.d/dnf5-automatic
Packit 3288271
%{_libdir}/dnf5/plugins/automatic_cmd_plugin.so
Packit 841aece
%{_datadir}/dnf5/dnf5-plugins/automatic.conf
Packit 2d74b6c
%{_mandir}/man8/dnf*-automatic.8.*
Packit 3288271
%{_unitdir}/dnf5-automatic.service
Packit 3288271
%{_unitdir}/dnf5-automatic.timer
Packit 3288271
%{_unitdir}/dnf-automatic.service
Packit 3288271
%{_unitdir}/dnf-automatic.timer
Packit 3288271
%if %{with dnf5_obsoletes_dnf}
Packit 3288271
%{_bindir}/dnf-automatic
Packit 3288271
%else
Packit 3288271
%exclude %{_bindir}/dnf-automatic
Packit 3288271
%endif
Packit 3288271
532daf7
%endif
532daf7
532daf7
532daf7
# ========== unpack, build, check & install ==========
532daf7
532daf7
%prep
532daf7
%autosetup -p1 -n dnf5-%{version}
532daf7
532daf7
532daf7
%build
532daf7
%cmake \
532daf7
    -DPACKAGE_VERSION=%{version} \
532daf7
    -DPERL_INSTALLDIRS=vendor \
532daf7
    \
532daf7
    -DWITH_DNF5DAEMON_CLIENT=%{?with_dnf5daemon_client:ON}%{!?with_dnf5daemon_client:OFF} \
532daf7
    -DWITH_DNF5DAEMON_SERVER=%{?with_dnf5daemon_server:ON}%{!?with_dnf5daemon_server:OFF} \
532daf7
    -DWITH_LIBDNF5_CLI=%{?with_libdnf_cli:ON}%{!?with_libdnf_cli:OFF} \
532daf7
    -DWITH_DNF5=%{?with_dnf5:ON}%{!?with_dnf5:OFF} \
532daf7
    -DWITH_PLUGIN_ACTIONS=%{?with_plugin_actions:ON}%{!?with_plugin_actions:OFF} \
Packit 604ed13
    -DWITH_PLUGIN_RHSM=%{?with_plugin_rhsm:ON}%{!?with_plugin_rhsm:OFF} \
532daf7
    -DWITH_PYTHON_PLUGINS_LOADER=%{?with_python_plugins_loader:ON}%{!?with_python_plugins_loader:OFF} \
532daf7
    \
532daf7
    -DWITH_COMPS=%{?with_comps:ON}%{!?with_comps:OFF} \
532daf7
    -DWITH_MODULEMD=%{?with_modulemd:ON}%{!?with_modulemd:OFF} \
532daf7
    -DWITH_ZCHUNK=%{?with_zchunk:ON}%{!?with_zchunk:OFF} \
Packit cf866ef
    -DWITH_SYSTEMD=%{?with_systemd:ON}%{!?with_systemd:OFF} \
532daf7
    \
532daf7
    -DWITH_HTML=%{?with_html:ON}%{!?with_html:OFF} \
532daf7
    -DWITH_MAN=%{?with_man:ON}%{!?with_man:OFF} \
532daf7
    \
532daf7
    -DWITH_GO=%{?with_go:ON}%{!?with_go:OFF} \
532daf7
    -DWITH_PERL5=%{?with_perl5:ON}%{!?with_perl5:OFF} \
532daf7
    -DWITH_PYTHON3=%{?with_python3:ON}%{!?with_python3:OFF} \
532daf7
    -DWITH_RUBY=%{?with_ruby:ON}%{!?with_ruby:OFF} \
532daf7
    \
532daf7
    -DWITH_SANITIZERS=%{?with_sanitizers:ON}%{!?with_sanitizers:OFF} \
532daf7
    -DWITH_TESTS=%{?with_tests:ON}%{!?with_tests:OFF} \
532daf7
    -DWITH_PERFORMANCE_TESTS=%{?with_performance_tests:ON}%{!?with_performance_tests:OFF} \
532daf7
    -DWITH_DNF5DAEMON_TESTS=%{?with_dnf5daemon_tests:ON}%{!?with_dnf5daemon_tests:OFF} \
532daf7
    \
Packit 2d74b6c
    -DVERSION_PRIME=%{project_version_prime} \
Packit 2d74b6c
    -DVERSION_MAJOR=%{project_version_major} \
Packit 2d74b6c
    -DVERSION_MINOR=%{project_version_minor} \
Packit 2d74b6c
    -DVERSION_MICRO=%{project_version_micro}
532daf7
%cmake_build
532daf7
%if %{with man}
532daf7
    %cmake_build --target doc-man
532daf7
%endif
532daf7
532daf7
532daf7
%check
532daf7
%if %{with tests}
532daf7
    %ctest
532daf7
%endif
532daf7
532daf7
532daf7
%install
532daf7
%cmake_install
532daf7
5a33b64
%if %{with dnf5_obsoletes_dnf}
Packit c803b8b
ln -sr %{buildroot}%{_bindir}/dnf5 %{buildroot}%{_bindir}/dnf
Packit c803b8b
ln -sr %{buildroot}%{_bindir}/dnf5 %{buildroot}%{_bindir}/yum
Packit cf866ef
ln -sr %{buildroot}%{_datadir}/bash-completion/completions/dnf5 %{buildroot}%{_datadir}/bash-completion/completions/dnf
Packit 2d74b6c
for file in %{buildroot}%{_mandir}/man[578]/dnf5[-.]*; do
Packit 2d74b6c
    dir=$(dirname $file)
Packit 2d74b6c
    filename=$(basename $file)
Packit 2d74b6c
    ln -sr $file $dir/${filename/dnf5/dnf}
Packit 2d74b6c
done
Packit 02ac962
%endif
Packit c803b8b
b5c968c
# own dirs and files that dnf5 creates on runtime
b5c968c
mkdir -p %{buildroot}%{_prefix}/lib/sysimage/dnf
b5c968c
for files in \
b5c968c
    groups.toml modules.toml nevras.toml packages.toml \
b5c968c
    system.toml transaction_history.sqlite \
b5c968c
    transaction_history.sqlite-shm \
b5c968c
    transaction_history.sqlite-wal userinstalled.toml
b5c968c
do
b5c968c
    touch %{buildroot}%{_prefix}/lib/sysimage/dnf/$files
b5c968c
done
b5c968c
b5c968c
# Remove if condition when Fedora 37 is EOL
Packit 1442d75
%if 0%{?fedora} > 37 || 0%{?rhel} > 10
b5c968c
ln -sr %{buildroot}%{_bindir}/dnf5 %{buildroot}%{_bindir}/microdnf
b5c968c
%endif
532daf7
Packit cf866ef
%if %{with systemd}
Packit cf866ef
mkdir -p %{buildroot}%{_unitdir}/system-update.target.wants/
Packit cf866ef
pushd %{buildroot}%{_unitdir}/system-update.target.wants/
Packit cf866ef
  ln -sr ../dnf5-offline-transaction.service
Packit cf866ef
popd
Packit cf866ef
%endif
Packit cf866ef
Packit 4eee55d
%find_lang dnf5
Packit 3288271
%find_lang dnf5-plugin-automatic
Packit 4eee55d
%find_lang dnf5-plugin-builddep
Packit 4eee55d
%find_lang dnf5-plugin-changelog
Packit 4eee55d
%find_lang dnf5-plugin-config-manager
Packit 4eee55d
%find_lang dnf5-plugin-copr
Packit 4eee55d
%find_lang dnf5-plugin-needs-restarting
Packit 4eee55d
%find_lang dnf5-plugin-repoclosure
Packit 4eee55d
%find_lang dnf5daemon-client
Packit 4eee55d
%find_lang dnf5daemon-server
Packit 4eee55d
%find_lang libdnf5
Packit 4eee55d
%find_lang libdnf5-cli
Packit 4eee55d
%find_lang libdnf5-plugin-actions
Packit 4eee55d
%find_lang libdnf5-plugin-rhsm
532daf7
Packit 4eee55d
%ldconfig_scriptlets
532daf7
532daf7
%changelog
604f8d2
* Wed Jun 12 2024 Jitka Plesnikova <jplesnik@redhat.com> - 5.2.3.0-3
604f8d2
- Perl 5.40 rebuild
604f8d2
ea779ed
* Sun Jun 09 2024 Python Maint <python-maint@redhat.com> - 5.2.3.0-2
ea779ed
- Rebuilt for Python 3.13
ea779ed
Packit 8dd063a
* Mon Jun 03 2024 Packit <hello@packit.dev> - 5.2.3.0-1
Packit 8dd063a
- Update translations from weblate
Packit 8dd063a
- const: Shared constant defining RPM transaction lock file
Packit 8dd063a
- main: Implement checking of privileges before executing commands
Packit 8dd063a
- exception: Add new exception for user insufficient privileges
Packit 8dd063a
- locker: Move to public API
Packit 8dd063a
- distro-sync: Add downloadonly option
Packit 8dd063a
- commands: Fix using store option
Packit 8dd063a
- Enhance warning about RPMs that were not validate by RPM
Packit 8dd063a
Packit 841aece
* Tue May 28 2024 Packit <hello@packit.dev> - 5.2.2.0-1
Packit 841aece
- Vars::substitute: fix use-out-of-scope leaks
Packit 841aece
- docs: correct the default for pluginconfpath
Packit 841aece
- cli: Add skipped packages to the transaction table
Packit 841aece
- i18n: Improve formatting an error message for multiple streams
Packit 841aece
- Add/fix documentation for rpm::PackageQuery methods
Packit 841aece
- i18n: Unwind "No {} to remove for argument: {}"
Packit 841aece
- `history list`: count also groups and envs in total `Altered`
Packit 841aece
- Fix typo in translatable string
Packit 841aece
- [libdnf5] Actions plugin: Add hooks `repos_configured`, `repos_loaded`, `pre/post_add_cmdline_packages`
Packit 841aece
- Option `--providers-of` doesn't require available repos
Packit 841aece
- Improve docs regarding the keepcache option and download command
Packit 841aece
- needs_restarting: Fix invalid reference usage
Packit 841aece
- download: add `--source` alias for `--srpm`
Packit 841aece
- automatic: Fix documentation and ship config file
Packit 841aece
- fix: quote `dnf5-command({})' in command suggestion when plugin not found
Packit 841aece
- i18n: Unwind "Cannot {} package \"{}\"" message
Packit 841aece
- base: Add repository to solver problem messages
Packit 841aece
- conf: New classes for append options
Packit 841aece
- docs: Document changes to repoinfo and repolist
Packit 841aece
- dnf5daemon: The buildtime attribute has been added to the package_attrs option
Packit 841aece
Packit b62d552
* Mon May 06 2024 Packit <hello@packit.dev> - 5.2.1.0-1
Packit b62d552
- Update translations from weblate
Packit b62d552
- bindings: Tests for using struct attributes in Python
Packit b62d552
- bindings: Add Python attributes for structs
Packit b62d552
- docs: Fix diff link on the dnf 5.2.0.0 changes page
Packit b62d552
- docs: Add diff with API changes in dnf5-5.2.0.0
Packit b62d552
- docs: Add a page about public API changes in dnf 5.2.0.0
Packit b62d552
- system-upgrade: fix missing \n before transaction test
Packit b62d552
- system-upgrade: comment to clarify progress bar logic
Packit b62d552
- system-upgrade: drop [[maybe_unused]] from reboot() arg
Packit b62d552
- system-upgrade: fix progress bars, set transaction description
Packit b62d552
- system-upgrade: adapt to new transaction serialization format
Packit b62d552
- system-upgrade: clean up releasever logic
Packit b62d552
- system-upgrade: fix poweroff_after
Packit b62d552
- copr: the dnf5 copr enable sets CoprRepoPart.enabled = true
Packit b62d552
- Add file search result for repoquery --whatprovides
Packit b62d552
- doc: Add enviroment variables and clarify options for loading the plugins
Packit b62d552
- dnfdaemon: Fix Rpm interface introspection file
Packit b62d552
Packit 2d74b6c
* Wed Apr 24 2024 Packit <hello@packit.dev> - 5.2.0.0-1
Packit 2d74b6c
- Update translations from weblate
Packit 2d74b6c
- [DNF5] `--enable-plugin` and `--disable-pluin`: no match found message
Packit 2d74b6c
- [DNF5] API: Move Context::libdnf5_plugins_enablement to p_impl
Packit 2d74b6c
- spec: Add conflict with the former provider of plugin man pages
Packit 2d74b6c
- spec: Add conflict with the old provider of dnf.conf
Packit 2d74b6c
- [DNF5] Fix: Remove transaction_store_path from public, add getter/setter
Packit 2d74b6c
- [libdnf5 API] Base::get_plugins_info
Packit 2d74b6c
- [libdnf5 plugins] include iplugin.hpp in plugins instead of base.hpp
Packit 2d74b6c
- repo_sack: Treat all repos with solv_repo created as loaded (RhBug:2275530)
Packit 2d74b6c
- [DNF5] API: No inline methods in shared_options.hpp
Packit 2d74b6c
- [DNF5] API: offline::OfflineTransactionState: no inline methods, move cpp
Packit 2d74b6c
- [DNF5] API: Remove unused and buggy RpmTransactionItem class
Packit 2d74b6c
- [DNF5] Command: no inline methods
Packit 2d74b6c
- [DNF5] API: Context: add p_impl, move public vars to p_impl, getters
Packit 2d74b6c
- API: cli::session: no inline methods and public vars in opts classes
Packit 2d74b6c
- API: cli::session::Command: no inline methods
Packit 2d74b6c
- API: add p_impl to cli::session::Session
Packit 2d74b6c
- API: rpm::TransactionCallbacks: no inline methods
Packit 2d74b6c
- API: repo::RepoCallbacks: no inline methods
Packit 2d74b6c
- Prepare for switch of dnf5 in Rawhide
Packit 2d74b6c
- base: Make get_transaction_history unstable
Packit 2d74b6c
- Set `group` reason for packages removed by a group removal
Packit 2d74b6c
- [DNF5] Implement `--enable-plugin` and `--disable-pluin`
Packit 2d74b6c
- [libdnf5 API] Base::enable_disable_plugins
Packit 2d74b6c
- spec: Simplify man page files
Packit 2d74b6c
- Loggers: Fix: Add missing "null_loger.cpp" file
Packit 2d74b6c
- Loggers API: unify, explicit ctors, non-inline methods, use p_impl
Packit 2d74b6c
- doc: Review of DNF4 vs DNF5 CLI and configuration changes
Packit 2d74b6c
- Re-enable clang builds after API changes
Packit 2d74b6c
- Add `--store` option for storing arbitrary transaction
Packit 2d74b6c
- libdnf5::Goal: when adding serialized transaction accept local items
Packit 2d74b6c
- Goal: change `add_serialized_transaction()` to accept path to trans
Packit 2d74b6c
- Add group/env paths for transaction parsing/serializing
Packit 2d74b6c
- base::Transaction: during serialization allow specifying paths
Packit 2d74b6c
- base::Transaction: add `store_comps(...)` method
Packit 2d74b6c
- repo_sack: add stored_transaction repo and its private API
Packit 2d74b6c
- repo: add private API `add_xml_comps(path)`
Packit 2d74b6c
- Generalize logging of `read_group_solvable_from_xml(..)`
Packit 2d74b6c
- Add `environment_no_groups` to `GoalJobSettings`
Packit 2d74b6c
- libdnf5 IPlugin: Pass IPluginData instead of Base to constructor
Packit 2d74b6c
- libdnf5 IPlugin: Use pImpl
Packit 2d74b6c
- libdnf5 IPlugin: Do not use inline methods
Packit 2d74b6c
- dnf5 IPlugin: Do not use inline methods on API
Packit 2d74b6c
- libdnf5 IPlugin: Add argumets description
Packit 2d74b6c
- libdnf5 plugins: New hooks `pre/post_add_cmdline_packages`
Packit 2d74b6c
- libdnf5 plugins: New hook `repos_loaded`
Packit 2d74b6c
- libdnf5 plugins: New hook `repos_configured`
Packit 2d74b6c
- Base: notify_repos_configured and are_repos_configured methods
Packit 2d74b6c
- Fix: implicit conversion changes signedness, unused value
Packit 2d74b6c
- Disable unit tests for Copr dnf5 plugin
Packit 2d74b6c
- dnfdaemon: Document Polit CheckAuthorization call
Packit 2d74b6c
- dnfdaemon: Catch timeout during CheckAuthorization
Packit 2d74b6c
- Not handle compatibility.conf as configuration file
Packit 2d74b6c
- config: add search (se) and info (if) aliases
Packit 2d74b6c
- Improve documentation of repo config directories
Packit 2d74b6c
- Cross reference documentation
Packit 2d74b6c
- Document Repos and Vars Dirs
Packit 2d74b6c
- doc: Unify style and move "Files" section
Packit 2d74b6c
- Document repos configuration overrides
Packit 2d74b6c
- doc: Remove ":" in titles
Packit 2d74b6c
- Bump libdnf5/libdnf5-cli so version
Packit 2d74b6c
- Mark multiple strings for translation
Packit 2d74b6c
- Set locale for dnf5 run
Packit 2d74b6c
- spec: Add missing dnf-config-manager.8.gz file
Packit 2d74b6c
- Generate documentation for ConfigRepo Class
Packit 2d74b6c
- [Doc] Describe denerating repo cache path
Packit 2d74b6c
- dnf5daemon: Make availability case insensitive
Packit 2d74b6c
- dnf5: Drop unneeded severities capitalization
Packit 2d74b6c
- dnf5: Document --available as default for advisory cmd
Packit 2d74b6c
- dnf5daemon-client: Drop unneeded severities capitalization
Packit 2d74b6c
- advisory: filter_severity and filter_type case insensitive
Packit 2d74b6c
- dnfdaemon: Fix and enhance Advisory interface doc
Packit 2d74b6c
- Enable import data from DNF4 for systems without state dir
Packit 2d74b6c
- libdnf5 options: Unify constructors - pass args for storing by value
Packit 2d74b6c
- dnfdaemon: Missing signal registration
Packit 2d74b6c
- doc: config manager plugin: wrap too long lines
Packit 2d74b6c
- doc: document config-manager plugin
Packit 2d74b6c
- Packit: get version from specfile for copr_builds againts main
Packit 2d74b6c
- Update tests to use new `load_repos()` API
Packit 2d74b6c
- Use new load_repos instead of deprecated update_and_load_enabled_repos
Packit 2d74b6c
- Make `libdnf5::repo::Repo::load()` private
Packit 2d74b6c
- Deprecate: `update_and_load_enabled_repos`
Packit 2d74b6c
- RepoSack: add new `load_repos` method
Packit 2d74b6c
- Move update_and_load_repos and fix_group_missing_xml to Impl
Packit 2d74b6c
- Prevent loading plugins for unittests
Packit 2d74b6c
- Respect plugins configuration option for loading plugins
Packit 2d74b6c
- Add pImpl to `libdnf5::LogRouter`
Packit 2d74b6c
- Add pImpl to `libdnf5::MemoryBufferLogger`
Packit 2d74b6c
- Add pImpl to `libdnf5::OptionBinds`
Packit 2d74b6c
- Add pImpl to `libdnf5::OptionBinds::Item`
Packit 2d74b6c
- Add pImpl to `libdnf5::Config`
Packit 2d74b6c
- Add pImpl to `libdnf5::OptionStringList`
Packit 2d74b6c
- OptionStringList: remove assignment operators and move constructor
Packit 2d74b6c
- Add pImpl to `libdnf5::OptionBool`
Packit 2d74b6c
- OptionBool: remove assignment operators and move constructor
Packit 2d74b6c
- Add pImpl to `libdnf5::OptionNumber`
Packit 2d74b6c
- Add pImpl to `libdnf5::OptionPath`
Packit 2d74b6c
- Add pImpl to `libdnf5::OptionString`
Packit 2d74b6c
- libdnf5::OptionEnum: remove template, add pImpl
Packit 2d74b6c
- Add pImpl to `libdnf5::Option`
Packit 2d74b6c
- modules: Report problems with switching module streams
Packit 2d74b6c
- modules: Report switched module streams
Packit 2d74b6c
- modules: Add switching module streams as a possible transaction action
Packit 2d74b6c
- modules: Add replaces and replaced_by to TransactionModule
Packit 2d74b6c
- Add missing info updates alias, to match list command
Packit 2d74b6c
- Update `package_info_sections` not to use `scols_table_print_range`
Packit 2d74b6c
- libdnf-cli: Extract package info printing
Packit 2d74b6c
- ArgumentParser: use p_impl, no inline methods
Packit 2d74b6c
- ArgumentParser:PositionalArg: Unit tests: Support repeating of pos arg
Packit 2d74b6c
- ArgumentParser:PositionalArg: Support repeating of positional argument
Packit 2d74b6c
- Hide/Remove deprecated `libdnf5::repo::Repo` API
Packit 2d74b6c
- Remove deprecated members from `/include/libdnf5/logger/factory.hpp`
Packit 2d74b6c
- Remove deprecated unused function `create_forcearch_option()`
Packit 2d74b6c
- builddep: Don't escape globs, use expand_globs = false
Packit 2d74b6c
- builddep: Don't try to expand globs in pkg specs
Packit 2d74b6c
- libdnf5-cli::output: Use ifaces instead templates. Move code to .cpp files
Packit 2d74b6c
- Interfaces and adapters
Packit 2d74b6c
- module::ModuleStatus: Move to separate header file
Packit 2d74b6c
- comps::PackageType: Move to separate header file
Packit 2d74b6c
- cmp_naevr: Fix: pass by reference
Packit 2d74b6c
- modules: Report module solver problems
Packit 2d74b6c
- Accept SolverProblems for transacion resolve log
Packit 2d74b6c
- modules: Return problems from the module solver
Packit 2d74b6c
- modules: Add a method to process module solver problems
Packit 2d74b6c
- modules: Add a separate set of problem rules for modules
Packit 2d74b6c
- modules: Store the original module context also in the libsolv solvable
Packit 2d74b6c
- modules: Internalize modular repositories
Packit 2d74b6c
- Add pImpl to `libdnf5::repo::RepoCache` and `RepoCacheRemoveStatistics`
Packit 2d74b6c
- Add pImpl to `libdnf5::repo::RepoQuery`
Packit 2d74b6c
- Hide deprecated `libdnf5::base::with_config_file_path` into Impl
Packit 2d74b6c
- Remove deprecated `libdnf5::Base::load_config_from_file`
Packit 2d74b6c
- Move all `libdnf5::Base` members to pImpl
Packit 2d74b6c
- Add pImpl to `libdnf5::rpm::Reldep`
Packit 2d74b6c
- Add pImpl to `libdnf5::rpm::Changelog`
Packit 2d74b6c
- Add pImpl to `libdnf5::rpm::Nevra`
Packit 2d74b6c
- Add pImpl to `libdnf5::rpm::Checksum`
Packit 2d74b6c
- Add pImpl to `libdnf5::rpm::Package`
Packit 2d74b6c
- Adjust code to new rpm::PackageQuery::filter_* methods after the rebase
Packit 2d74b6c
- Add a method accepting std::string for filter_repo_id()
Packit 2d74b6c
- Add a method accepting std::string for filter_location()
Packit 2d74b6c
- Add a method accepting std::string for filter_file()
Packit 2d74b6c
- Add a method accepting std::string for filter_supplements()
Packit 2d74b6c
- Add a method accepting std::string for filter_enhances()
Packit 2d74b6c
- Add a method accepting std::string for filter_suggests()
Packit 2d74b6c
- Add a method accepting std::string for filter_recommends()
Packit 2d74b6c
- Add a method accepting std::string for filter_obsoletes()
Packit 2d74b6c
- Add a method accepting std::string for filter_conflicts()
Packit 2d74b6c
- Add a method accepting std::string for filter_requires()
Packit 2d74b6c
- Add a method accepting std::string for filter_description()
Packit 2d74b6c
- Add a method accepting std::string for filter_summary()
Packit 2d74b6c
- Add a method accepting std::string for filter_url()
Packit 2d74b6c
- Add a method accepting std::string for filter_sourcerpm()
Packit 2d74b6c
- Add a method accepting std::string for filter_nevra()
Packit 2d74b6c
- Add a method accepting std::string for filter_evr()
Packit 2d74b6c
- Add a method accepting std::string for filter_arch()
Packit 2d74b6c
- Add a method accepting std::string for filter_release()
Packit 2d74b6c
- Add a method accepting std::string for filter_version()
Packit 2d74b6c
- Add a method accepting std::string and int for filter_epoch()
Packit 2d74b6c
- Add a method accepting std::string for filter_name()
Packit 2d74b6c
- Add a method accepting std::string for filter_provides()
Packit 2d74b6c
- Extend version to four numbers (5.x.y.z)
Packit 2d74b6c
- Unify smallest version number name
Packit 2d74b6c
- cmake: rename PROJECT_VERSION_* to just VERSION_*
Packit 2d74b6c
- dnf5daemon: Document before_begin / after_complete signals
Packit 2d74b6c
- dnf5daemon: Signals to wrap rpm transaction execution
Packit 2d74b6c
- rpm: New callback to wrap whole rpm transaction
Packit 2d74b6c
- Add pImpl to `libdnf5::module::ModuleProfile`
Packit 2d74b6c
- Add pImpl to `libdnf5::module::ModuleDependency`
Packit 2d74b6c
- Add pImpl to `libdnf5::module::Nsvcap`
Packit 2d74b6c
- Add pImpl to `libdnf5::module::ModuleQuery`
Packit 2d74b6c
- Add pImpl to `libdnf5::comps::EnvironmentQuery`
Packit 2d74b6c
- Add pImpl to `libdnf5::comps::GroupQuery`
Packit 2d74b6c
- Add pImpl to `libdnf5::comps::Environment`
Packit 2d74b6c
- Add pImpl to `libdnf5::comps::Package`
Packit 2d74b6c
- Add pImpl to `libdnf5::comps::Group`
Packit 2d74b6c
- Remove unused `libdnf5::comps::GroupSack`
Packit 2d74b6c
- Remove unused `libdnf5::comps::EnvironmentSack`
Packit 2d74b6c
- Remove unused `libdnf5::comps::Comps`
Packit 2d74b6c
- Add pImpl to `libdnf5::advisory::Advisory`
Packit 2d74b6c
- Add pImpl to `libdnf5::advisory::AdvisoryReference`
Packit 2d74b6c
- Add pImpl to `libdnf5::advisory::AdvisoryCollection`
Packit 2d74b6c
- Add pImpl to `libdnf5::advisory::AdvisoryQuery`
Packit 2d74b6c
- Add pImpl to `libdnf5::rpm::RpmSignature`
Packit 2d74b6c
- Add pImpl to `libdnf5::transaction::Transaction`
Packit 2d74b6c
- Add pImpl to `libdnf5::rpm::KeyInfo`
Packit 2d74b6c
- Add pImpl to `libdnf5::repo::RepoSack`
Packit 2d74b6c
- Add pImpl to `libdnf5::base::SolverProblems`
Packit 2d74b6c
- Add pImpl to `libdnf5::base::LogEvent`
Packit 2d74b6c
- Add pImpl to `libdnf5::ConfigParser`
Packit 2d74b6c
- Add pImpl to `libdnf5::Vars`
Packit 2d74b6c
- Add pImpl to `libdnf5::transaction::TransactionHistory`
Packit 2d74b6c
- Add pImpl to `libdnf5::transaction::Package`
Packit 2d74b6c
- Add pImpl to `libdnf5::transaction::CompsGroup`
Packit 2d74b6c
- Add pImpl to `libdnf5::transaction::CompsEnvironment`
Packit 2d74b6c
- Add pImpl to `libdnf5::transaction::TransactionItem`
Packit 2d74b6c
- Remove several not needed imports
Packit 2d74b6c
- repo: add p_Impl and several needed utility methods
Packit 2d74b6c
- Repo: remove unused `fresh()` and `timestamp` attribute
Packit 2d74b6c
- Add pImpl to `ModuleItem` and remove definitions from header
Packit 2d74b6c
- Add pImpl to `libdnf5::base::transaction_*` classes
Packit 2d74b6c
- Add p_impl to libdnf5::GoalJobSettings and add getters and setters
Packit 2d74b6c
- Add p_impl to libdnf5::ResolveSpecSettings and add getters and setters
Packit 2d74b6c
- dnf5: bash completion: Prefer using "_comp_initialize" with fallback
Packit 2d74b6c
- dnf5: Bash completion: Switch to `_init_completion`
Packit 2d74b6c
- Fix `DISTRO_SYNC_ALL` (distro-sync without arguments, system upgrade)
Packit 2d74b6c
- Support RPMTRANS_FLAG_DEPLOOPS
Packit 2d74b6c
- Give inline methods hidden visibility by default
Packit 2d74b6c
- dnfdaemon: Make only internally used funcs static
Packit 2d74b6c
- dnfdaemon: Enhance Rpm.list() / Rpm.list_fd() documentation
Packit 2d74b6c
- doc: Add example of Rpm.list_fd usage in Python
Packit 2d74b6c
- dnf5daemon-client: Repoquery uses new Rpm:list_fd() API
Packit 2d74b6c
- dnfdaemon: New method list_fd() on Rpm interface
Packit 2d74b6c
- dnfdaemon: Serialize package object to JSON string
Packit 2d74b6c
- dnf5daemon: Handler that return data using UNIX_FD
Packit 2d74b6c
- dnf5daemon: Auxiliary method to write string to fd
Packit 2d74b6c
- dnf5daemon: Move utils functions into dnfdaemon namespace
Packit 2d74b6c
- dnf5daemon: get_session() method for D-Bus services
Packit 2d74b6c
- dnf5daemon-server: Ignore SIGPIPE
Packit 2d74b6c
- Vars: Add unit tests for API methods
Packit 2d74b6c
- Vars::unset: API method for removing variable
Packit 2d74b6c
- dnf5daemon-server/dbus: Install config files into /usr
Packit 2d74b6c
- Fix: libdnf5-cli::output::action_color: Move implementation to .cpp file
Packit 2d74b6c
- Fix: Do not use Variable-length arrays (VLAs) in C++ code
Packit 2d74b6c
- Add a hint to call base.setup() prior loading repositories
Packit 2d74b6c
- dnf5daemon-client: New switches for group list
Packit 2d74b6c
- doc: Include comps.Group interface to D-Bus API documentatin
Packit 2d74b6c
- dnfdaemon: Enhance comps.Group.list() method
Packit 2d74b6c
- dnf5daemon-client: Fix group.get_installed()
Packit 2d74b6c
- man: Link dnf5 pages to dnf
Packit 2d74b6c
Packit 95dcdf9
* Wed Apr 03 2024 Packit <hello@packit.dev> - 5.1.17-1
Packit 95dcdf9
- Update translations from weblate
Packit 95dcdf9
- dnf5daemon: Remove reposdir from allowed config overrides
Packit 95dcdf9
Packit cf866ef
* Tue Apr 02 2024 Packit <hello@packit.dev> - 5.1.16-1
Packit cf866ef
- Update translations from weblate
Packit cf866ef
- Document system-upgrade aliases
Packit cf866ef
- Improved Bash Completion
Packit cf866ef
- Print command line hints after resolve failure
Packit cf866ef
- Docuent Advisory.list() API usage
Packit cf866ef
- Add NEVRA field to advisory packages in dnf5daemon
Packit cf866ef
- Review and fix missing commands
Packit cf866ef
- Document dnf5daemon advisory
Packit cf866ef
- Document system-upgrade
Packit cf866ef
- system-upgrade: offline status subcommand
Packit cf866ef
- Add aliases `offline-distrosync`, `offline-upgrade`
Packit cf866ef
- Add `system-upgrade --offline` option
Packit cf866ef
- Add `offline`, `system-upgrade` commands
Packit cf866ef
d7b442b
* Mon Mar 18 2024 Petr Pisar <ppisar@redhat.com> - 5.1.15-2
d7b442b
- Do not obsolete dnf-4 in ELN 11
d7b442b
Packit 02249b1
* Fri Mar 15 2024 Packit <hello@packit.dev> - 5.1.15-1
Packit 02249b1
- Update translations from weblate
Packit 02249b1
- Automatically set `upgrade --downloadonly` when `--destdir` is used
Packit 02249b1
- Write warnings to stderr too in config-manager plugin
Packit 02249b1
- Add repoid to generated repository name in config-manager plugin
Packit 02249b1
- Bump sdbus-cpp requirement to 0.9.0
Packit 02249b1
- Document and implement dnf5daemon Rpm interface
Packit 02249b1
- Document and implement dnf5daemon Goal interface
Packit 02249b1
- Document and implement dnf5daemon Repo interface
Packit 02249b1
- Document and implement dnf5daemon Base interface
Packit 02249b1
- Document and implement dnf5daemon Advisory interface
Packit 02249b1
- Document and implement dnf5daemon SessionManager interface
Packit 02249b1
- Add `dnf5daemon repo --enable/--disable` commands
Packit 02249b1
- automatic: Skip network availability check without remote repo
Packit 02249b1
- dnf5daemon: Rpm.list() works with commandline pkgs
Packit 02249b1
Packit 328b3b4
* Tue Mar 05 2024 Packit <hello@packit.dev> - 5.1.14-1
Packit 328b3b4
- Update translations from weblate
Packit 328b3b4
- Make the error to resolve module metadata more descriptive
Packit 328b3b4
- Switch off deltarpm support
Packit 328b3b4
- Limit number of dnf5daemon simultaneously active sessions
Packit 328b3b4
- Make info and list commands case insesitive
Packit 328b3b4
- Allow dnf5daemon configuration overrides for root
Packit 328b3b4
- Add repoquery.hpp for swig-4.2.1 support
Packit 328b3b4
Packit 3288271
* Tue Feb 20 2024 Packit <hello@packit.dev> - 5.1.13-1
Packit 3288271
- Release 5.1.13
Packit 3288271
- build: Adapt to changes in Fedora packaging of bash-completion
Packit 3288271
- Change location of automatic.conf
Packit 3288271
- Limit message log to one on dnf5 start
Packit 3288271
- Implement waiting for network for dnf5 automatic
Packit 3288271
- Write dnf5 commandline to the log
Packit 3288271
- Implement dnf5-automatic: Tool for managing automatic upgrades
Packit 3288271
- Parametrize output stream in transaction table
Packit 3288271
- Add `download --srpm` option
Packit 3288271
- Add missing dbus signal registations
Packit 3288271
- Add new versionlock bindings
Packit 3288271
- Implement `dnf5 versionlock` command
Packit 3288271
Packit c97da15
* Fri Feb 09 2024 Packit <hello@packit.dev> - 5.1.12-1
Packit c97da15
- Release 5.1.12
Packit c97da15
- Update translations from weblate
Packit c97da15
- Drop dnf obsoletion temporarily
Packit c97da15
- Use regex for tmt plan names
Packit c97da15
- Add tmt tests identifiers
Packit c97da15
- PackageQuery: Add `filter_{latest,earliest}_evr_ignore_arch`
Packit c97da15
- Suggest to use dnf5 command to install dnf5 plugins
Packit c97da15
- Added arch option to the download command
Packit c97da15
- CI: Upgrade action/checkout to a version with Node.js 20
Packit c97da15
- Document explicit nevra remove commands and aliases dropped
Packit c97da15
- build: Include <unistd.h> for isatty()
Packit c97da15
- Change user info display on history command to include display name and username
Packit c97da15
- Revert "Use focusbest: prefer latest deps versions over smaller transactions"
Packit c97da15
- Fix a warning when building docs.
Packit c97da15
- modules: Add a test for enabling default modules
Packit c97da15
- modules: Add a new module stream to test data
Packit c97da15
- modules: Respect defaults when enabling multiple streams of a module
Packit c97da15
- modules: Fix TransactionItemType for not found modules
Packit c97da15
- Build: Require GCC 10.1 for std::in_range<>()
Packit c97da15
- Add --urlprotocol option to download command
Packit c97da15
- dnfdaemon: Explicitly specify allowed config overrides
Packit c97da15
- Disable dnf and dnf5daemon tests
Packit c97da15
- needs-restarting: get systemd boot time from UnitsLoadStartTimestamp
Packit c97da15
- doc: Add --destdir option to upgrade command manual
Packit c97da15
- Move number placeholder to postposition in copr_repo.cpp
Packit c97da15
- Added url option
Packit c97da15
- Load protected packages from installroot
Packit c97da15
- Make protected_packages an append options
Packit c97da15
- doc: Create a man page for Aliases
Packit c97da15
- I18N: Annotate literals in advisory command
Packit c97da15
- Extend filter_release and filter_version tests
Packit c97da15
- package_query: Fix filter_version with non EQ comparator
Packit c97da15
- Fix clang format
Packit c97da15
- Fix code for string deduplication
Packit c97da15
- Use placeholders to deduplicate strings
Packit c97da15
- Add __hash__(), __str__(), and __repr__() for Package
Packit c97da15
- Add __hash__() for Reldep Python binding
Packit c97da15
- Add __repr__() to python bindings of Reldep
Packit c97da15
- Define tp_str slot for Reldep Class
Packit c97da15
- group: Fix using allowerasing option
Packit c97da15
- Fix misspellings
Packit c97da15
- I18N: Remove duplicate empty message IDs from catalogs
Packit c97da15
- I18N: Do not mark empty strings for a translation
Packit c97da15
adefe26
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.11-3
adefe26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
adefe26
836a0bc
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.11-2
836a0bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
836a0bc
Packit c418319
* Thu Jan 11 2024 Packit <hello@packit.dev> - 5.1.11-1
Packit c418319
- Release 5.1.11
Packit c418319
- Update translations from weblate
Packit c418319
- Fix `--skip-unavailable` documentation
Packit c418319
- Make `cachedir`, `system_cachedir` relative to `installroot`
Packit c418319
- Workaround for swig-4.2.0 missing fragment dependency
Packit c418319
- Add `repoquery --recursive` option
Packit c418319
- Add `repoquery --providers-of=PACKAGE_ATTRIBUTE` option
Packit c418319
- Update documentation of repoquery
Packit c418319
- Update documentation for remove command behavior
Packit c418319
- Limit search pattern for remove command to NEVRAs and files
Packit c418319
- Packaging: Require an exact release of libdnf5-cli by dnf5-plugins
Packit c418319
- Disable zchunk on RHEL
Packit c418319
- Add dnf5.conf man page
Packit c418319
- Add RPM package Group attribute to dnf5daemon-server
Packit c418319
- Document changes related to caching
Packit c418319
- Document caching man page
Packit c418319
- Document Global Option `--help-cmd` dropped
Packit c418319
- log_event: Correct message for HINT_ICASE
Packit c418319
c30478a
* Thu Jan 04 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 5.1.10-3
c30478a
- Disable zchunk on RHEL
c30478a
3acf1d1
* Wed Jan 03 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.1.10-2
3acf1d1
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.3
3acf1d1
Packit 59f5be8
* Tue Jan 02 2024 Packit <hello@packit.dev> - 5.1.10-1
Packit 59f5be8
- Release 5.1.10
Packit 59f5be8
- Document dnf5 plugins
Packit 59f5be8
- Document How-to write libdnf5 plugin tutorial
Packit 59f5be8
- Document How-to write dnf5 plugin tutorial
Packit 59f5be8
- Document Templates for libdnf5 plugin
Packit 59f5be8
- Document Templates for dnf5 plugin
Packit 59f5be8
- Sort the module info table
Packit 59f5be8
- `module info` print hint for active modules
Packit 59f5be8
- `module info` print "[a]" for active modules
Packit 59f5be8
- Ensure write permission before importing packages
Packit 59f5be8
- Change module dependency string to be the same as in dnf4
Packit 59f5be8
- `module info`: improve summary and description
Packit 59f5be8
- Escape glob characters in pkg specs for `builddep`
Packit 59f5be8
- Add `mc` alias for `makecache`
Packit 59f5be8
- Implement `logdir`, `log_size` and `log_rotate` config options
Packit 59f5be8
- remove redundant "all" in command `check`
Packit 59f5be8
- Improve bash completion
Packit 59f5be8
- Fix progress bars miss newlines on non-interactive output
Packit 59f5be8
Packit 00bd4e6
* Fri Dec 08 2023 Packit <hello@packit.dev> - 5.1.9-1
Packit 00bd4e6
- Release 5.1.9
Packit 00bd4e6
- Update translations from weblate
Packit 00bd4e6
- Fix builds for RISC-V arch
Packit 00bd4e6
- Fix architecture autodetection
Packit 00bd4e6
- Move `am_i_root` function to common library
Packit 00bd4e6
- Implement `module info` command
Packit 00bd4e6
- Add user confirmation request if `history store` overwrites a file
Packit 00bd4e6
- Add `history store` command
Packit 00bd4e6
- Add API to serialize base::transaction in JSON
Packit 00bd4e6
- Add API to serialize transaction::transaction in JSON
Packit 00bd4e6
- Add docs for `provides`
Packit 00bd4e6
- Implement command `provides`
Packit 00bd4e6
- Read `copr.vendor.conf` in `/usr/share` first
Packit 00bd4e6
- Add docs for `check` command
Packit 00bd4e6
- Implement `check` command
Packit 00bd4e6
- Expose `utis/fs/file.hpp` and `temp.hpp` on API
Packit 00bd4e6
- Document dropping of the `skip-broken` for `upgrade`
Packit 00bd4e6
- Update man pages with missing dependency resolving-related options
Packit 00bd4e6
- Document `skip-broken` option only for related commands
Packit 00bd4e6
- Test for adding an empty list to memory file
Packit 00bd4e6
- Check serialized temporary files memory is non-empty
Packit 00bd4e6
- Add `microcode_ctl` to needs-restarting's reboot list
Packit 00bd4e6
- Fix reporting spec matches only source
Packit 00bd4e6
Packit 4eee55d
* Fri Nov 24 2023 Packit <hello@packit.dev> - 5.1.8-1
Packit 4eee55d
- Release 5.1.8
Packit 4eee55d
- Update translations from weblate
Packit 4eee55d
- Don't run infinitely when enabling dependent modules and module is not found
Packit 4eee55d
- Always print "[d]" in module list for default streams
Packit 4eee55d
- Fix transaction table headers for module operations
Packit 4eee55d
- Implement `config-manager addrepo --add-or-replace`
Packit 4eee55d
- Implement plugin `config-manager`
Packit 4eee55d
- Allow globs in module_spec arguments
Packit 4eee55d
- Document needs-restarting plugin
Packit 4eee55d
- Add no-op `needs-restarting -r` for DNF 4 compat
Packit 4eee55d
- Implement `needs-restarting --services`
Packit 4eee55d
- Initial implementation of needs-restarting
Packit 4eee55d
Packit 604ed13
* Thu Nov 09 2023 Packit <hello@packit.dev> - 5.1.7-1
Packit 604ed13
- Release 5.1.7
Packit 604ed13
- Actions plugin's actions.conf can set "Enabled" for each action separately
Packit 604ed13
- Actions plugin now supports action options
Packit 604ed13
- Implement `get_reason()` for groups and environments
Packit 604ed13
- Disable the RHSM plugin by default and enable it in the RPM spec
Packit 604ed13
- Add missing docs for `get_advisory_packages_sorted_by_name_arch_evr(bool)`
Packit 604ed13
- Update documentation about maintained coprs
Packit 604ed13
- modules: Test `ModuleProfile::is_default()` method
Packit 604ed13
- modules: Simplify finding whether profile is default in module list
Packit 604ed13
- modules: Fix `ModuleProfile::is_default` method
Packit 604ed13
- modules: Store if profile is default in ModuleProfile object
Packit 604ed13
- Generate docs for undocummented functions so they at least show up
Packit 604ed13
- Add python advisory docs
Packit 604ed13
- Add advisory python API tests
Packit 604ed13
- Enable AdvisoryModule bindings
Packit 604ed13
Packit 017fc77
* Thu Oct 26 2023 Packit <hello@packit.dev> - 5.1.6-1
Packit 017fc77
- Release 5.1.6
Packit 017fc77
- Document aliases for command line arguments
Packit 017fc77
- Don't print missing positional argument error with `--help`
Packit 017fc77
- Improve error handling for missing arguments
Packit 017fc77
- Document `--forcearch` as a global argument
Packit 017fc77
- Make `--forcearch` a global argument
Packit 017fc77
- Avoid reinstalling installonly packages marked for ERASE
Packit 017fc77
- Add `filter_installonly` to PackageQuery
Packit 017fc77
- Implement new argument `--show-new-leaves`
Packit 017fc77
- advisory: document advisory command changes and few clean ups
Packit 017fc77
- Document `--dump-main-config` and `--dump-repo-config`
Packit 017fc77
- Implement new argument `--dump-repo-config`
Packit 017fc77
- Implement new argument `--dump-main-config`
Packit 017fc77
- Show default profiles in `module list`
Packit 017fc77
- Print hint for the `module list` table
Packit 017fc77
- Show information about default streams in `module list`
Packit 017fc77
- Document `module list` options
Packit 017fc77
- Add `enabled` and `disabled` arguments to `module list`
Packit 017fc77
- Add module spec filtering to `module list`
Packit 017fc77
- Add `module list` command
Packit 017fc77
- Document `group upgrade`
Packit 017fc77
Packit 5c256c0
* Thu Oct 05 2023 Packit <hello@packit.dev> - 5.1.5-1
Packit 5c256c0
- Improved ConfigParser
Packit 5c256c0
- Improved docs for `group install` and `group remove`
Packit 5c256c0
- Fix man pages deployment
Packit 5c256c0
- Update API doc related to keepcache
Packit 5c256c0
- Implement `rhsm` (Red Hat Subscription Manager) plugin
Packit 5c256c0
- Document `--dump-variables`
Packit 5c256c0
- Implement `dnf5 --dump-variables`
Packit 5c256c0
- Improve contributing guidelines: don't mention "ready-for-review"
Packit 5c256c0
- Allow specifying upper-case tags in `repoquery --queryformat`
Packit 5c256c0
- api: Make get_base_arch() public
Packit 5c256c0
- Improve input for large epochs that don't fit into `time_t`
Packit 5c256c0
Packit a447818
* Mon Sep 18 2023 Packit <hello@packit.dev> - 5.1.4-1
Packit a447818
- Fix Builds on i386
Packit a447818
- Print error if unsupported architecture used
Packit a447818
- argument_parser: New error class for invalid value
Packit a447818
- Allow obsoletion of protected packages
Packit a447818
- Add support for repository configuration in /usr
Packit a447818
5a33b64
* Wed Aug 16 2023 Nicola Sella <nsella@redhat.com> 5.1.2-1
5a33b64
- Release 5.1.2
5a33b64
- Print error messages in nested errors
5a33b64
- Implement `dnf5daemon-server` introspection xml for Advisory interface
5a33b64
- Implement `dnf5daemon-client advisory info` command
5a33b64
- Implement `dnf5daemon-client advisory list` command
5a33b64
- Implement `dnf5daemon-server` advisory service
5a33b64
- Improve `dnf5daemon-client --help`
5a33b64
- Enable `--repofrompath` repos by default
5a33b64
- Fix error on creating repo with duplicate id
5a33b64
Packit 1442d75
* Fri Aug 04 2023 Packit <hello@packit.dev> - 5.1.1-1
Packit 1442d75
- Postpone replace of DNF to Fedora 41
Packit 1442d75
- Add a description of `with_binaries` option for dnf5daemon
Packit 1442d75
- Include RPM logs in KeyImportError
Packit 1442d75
- Abort PGP checking immediately if any checks fail
Packit 1442d75
- Display warning message when any PGP checks skipped
Packit 1442d75
- Don't allow main gpgcheck=0 to override repo config
Packit 1442d75
- gups and environments to `history info` ouput
Packit 1442d75
- Store missing id and repoid in db for groups/environments
Packit 1442d75
- Fix out-of-bounds access in Goal::Impl::add_install_to_goal
Packit 1442d75
- Fix repoquery `--list`
Packit 1442d75
- `allow_vendor_change` was reverted back to true
Packit 1442d75
- Doc update to allow `logdir` outside the installroot
Packit 1442d75
- Remove `grouplist` and `groupinfo` aliases
Packit 1442d75
- Add `grp` alias for group command
Packit 1442d75
- `repoquery --exactdeps` needs `--whatdepends` or `--whatrequires`
Packit 1442d75
- Update and unify repoquery manpage
Packit 1442d75
- Document replace of `-v` option by `repoinfo` command
Packit 1442d75
- Add `remove --no-autoremove` option
Packit 1442d75
- Document dropped `if` alias of `info` command
Packit 1442d75
- document `actions` plugin
Packit 1442d75
- Fix printing advisories for the running kernel
Packit 1442d75
- Revert "advisory: add running kernel before pkg_specs filtering"
Packit 1442d75
278faaa
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-2
278faaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
278faaa
Packit d2b3342
* Tue Jul 18 2023 Packit <hello@packit.dev> - 5.1.0-1
Packit d2b3342
- Minor version update. API is considered stable
Packit d2b3342
- Remove unneeded unused configuration priority
Packit d2b3342
- Don't show dnf5-command hint for unknown options, only commands
Packit d2b3342
- Add hint to install missing command with dnf5-command(<name>)
Packit d2b3342
- Add dnf5-command(<command-name>) provides to dnf5
Packit d2b3342
- Add dnf5-command(<command-name>) provides to dnf5-plugins
Packit d2b3342
- Document several methods as deprecated
Packit d2b3342
- Fix core dump on `--refresh` switch usage
Packit d2b3342
- Add `repoquery -l`/`--list` aliases for `--files` for rpm compat
Packit d2b3342
- Add `vendor` attr to package in `dnfdaemon-server`
Packit d2b3342
- Document `dnf5-plugins` package in man pages
Packit d2b3342
cb97440
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 5.0.15-4
cb97440
- Perl 5.38 rebuild
cb97440
572ff57
* Sat Jul 01 2023 Python Maint <python-maint@redhat.com> - 5.0.15-3
572ff57
- Rebuilt for Python 3.12
572ff57
31ff043
* Fri Jun 30 2023 Adam Williamson <awilliam@redhat.com> - 5.0.15-2
31ff043
- Rebuild for fmt 10 again
31ff043
Packit af48071
* Thu Jun 29 2023 Packit <hello@packit.dev> - 5.0.15-1
Packit af48071
- Add `module enable` subcommand
Packit af48071
- Add `--repofrompath` option
Packit af48071
- Add `--forcearch` option to multiple commands
Packit af48071
- Add `reinstall --allowerasing` option
Packit af48071
- Add `repoquery --sourcerpm` option
Packit af48071
- Add `repoquery --srpm` option
Packit af48071
- Add `chacheonly` configuration option
Packit af48071
- Add `--cacheonly` option
Packit af48071
- Add `--refresh` option
Packit af48071
- Change default value for `best` configuration to true
Packit af48071
- Change default value for `allow_vendor_change` configuration to false
Packit af48071
- changelog: Fix behavior of `--since` option
Packit af48071
- builddep: Fix handling BuildRequires in spec files
Packit af48071
- swig: Return None for unset options in Python
Packit af48071
- Verify transaction PGP signatures automatically
Packit af48071
- Fix checking whether updateinfo metadata are required
Packit af48071
- Fix handling empty epoch when comparing nevra
Packit af48071
- Fix building with upcoming fmt-10 library
Packit af48071
- Rename namespace, includes and directories from libdnf to libdnf5
Packit af48071
- Provide /var/cache/libdnf5 instead of /var/cache/libdnf (RhBug:2216849)
Packit af48071
05028dc
* Wed Jun 28 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 5.0.14-2
05028dc
- Rebuilt due to fmt 10 update.
52b52a8
- Added upstream patches with fmt 10 build fixes.
05028dc
Packit 20f482a
* Wed Jun 14 2023 Packit <hello@packit.dev> - 5.0.14-1
Packit 20f482a
- Modify libdnf5-devel to generate pkgconf(libdnf5)
Packit 20f482a
- Handle unnamed environments in transaction table
Packit 20f482a
- Return error exit code on RPM transaction failure
Packit 20f482a
- Add `repoquery --file` option
Packit 20f482a
- Add `repoquery --arch` option
Packit 20f482a
- Add `repoquery --installonly` option
Packit 20f482a
- Add `repoquery --extras`, `--upgrades` and `--recent` options
Packit 20f482a
- Add `repoquery --changelogs` formatting option
Packit 20f482a
- Don't complete ls alias
Packit 20f482a
- Add rq command alias for `repoquery`
Packit 20f482a
- Exclude dnf.conf when not installed
Packit 20f482a
- Improve the download methods API
Packit 20f482a
  - Switch to parameterless download methods and introduce setters for fail_fast and resume
Packit 20f482a
  - Affected classes: libdnf::repo::FileDownloader, libdnf::repo::PackageDownloader
Packit 20f482a
0a978e2
* Tue May 30 2023 Packit <nsella@redhat.com> - 5.0.13-2
0a978e2
- Update specfile to exclude dnf.conf for fedora < 39
0a978e2
Packit 02ac962
* Mon May 29 2023 Packit <hello@packit.dev> - 5.0.13-1
Packit 02ac962
- Release 5.0.13
Packit 02ac962
- Fix resolve behavior for `download`
Packit 02ac962
- Add a message when `--downloadonly` is used
Packit 02ac962
- Add `--downloadonly` option to multiple commands
Packit 02ac962
Packit c803b8b
* Thu May 25 2023 Nicola Sella <nsella@redhat.com> - 5.0.12-1
Packit c803b8b
- Release 5.0.12
Packit c803b8b
- Have DNF update to DNF5
Packit c803b8b
- Add dnf, yum obsoletes and provides
Packit c803b8b
- Symlinks for `dnf` and `yum` binaries
Packit c803b8b
- Move ownership of /etc/dnf/dnf.conf, /etc/dnf/vars, and /etc/dnf/protected.d from dnf-data to libdnf5
Packit c803b8b
- Conflict with older versions of dnf-data that own these files/directories
Packit c803b8b
- Print environments in the transaction table
Packit c803b8b
- Add support for environmantal groups in dnf5daemon
Packit c803b8b
- Handle unnamed groups in transaction table
Packit c803b8b
- Update documentation for `distro-sync --skip-unavailable`
Packit c803b8b
- Update documentation for `downgrade --skip-unavailable`
Packit c803b8b
- Update documentation for `upgrade --skip-unavailable`
Packit c803b8b
- Add repoquery `--files` and `files` querytag instead of `--list`
Packit c803b8b
- Add getters to package for: debug, source, repo-name
Packit c803b8b
- Add `repoquery --querytags` option
Packit c803b8b
- Document `repoquery --queryformat`
Packit c803b8b
- Add `repoquery --qf` alias to `repoquery --queryformat`
Packit c803b8b
- Add get_depends() to package and --depends to repoquery
Packit c803b8b
- Implement keepcache functionality (RhBug:2176384)
Packit c803b8b
- API changes:
Packit c803b8b
- libdnf::repo::PackageDownloader default ctor dropped (now accepting the Base object)
Packit c803b8b
- libdnf::base::Transaction not accepting dest_dir anymore (implicitly taken from configuration)
Packit c803b8b
- A note for existing users:
Packit c803b8b
- Regardless of the keepcache option, all downloaded packages have been cached up until now.
Packit c803b8b
- Starting from now, downloaded packages will be kept only until the next successful transaction (keepcache=False by default).
Packit c803b8b
- To remove all existing packages from the cache, use the `dnf5 clean packages` command.
Packit c803b8b
- goal: Split group specs resolution to separate method
Packit c803b8b
- comps: Possibility to create an empty EnvironmentQuery
Packit c803b8b
- `remove` command accepts `remove spec`
Packit c803b8b
- Refactor remove positional arguments
Packit c803b8b
- Remove duplicates from `group list` output
Packit c803b8b
- Document `copr` plugin command
Packit c803b8b
- Document `builddep` plugin command
Packit c803b8b
24d6406
* Fri May 19 2023 Petr Pisar <ppisar@redhat.com> - 5.0.11-3
24d6406
- Rebuild against rpm-4.19 (https://fedoraproject.org/wiki/Changes/RPM-4.19)
24d6406
e341b3f
* Fri May 19 2023 Nicola Sella <nsella@redhat.com> - 5.0.11-2
e341b3f
- Fix builds for arch non x86_64
e341b3f
Packit 6417250
* Thu May 18 2023 Packit <hello@packit.dev> - 5.0.11-1
Packit 6417250
- Release 5.0.11
Packit 6417250
- Add --contains-pkgs option to group info
Packit 6417250
- Add filter for containing package names
Packit 6417250
- Fix parameter names in documentation
Packit 6417250
- Document create parameter of RelDep::get_id method
Packit 6417250
- Document RepoQuery::filter_local
Packit 6417250
- Document repoclosure in man pages
Packit 6417250
- Document repoclosure command
Packit 6417250
- Implement repoclosure plugin
Packit 6417250
- package_query: filter_provides accepts also Reldep
Packit 6417250
- Fix download callbacks and many segfaults in dnf5daemon
Packit 6417250
- Add allow-downgrade configuration option
Packit 6417250
- Release 5.0.10
Packit 6417250
- dnf5-plugins: implement 'dnf5 copr'
Packit 6417250
- Add new configuration option exclude_from_weak_autodetect
Packit 6417250
- Add new config option exclude_from_weak
Packit 6417250
- Add repoquery --unneeded
Packit 6417250
- Fix handling of incorrect argument (RhBug:2192854)
Packit 6417250
- Add detect_release to public API
Packit 6417250
- Add group --no-packages option
Packit 6417250
- Add group upgrade command
Packit 6417250
- Enable group upgrades in transaction table
Packit 6417250
- Add --destdir option to download command
Packit 6417250
- Filter latest per argument for download command
Packit 6417250
- Add builddep --allowerasing
Packit 6417250
- download command: filter by priority, latest
Packit 6417250
- Remove --unneeded option from remove command
Packit 6417250
- Document autoremove differences from dnf4
Packit 6417250
- Add autoremove command
Packit 6417250
- state: Add package_types attribute to GroupState
Packit 6417250
- comps: Add conversion of PackageType to string(s)
Packit 6417250
- Add check-update alias for check-upgrade
Packit 6417250
- Add `check-upgrade --changelogs`
Packit 6417250
6bccf38
* Tue May 02 2023 Richard W.M. Jones <rjones@redhat.com> - 5.0.9-3
6bccf38
- Default tests off (temporarily, hopefully) on riscv64 arch.
6bccf38
57ec94e
* Wed Apr 26 2023 Nicola Sella <nsella@redhat.com> - 5.0.9-2
6588e7c
- Release 5.0.9 (Nicola Sella)
57ec94e
- Add `--userinstalled` to `repoquery` man page
57ec94e
- Implement `repoquery -userinstalled`
57ec94e
- Fix: progressbar: Prevent length_error exception (RhBug:2184271)
57ec94e
- Add dnf5-plugins directory in documentation
57ec94e
- Document `repoquery --leaves`
57ec94e
- Implement `repoquery --leaves`
57ec94e
- Implement new filters rpm::filter_leaves and rpm::filter_leaves_groups
6588e7c
58612ae
* Thu Apr 13 2023 Nicola Sella <nsella@redhat.com> - 5.0.8-1
58612ae
- Update to 5.0.8
58612ae
- Improve error message in download command
58612ae
- Add repoquery --latest-limit option
58612ae
- Add dg, in, rei, rm aliases
58612ae
- Add "up" and "update" aliases for "upgrade" command
58612ae
- Update documentation with info about package spec expressions (RhBug:2160420)
58612ae
- Add formatting options repoquery --requires, --provides..
58612ae
- Remove unused repoquery nevra option
58612ae
- Add `--queryformat` option to repoquery
58612ae
- Improved progress bars
58612ae
- Fix logic of installroot with deduplication
58612ae
- Correctly load repos from installroot config file
58612ae
- Improved loading and downloading of key files
58612ae
- Improved modules: Change State to set and get the whole ModuleState
58612ae
- New API method rpm::Package::is_available_locally
58612ae
- Move description of DNF5 changes to doc
58612ae
- Improved dnf5daemon logic and removed unused code
58612ae
- Improved progress bar
58612ae
- Improved handling of obsolete package installation
58612ae
- Remove showdupesfromrepos config option
58612ae
- man: Add info about download command destination
58612ae
- Print resolve logs to stderr
58612ae
- Fix double loading of system repo in dnf5daemon
58612ae
- Set a minimal sqlite version
58612ae
- Change to --use-host-config, warning suggesting --use-host-config
58612ae
- Add capability to find binaries to resolve_spec
58612ae
- Add pre-commit file
58612ae
- Improved by fixing memory leaks
58612ae
- Improved tests by enabling with multithreading
58612ae
- Improve documentation  for list command
58612ae
- Add compatibility alias ls->list
58612ae
- Implement info command
58612ae
- Implement list command
58612ae
- Fix --exactdeps argument description
58612ae
2fa07e4
* Wed Mar 8 2023 Nicola Sella <nsella@redhat.com> - 5.0.7-1
2fa07e4
- Document set/get vars in python api
2fa07e4
- Document --strict deprecation
2fa07e4
- New configuration option "disable_multithreading"
2fa07e4
- Improved dnf5daemon to handle support groups and modules in return value
2fa07e4
- Ignore inaccessible config unless path specified as --config=...
2fa07e4
- Includes reordering and tweaks in advisories
2fa07e4
- Add support for package changelogs in swig and tests
2fa07e4
- Add many unit tests for dnf5 and python api
2fa07e4
- Add new --skip-unavailable command line option
2fa07e4
- Add search command
2fa07e4
- Add new error for incorrect API usages
2fa07e4
- Add a new method whether base was correctly initialized
2fa07e4
- Improved python exceptions on undefined var
2fa07e4
- transaction: Change API to run transaction without args
2fa07e4
- Add explicit package version for libdnf5-cli
2fa07e4
- Improved performance of packagequery
2fa07e4
b5c968c
* Tue Feb 14 2023 Nicola Sella <nsella@redhat.com> - 5.0.6-1
b5c968c
- Add obsoletes of microdnf
b5c968c
- Many improvements related to internal logic and bugfixes
b5c968c
- Improvements in specfile
b5c968c
- Improved API, drop std::optional
b5c968c
- Use Autoapi instead of Autodoc to generate Python docs
b5c968c
- Improved documentation for modules
b5c968c
a88f6eb
* Thu Jan 26 2023 Nicola Sella <nsella@redhat.com> - 5.0.5-1
a88f6eb
- Fix build fail in rawhide
a88f6eb
- Fixes in the concerning filesystem
a88f6eb
- Fixes in the concerning modules
a88f6eb
- Fixes in the concerning api
a88f6eb
866d853
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.4-3
866d853
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
866d853
b23e4d4
* Wed Jan 18 2023 Nicola Sella <nsella@redhat.com> - 5.0.4-2
b23e4d4
- Backport downstream patch to disable unit tests for python tutorials
b23e4d4
- Fix build in rawhide
b23e4d4
6d54e86
* Thu Jan 12 2023 Nicola Sella <nsella@redhat.com> - 5.0.4-1
6d54e86
- Many fixes in perl bindings
6d54e86
- Test functions enhanced
6d54e86
- Extend unit tests for OptionString and OptionStringList
6d54e86
4c035f3
* Wed Jan 04 2023 Nicola Sella <nsella@redhat.com> - 5.0.3-1
4c035f3
- Add Python docs for: Base, Goal, RepoQuery, Package and PackageQuery
4c035f3
- Add docs for Python bindings: they are auto generated now
4c035f3
- Add --what* and --exactdeps options to repoquery
4c035f3
- Add "user enter password" to dnf5daemon functionalities
4c035f3
- Fix: remove repeating headers in transaction table
4c035f3
- Fix: Set status of download progress bar after successful download
4c035f3
- Fix: RepoDownloader::get_cache_handle: Don't set callbacks in LibrepoHandle
4c035f3
- Refactor internal utils
4c035f3
- Improved GlobalLogger
4c035f3
- Improved C++ API docs
4c035f3
8f6b168
* Thu Dec 08 2022 Nicola Sella <nsella@redhat.com> - 5.0.2-1
8f6b168
- Implement group remove command
8f6b168
- Improved options in config
8f6b168
- Add support for any number of user IDs in a PGP key
8f6b168
- Use new librepo PGP API
8f6b168
- remove gpgme dependency
8f6b168
- Improved exceptions and dnf5 errors
8f6b168
- Add dnf5-devel package
8f6b168
- Update README.md with up to date information
8f6b168
- Repoquery: Add --duplicates option
8f6b168
- Improved documentation for Repoquery, Upgrande and About section
8f6b168
- Add tutorials for python3 bindings
8f6b168
- dnf5-changes-doc: Add more structure using different headings
8f6b168
- Add ModuleQuery
8f6b168
- Improvements in comps logic
8f6b168
aa902f1
* Fri Nov 25 2022 Nicola Sella <nsella@rehat.com> - 5.0.1-1
aa902f1
- Update to 5.0.1
aa902f1
- Fix loading known keys for RepoGpgme
aa902f1
- Fix dnf5 progress_bar
aa902f1
- Improve modules: conflicting packages, weak resolve, active modules resolving
aa902f1
- plugins.hpp moved away from public headers and improvements logic
aa902f1
- Fix failing builds for i686 arch
aa902f1
- Add man pages to dnf5
aa902f1
- Fix non x86_64 builds
aa902f1
- Remove unimplemented commands
aa902f1
b0af2dc
* Wed Nov 2 2022 Nicola Sella <nsella@redhat.com> - 5.0.0-2~pre
b0af2dc
- Fix failing builds for i686 arch
b0af2dc
c26f320
* Mon Oct 31 2022 Nicola Sella <nsella@redhat.com> - 5.0.0-1~pre
c26f320
- Add man pages to dnf5
c26f320
- Fix non x86_64 builds
c26f320
- Remove unimplemented commands
c26f320
532daf7
* Fri Sep 16 2022 Nicola Sella - <nsella@redhat.com> - 5.0.0-0~pre
532daf7
- Dnf pre release build for Fedora