diff --git a/anaconda.spec.in b/anaconda.spec.in index 2ea13f04a50..a691ec4f68c 100644 --- a/anaconda.spec.in +++ b/anaconda.spec.in @@ -482,6 +482,32 @@ rm -rf \ %{_prefix}/lib/dracut/modules.d/80%{name}/* %{_prefix}/libexec/anaconda/dd_* +# Make sure to not overwrite user configurtion files +# This supressess rpmlint conffile-without-noreplace-flag warning +%config(noreplace) /etc/anaconda/anaconda.conf +%config(noreplace) /etc/anaconda/conf.d/00-do-nothing.conf +%config(noreplace) /etc/anaconda/conf.d/01-still-do-nothing.conf +%config(noreplace) /etc/anaconda/conf.d/README +%config(noreplace) /etc/anaconda/profile.d/almalinux.conf +%config(noreplace) /etc/anaconda/profile.d/centos.conf +%config(noreplace) /etc/anaconda/profile.d/circle.conf +%config(noreplace) /etc/anaconda/profile.d/fedora-designsuite.conf +%config(noreplace) /etc/anaconda/profile.d/fedora-eln.conf +%config(noreplace) /etc/anaconda/profile.d/fedora-iot.conf +%config(noreplace) /etc/anaconda/profile.d/fedora-kde.conf +%config(noreplace) /etc/anaconda/profile.d/fedora-kinoite.conf +%config(noreplace) /etc/anaconda/profile.d/fedora-sericea.conf +%config(noreplace) /etc/anaconda/profile.d/fedora-server.conf +%config(noreplace) /etc/anaconda/profile.d/fedora-silverblue.conf +%config(noreplace) /etc/anaconda/profile.d/fedora-workstation.conf +%config(noreplace) /etc/anaconda/profile.d/fedora.conf +%config(noreplace) /etc/anaconda/profile.d/ovirt.conf +%config(noreplace) /etc/anaconda/profile.d/rhel.conf +%config(noreplace) /etc/anaconda/profile.d/rhvh.conf +%config(noreplace) /etc/anaconda/profile.d/rocky.conf +%config(noreplace) /etc/anaconda/profile.d/scientific-linux.conf +%config(noreplace) /etc/anaconda/profile.d/virtuozzo-linux.conf + %changelog * Tue Oct 01 2024 github-actions - 42.5-1 - docs: Adjust CONTRIBUTING document to mention automatic linter checks