Bug 1374050

Summary: /etc/ImageMagick-6/* not flagged as %config files
Product: [Fedora] Fedora Reporter: Phil <beaaegicfqmq6rykaqaakty3lqcg6btv>
Component: ImageMagickAssignee: Remi Collet <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: ethan, fedora, nmurray, pahan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ImageMagick-6.9.3.0-6.fc25 ImageMagick-6.9.3.0-6.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-15 18:23:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Phil 2016-09-07 20:01:26 UTC
Description of problem:
Local changes to files in /etc/ImageMagick-6/ will be overwritten when upgrading the package.

Version-Release number of selected component (if applicable):
6.9.3.0-2.fc24

How reproducible:
always

Steps to Reproduce:
1. install ImageMagick-libs
2. edit files in /etc/ImageMagick-6/
3. update ImageMagick-libs

Actual results:
changes to config files get lost

Expected results:
changes to config files are kept

Additional info:
--%snip%--
@@ -253,7 +253,8 @@ make %{?_smp_mflags} check
 %{_libdir}/%{name}-%{VER}
 %{_datadir}/%{name}-6
 %exclude %{_libdir}/%{name}-%{VER}/modules-Q16/coders/djvu.*
-%{_sysconfdir}/%{name}-6
+%dir %{_sysconfdir}/%{name}-6
+%config(noreplace) %{_sysconfdir}/%{name}-6/*
 
 %files devel
 %{_bindir}/MagickCore-config
--%snip%--

Comment 1 Remi Collet 2017-03-11 06:51:05 UTC
Will fix it ini F26+

Comment 2 Fedora Update System 2017-03-11 08:21:30 UTC
ImageMagick-6.9.3.0-6.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-817ddca577

Comment 3 Fedora Update System 2017-03-11 08:21:42 UTC
ImageMagick-6.9.3.0-6.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6f51c4776d

Comment 4 Fedora Update System 2017-03-11 16:23:01 UTC
ImageMagick-6.9.3.0-6.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6f51c4776d

Comment 5 Fedora Update System 2017-03-13 00:20:42 UTC
ImageMagick-6.9.3.0-6.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-817ddca577

Comment 6 Fedora Update System 2017-03-15 18:23:01 UTC
ImageMagick-6.9.3.0-6.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2017-04-01 16:55:55 UTC
ImageMagick-6.9.3.0-6.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.