Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6851b29d34 | |||
| 6de6689b64 | |||
| 212d5bad8b | |||
| 4a5aa144e5 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1e3f5556fa60365bb8a4efa16906e0aeaae95703eb08eb9d45fc0908dc2157e6
|
||||
size 2152871
|
||||
3
dnf-4.23.0.tar.gz
Normal file
3
dnf-4.23.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca251651d04778e6ef8120af2307cad40b7e90c403e54a20a8772464a78bc4ec
|
||||
size 2166547
|
||||
@@ -1,7 +1,7 @@
|
||||
From 2b4c1e8a6e9970a8a6b8030e0ed4c7fda59c9be5 Mon Sep 17 00:00:00 2001
|
||||
From b894e095df78a40ddc4f5c6e5960b6cf406b03ff Mon Sep 17 00:00:00 2001
|
||||
From: Christian Voegl <cvoegl@suse.com>
|
||||
Date: Thu, 11 Mar 2021 14:51:59 +0100
|
||||
Subject: [PATCH] Document Fals as default for allow_vendor_change
|
||||
Subject: [PATCH 1/2] Document Fals as default for allow_vendor_change
|
||||
|
||||
allow_vendor_change defaults to False due to
|
||||
libdnf-0.55.0-Switch-allow_vendor_change-off.patch in libdnf,
|
||||
@@ -11,7 +11,7 @@ so the documentation has to be changed here
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/doc/conf_ref.rst b/doc/conf_ref.rst
|
||||
index 9a939d8b..4b9059da 100644
|
||||
index 466d45f0..915ebbc3 100644
|
||||
--- a/doc/conf_ref.rst
|
||||
+++ b/doc/conf_ref.rst
|
||||
@@ -65,7 +65,7 @@ configuration file by your distribution to override the DNF defaults.
|
||||
@@ -24,5 +24,5 @@ index 9a939d8b..4b9059da 100644
|
||||
.. WARNING:: This option is currently not supported for `downgrade` and `distro-sync` commands
|
||||
|
||||
--
|
||||
2.26.2
|
||||
2.48.1
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 60c32b2493061b8ea8b8e3c24b533b38d1e85134 Mon Sep 17 00:00:00 2001
|
||||
From 948ce5649172cba75e04384ff0a10e9d4e331fc9 Mon Sep 17 00:00:00 2001
|
||||
From: Neal Gompa <ngompa13@gmail.com>
|
||||
Date: Sat, 13 Feb 2021 12:16:10 -0500
|
||||
Subject: [PATCH] Use /usr/lib/sysimage for the persistent state directory
|
||||
Subject: [PATCH 2/2] Use /usr/lib/sysimage for the persistent state directory
|
||||
|
||||
This aligns us with the location where the RPM database is stored.
|
||||
---
|
||||
@@ -10,10 +10,10 @@ This aligns us with the location where the RPM database is stored.
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/dnf/const.py.in b/dnf/const.py.in
|
||||
index 5c1fef0f..7028515d 100644
|
||||
index 07aab7a4..750d3a16 100644
|
||||
--- a/dnf/const.py.in
|
||||
+++ b/dnf/const.py.in
|
||||
@@ -38,7 +38,7 @@ LOG_LIBREPO='dnf.librepo.log'
|
||||
@@ -39,7 +39,7 @@ LOG_LIBREPO='dnf.librepo.log'
|
||||
LOG_MARKER='--- logging initialized ---'
|
||||
LOG_RPM='dnf.rpm.log'
|
||||
NAME='DNF'
|
||||
@@ -23,18 +23,18 @@ index 5c1fef0f..7028515d 100644
|
||||
RUNDIR='/run'
|
||||
USER_RUNDIR='/run/user'
|
||||
diff --git a/doc/conf_ref.rst b/doc/conf_ref.rst
|
||||
index 653ebbea..64dc8686 100644
|
||||
index 915ebbc3..2abeb9d6 100644
|
||||
--- a/doc/conf_ref.rst
|
||||
+++ b/doc/conf_ref.rst
|
||||
@@ -406,7 +406,7 @@ configuration file by your distribution to override the DNF defaults.
|
||||
@@ -440,7 +440,7 @@ configuration file by your distribution to override the DNF defaults.
|
||||
``persistdir``
|
||||
:ref:`string <string-label>`
|
||||
|
||||
- Directory where DNF stores its persistent data between runs. Default is ``"/var/lib/dnf"``.
|
||||
+ Directory where DNF stores its persistent data between runs. Default is ``"/usr/lib/sysimage/dnf"``.
|
||||
|
||||
.. _pluginconfpath-label:
|
||||
.. _persistence-label:
|
||||
|
||||
--
|
||||
2.31.1
|
||||
2.48.1
|
||||
|
||||
|
||||
91
dnf.changes
91
dnf.changes
@@ -1,3 +1,94 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 19 12:50:43 UTC 2025 - Dan Čermák <dcermak@suse.com>
|
||||
|
||||
- New upstream release 4.23.0
|
||||
* automatic: Enhance errors reporting
|
||||
* automatic: Fix incorrect Error class instantiation
|
||||
* doc: `--disableexcludepkgs=all` doesn't affect just file configuration
|
||||
* Update ko.po
|
||||
* Update README.rst started 1
|
||||
* Tests: Avoid the multiprocessing forkserver method
|
||||
* cli: Print a plugin suggestion on installed but expired pgp key
|
||||
* copr: Add Copr build files
|
||||
* Add support for --transient
|
||||
* bootc: Document `--transient` and `persistence`
|
||||
* bootc: Use ostree GObject API to get deployment status
|
||||
* bootc: "Re-locking": use ostree admin unlock --transient
|
||||
* spec: Add dnf-bootc subpackage
|
||||
* Require libdnf >= 0.74.0 with `persistence` option
|
||||
* Derive releasever_{major,minor} in conf, not substitutions
|
||||
* Override releasever_{major,minor} with provides
|
||||
* Add --releasever-major and --releasever-minor options
|
||||
* doc: Document detect_releasevers and update example
|
||||
* tests: Patch detect_releasevers, not detect_releasever
|
||||
* Document how --releasever, --releasever_{major,minor} affect each other
|
||||
* Move releasever_minor setter docstring to the correct function
|
||||
* Enable automatic PR reviews
|
||||
* Usage help: don't mark mandatory option parameters as optional
|
||||
|
||||
- New upstream release 4.22.0
|
||||
* doc: Naming of source and debug repos
|
||||
* spec: Fix ownership of /etc/yum tree
|
||||
* Allow --installroot on read-only bootc system
|
||||
* Allow --downloadonly on read-only bootc system
|
||||
* base: Add kernel-core to reboot_needed list
|
||||
* AUTHORS: Add myself
|
||||
* Update need_reboot for dnf-automatic
|
||||
* doc: Example send_error_messages in /etc/dnf/automatic.conf
|
||||
* automatic: Check availability of config file
|
||||
* Updated conf_ref to reflect change in fastestmirror behavior
|
||||
* Fix display issue of a code snippet.
|
||||
* Print rpm package unpack errors to the user (RhBug:2312906)
|
||||
* Fix package location if baseurl is present in the metadata
|
||||
|
||||
- Update to 4.21.0
|
||||
* Add detection for ostree-based systems and warn users about losing changes
|
||||
* Fix: No traceback when Python interpreter is running with -P
|
||||
* Allow `%py3_shebang_fix` macro to add `-P` argument to shebang lines
|
||||
* man: Improve upgrade-minimal command docs (RHEL-6417)
|
||||
* Limit queries to nevra forms when provided by command
|
||||
* [doc] Remove provide of spec definition for repoquery command
|
||||
* Update the man page entry for the countme option
|
||||
* Drop collect file for ABRT
|
||||
|
||||
- Update to 4.20.0:
|
||||
* repoquery: Fix loading filelists when -f is used (RhBug:2276012)
|
||||
* remove: --duplicates and --oldinstallonly exit with 0 when nothing to do (RHEL-6424)
|
||||
* man: Prepare pages for dnf5 switch
|
||||
|
||||
- New upstream release 4.19.1:
|
||||
* Add required `.readthedocs.yaml`, `conf.py` and set `sphinx_rtd_theme`
|
||||
* Drop dnf obsoletion temporarily
|
||||
* doc: Update FAQ entry on filelists
|
||||
* build: Adapt to changes in Fedora packaging of bash-completion
|
||||
* Support RPMTRANS_FLAG_DEPLOOPS
|
||||
* Add all candidates for reinstall to solver
|
||||
* Fix handling installonly packages reasons
|
||||
* Remove confusing sentence from documentation
|
||||
* Remove "leaf" word from documentation
|
||||
* Update documentation of history userinstalled command
|
||||
* Onboard packit tests
|
||||
* doc: Makecache with timer tries only one mirror
|
||||
* ELN: Don't obsolete DNF with DNF5 yet
|
||||
* bash-completion: Complete dnf command only if we own it
|
||||
* bash-completion: Prepare ownerships for dnf5 switch
|
||||
|
||||
- New upstream release 4.19:
|
||||
* filelists metadata loading on demand
|
||||
* deltarpm disabled on Fedora by default
|
||||
* conf: Introduce new optional_metadata_types option to load filelists on demand
|
||||
* cli: Add a hint for user on transaction file dependency failure
|
||||
* cli: Setup filelists metadata for commands that need them
|
||||
* util: Add function for detecting file in specs
|
||||
* Fix failing API unit test on rawhide (RhBug:2261066)
|
||||
* automatic: Use add_security_filters, not _update_security_filters
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 11 13:47:15 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Do not recommend -lang package: the lang package has already the
|
||||
relevant supplements in place.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 13 10:30:39 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
|
||||
22
dnf.spec
22
dnf.spec
@@ -16,12 +16,11 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global hawkey_version 0.71.1
|
||||
%global hawkey_version 0.74.0
|
||||
%global libcomps_version 0.1.8
|
||||
%global libmodulemd_version 2.9.3
|
||||
%global rpm_version 4.14.0
|
||||
%global min_plugins_core 4.0.26
|
||||
%global min_plugins_core 4.7.0
|
||||
%global min_plugins_extras 4.0.4
|
||||
|
||||
%global confdir %{_sysconfdir}/%{name}
|
||||
@@ -50,7 +49,7 @@
|
||||
%bcond_with tests
|
||||
|
||||
Name: dnf
|
||||
Version: 4.18.0
|
||||
Version: 4.23.0
|
||||
Release: 0
|
||||
Summary: Package manager forked from Yum, using libsolv as a dependency resolver
|
||||
# For a breakdown of the licensing, see PACKAGE-LICENSING
|
||||
@@ -75,11 +74,11 @@ BuildRequires: python3-bugzilla
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: pkgconfig(bash-completion)
|
||||
Requires: python3-dnf = %{version}-%{release}
|
||||
Recommends: %{name}-lang >= %{version}
|
||||
Recommends: %{yum_subpackage_name}
|
||||
Recommends: dnf-plugins-core
|
||||
Conflicts: dnf-plugins-core < %{min_plugins_core}
|
||||
Provides: dnf4 = %{version}-%{release}
|
||||
Provides: dnf-command(alias)
|
||||
Provides: dnf-command(autoremove)
|
||||
Provides: dnf-command(check-update)
|
||||
Provides: dnf-command(clean)
|
||||
@@ -101,7 +100,6 @@ Provides: dnf-command(repository-packages)
|
||||
Provides: dnf-command(search)
|
||||
Provides: dnf-command(updateinfo)
|
||||
Provides: dnf-command(upgrade)
|
||||
Provides: dnf-command(upgrade-to)
|
||||
BuildArch: noarch
|
||||
%{?systemd_ordering}
|
||||
|
||||
@@ -233,15 +231,24 @@ mkdir -p %{buildroot}%{_localstatedir}/log
|
||||
mkdir -p %{buildroot}%{_var}/cache/dnf
|
||||
touch %{buildroot}%{_localstatedir}/log/%{name}.log
|
||||
|
||||
|
||||
ln -sr %{buildroot}%{_bindir}/dnf-3 %{buildroot}%{_bindir}/dnf
|
||||
ln -sr %{buildroot}%{_datadir}/bash-completion/completions/dnf-3 %{buildroot}%{_datadir}/bash-completion/completions/dnf
|
||||
for file in %{buildroot}%{_mandir}/man[578]/dnf4[-.]*; do
|
||||
dir=$(dirname $file)
|
||||
filename=$(basename $file)
|
||||
mv $file $dir/${filename/dnf4/dnf}
|
||||
done
|
||||
|
||||
ln -sr %{buildroot}%{_bindir}/dnf-3 %{buildroot}%{_bindir}/dnf4
|
||||
mv %{buildroot}%{_bindir}/dnf-automatic-3 %{buildroot}%{_bindir}/dnf-automatic
|
||||
ln -sr %{buildroot}%{_bindir}/dnf-3 %{buildroot}%{_bindir}/yum
|
||||
rm -vf %{buildroot}%{_bindir}/dnf-automatic-*
|
||||
|
||||
# Create protected.d file for dnf
|
||||
echo "dnf" > %{buildroot}%{confdir}/protected.d/dnf.conf
|
||||
|
||||
%if %{with as_yum}
|
||||
ln -sr %{buildroot}%{_bindir}/dnf-3 %{buildroot}%{_bindir}/yum
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/yum
|
||||
ln -sr %{buildroot}%{confdir}/%{name}.conf %{buildroot}%{_sysconfdir}/yum/yum.conf
|
||||
ln -sr %{buildroot}%{pluginconfpath} %{buildroot}%{_sysconfdir}/yum/pluginconf.d
|
||||
@@ -309,6 +316,7 @@ popd
|
||||
%ghost %{persistdir}/history
|
||||
%ghost %{_sharedstatedir}/%{name}
|
||||
%{_datadir}/bash-completion/completions/dnf
|
||||
%{_datadir}/bash-completion/completions/dnf-3
|
||||
%{_mandir}/man5/dnf.conf.5.*
|
||||
%{_tmpfilesdir}/dnf.conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user