public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cinnamon-settings-daemon] rawhide: Change '%config' to '%config(noreplace)' for autostart files
@ 2026-07-25 17:52 Michal Schorm
  0 siblings, 0 replies; only message in thread
From: Michal Schorm @ 2026-07-25 17:52 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/cinnamon-settings-daemon
            Branch : rawhide
            Commit : 93fd545d92aab0f6c9d613296cb1fd385ea0c137
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-07-25T15:58:47+02:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/cinnamon-settings-daemon/c/93fd545d92aab0f6c9d613296cb1fd385ea0c137?branch=rawhide

            Log:
            Change '%config' to '%config(noreplace)' for autostart files

XDG autostart desktop files under '/etc/xdg/autostart/' should use
'%config(noreplace)' so that user modifications are preserved on
package upgrades instead of being silently overwritten.

'meson.build' line 31 defines the install path:
  autostartdir = join_paths(sysconfdir, 'xdg', 'autostart')
https://github.com/linuxmint/cinnamon-settings-daemon/blob/6.7.2-unstable/meson.build#L31

Co-Authored-By: Claude AI <noreply@anthropic.com>

---
diff --git a/cinnamon-settings-daemon.spec b/cinnamon-settings-daemon.spec
index 4a23559..113f24b 100644
--- a/cinnamon-settings-daemon.spec
+++ b/cinnamon-settings-daemon.spec
@@ -84,7 +84,7 @@ rm -rf %{buildroot}%{_libdir}/cinnamon-settings-daemon/
 %doc AUTHORS
 %license COPYING COPYING.LIB
 %{_bindir}/csd-*
-%config %{_sysconfdir}/xdg/autostart/*
+%config(noreplace) %{_sysconfdir}/xdg/autostart/*
 %{_libexecdir}/csd-a11y-settings
 %{_libexecdir}/csd-automount
 %{_libexecdir}/csd-background

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

only message in thread, other threads:[~2026-07-25 17:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-25 17:52 [rpms/cinnamon-settings-daemon] rawhide: Change '%config' to '%config(noreplace)' for autostart files Michal Schorm

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