[PATCH] config: files under /usr/lib/sysctl.d (_sysctldir) aren't %config.

Mark Wielaard mark@klomp.org
Thu Nov 2 15:54:00 GMT 2017


Admin can place the real config file under /etc/sysctl.d as override.
https://bugzilla.redhat.com/show_bug.cgi?id=1506660

Signed-off-by: Mark Wielaard <mark@klomp.org>
---
 config/ChangeLog        | 5 +++++
 config/elfutils.spec.in | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/config/ChangeLog b/config/ChangeLog
index de0d890..ae40cc0 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2017-11-02  Mark Wielaard  <mark@klomp.org>
+
+	* elfutils.spec.in: Config files under /usr/lib/sysctl.d (_sysctldir)
+	aren't %config.
+
 2017-10-24  Mark Wielaard  <mark@klomp.org>
 
 	* eu.am (AM_CFLAGS): Handle -Wno-packed-not-aligned.
diff --git a/config/elfutils.spec.in b/config/elfutils.spec.in
index 439fcb7..1d0a4f8 100644
--- a/config/elfutils.spec.in
+++ b/config/elfutils.spec.in
@@ -224,10 +224,10 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_libdir}/libelf.a
 
 %files default-yama-scope
-%config(noreplace) %{_sysctldir}/10-default-yama-scope.conf
+%{_sysctldir}/10-default-yama-scope.conf
 
 %changelog
-* Wed Aug  2 2017 Mark Wielaard <mark@gmail.com> 0.170-1
+* Wed Aug  2 2017 Mark Wielaard <mark@klomp.org> 0.170-1
 - libdw: Added new DWARF5 attribute, tag, character encoding,
   language code, calling convention, defaulted member function
   and macro constants to dwarf.h.
-- 
1.8.3.1



More information about the Elfutils-devel mailing list