Blame SOURCES/spec-Mark-configuration-files-with-config.patch

273c50
From 8ead51bb37c1d95bdba7f224288255de95a05034 Mon Sep 17 00:00:00 2001
273c50
From: John Kacur <jkacur@redhat.com>
273c50
Date: Mon, 19 Aug 2013 22:28:01 +0200
273c50
Subject: [PATCH 1/4] spec: Mark configuration files with %config
273c50
273c50
Explicitly declaring configuration files as such, prevents rpmlint
273c50
from falsely complaining that non-configuration files are being installed
273c50
in /etc
273c50
273c50
Signed-off-by: John Kacur <jkacur@redhat.com>
273c50
---
273c50
 rpm/SPECS/tuna.spec | 4 ++--
273c50
 1 file changed, 2 insertions(+), 2 deletions(-)
273c50
273c50
diff --git a/rpm/SPECS/tuna.spec b/rpm/SPECS/tuna.spec
273c50
index 9393df6..4dd26f8 100644
273c50
--- a/rpm/SPECS/tuna.spec
273c50
+++ b/rpm/SPECS/tuna.spec
273c50
@@ -86,8 +86,8 @@ rm -rf %{buildroot}
273c50
 %{_datadir}/tuna/
273c50
 %{python_sitelib}/tuna/
273c50
 %{_mandir}/man8/tuna.8*
273c50
-%{_sysconfdir}/tuna.conf
273c50
-%{_sysconfdir}/tuna/*
273c50
+%config(noreplace) %{_sysconfdir}/tuna.conf
273c50
+%config %{_sysconfdir}/tuna/example.conf
273c50
 %{_datadir}/polkit-1/actions/org.tuna.policy
273c50
 
273c50
 %files -n oscilloscope
273c50
-- 
273c50
1.8.1.4
273c50