| Summary: | zif.conf should be marked %config(noreplace) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kevin Kofler <kevin> |
| Component: | zif | Assignee: | Richard Hughes <hughsient> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | hughsient, mads, metherid |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-17 11:19:38 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Kevin Kofler
2011-09-17 09:11:33 UTC
So just:
@@ -70,7 +70,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libzif*.la
%{_mandir}/man1/*.1.gz
%dir %{_sysconfdir}/zif
%config %{_sysconfdir}/bash_completion.d/*-completion.bash
-%config %{_sysconfdir}/zif/zif.conf
+%config(noreplace) %{_sysconfdir}/zif/zif.conf
?
Yes. As recommended in the packaging guidelines files in /etc should be always marked that unless there is a incompatible file format change or something of that sort. Yes, that one-line change is all that's needed. I've applied this upstream:
commit fd5727307d3f1eaf86e2eb85958f493334cefecb
Author: Richard Hughes <richard>
Date: Sat Sep 17 12:17:55 2011 +0100
Mark the config file %config(noreplace) in the spec file example
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=739282
The next upstream release is in about 2 weeks, and I'll sync the upstream .spec file with the Fedora one then. Thanks.
|