summaryrefslogtreecommitdiffstats
path: root/specs
diff options
context:
space:
mode:
authorAbhishek Koneru <akoneru@redhat.com>2013-03-15 18:16:58 -0400
committerAbhishek Koneru <akoneru@redhat.com>2013-03-21 12:40:25 -0400
commit7020d42908ec515a4d77312c5d91dec201b05645 (patch)
tree14d44d17250765ddf364eeffcd124ef703324bc1 /specs
parentc9a081037aa5bf15cf6226f06ea54ea98deba5bc (diff)
downloadpki-7020d42908ec515a4d77312c5d91dec201b05645.tar.gz
pki-7020d42908ec515a4d77312c5d91dec201b05645.tar.xz
pki-7020d42908ec515a4d77312c5d91dec201b05645.zip
Adding changes to pki-core.spec file so that the system wide
configuration file, /etc/pki/pki.conf does not get replaced on upgrade, if edited on the disk and the user's configurations are not lost. Ticket #507
Diffstat (limited to 'specs')
-rw-r--r--specs/pki-core.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/specs/pki-core.spec b/specs/pki-core.spec
index c33ff12de..4bd4f0100 100644
--- a/specs/pki-core.spec
+++ b/specs/pki-core.spec
@@ -858,7 +858,9 @@ fi
%defattr(-,root,root,-)
%doc base/common/THIRD_PARTY_LICENSES
%doc base/deploy/LICENSE
-%{_sysconfdir}/pki/
+%dir %{_sysconfdir}/pki/
+%config(noreplace) %{_sysconfdir}/pki/pki.conf
+%{_sysconfdir}/pki/default.cfg
%{_sbindir}/pkispawn
%{_sbindir}/pkidestroy
#%{_bindir}/pki-setup-proxy