public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Revert "dnf5: disable vendor change by default"
@ 2026-09-10 16:00 Adam Williamson
  0 siblings, 0 replies; only message in thread
From: Adam Williamson @ 2026-09-10 16:00 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : 207271931104c2c86d071cdcd36022f545b378ef
            Author : Adam Williamson <adamwill@fedoraproject.org>
            Date   : 2026-09-10T08:59:28-07:00
            Stats  : +0/-15 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/207271931104c2c86d071cdcd36022f545b378ef?branch=f45

            Log:
            Revert "dnf5: disable vendor change by default"

This reverts commit 008c99e25637befcf2e98a3ea0386dc51f83653c. It
is part of a Change:
https://fedoraproject.org/wiki/Changes/DisableVendorChangeByDefault
but was not landed in Fedora 45 by the Change deadlines, and
ultimately FESCo voted to defer it to Fedora 46:
https://forge.fedoraproject.org/fesco/tickets/issues/3682#issuecomment-1355057
so the change should be reverted on f45 branch.

---
diff --git a/20-fedora-defaults.conf b/20-fedora-defaults.conf
index b89e455..876df94 100644
--- a/20-fedora-defaults.conf
+++ b/20-fedora-defaults.conf
@@ -1,5 +1,4 @@
 [main]
-allow_vendor_change=False
 best=False
 pkg_gpgcheck=True
 skip_if_unavailable=True

diff --git a/allow-cmdline.conf b/allow-cmdline.conf
deleted file mode 100644
index b71b869..0000000
--- a/allow-cmdline.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-# Allow vendor change for packages specified directly by path or URL (e.g.
-# "dnf install /path/to/package.rpm" or
-# "dnf install https://example.com/package.rpm"). This is an exception to
-# the global allow_vendor_change=False set in 20-fedora-defaults.conf.
-
-version = '1.1'
-
-[[incoming_packages]]
-filters = [
-  { filter = 'cmdline_repo', value = 'true' }
-]

diff --git a/fedora-release.spec b/fedora-release.spec
index f050503..e9adf6f 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -57,7 +57,6 @@ Source33:       plasma-mobile.conf
 Source34:       80-kde-mobile.preset
 Source35:       fedora-miraclewm.conf
 Source36:       fedora-cosmic.conf
-Source37:       allow-cmdline.conf
 
 BuildArch:      noarch
 
@@ -1909,7 +1908,6 @@ ln -s --relative %{buildroot}%{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swid
 
 # Install DNF 5 configuration defaults
 install -Dm0644 %{SOURCE31} -t %{buildroot}%{_prefix}/share/dnf5/libdnf.conf.d/
-install -Dm0644 %{SOURCE37} -t %{buildroot}%{_prefix}/share/dnf5/vendors.d/
 
 
 %files common
@@ -1932,7 +1930,6 @@ install -Dm0644 %{SOURCE37} -t %{buildroot}%{_prefix}/share/dnf5/vendors.d/
 %dir %{_sysconfdir}/swid
 %{_sysconfdir}/swid/swidtags.d
 %{_prefix}/share/dnf5/libdnf.conf.d/20-fedora-defaults.conf
-%{_prefix}/share/dnf5/vendors.d/allow-cmdline.conf
 
 
 %files

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-10 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 16:00 [rpms/fedora-release] f45: Revert "dnf5: disable vendor change by default" Adam Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox