This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]