-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
infra: Fix rpmlint conffile-without-noreplace-flag warning
rpmlint requires configuration files to be explicite mentioned in the spec file.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[email protected]> - 42.5-1 | ||
- docs: Adjust CONTRIBUTING document to mention automatic linter checks | ||
|