0.170-2 - Config files under /usr/lib/sysctl.d (_sysctldir) aren't %config.

Resolves: #1506660
This commit is contained in:
Mark Wielaard 2017-11-02 16:57:11 +01:00
parent 01b23e5949
commit 65aba6bdca
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Name: elfutils Name: elfutils
Summary: A collection of utilities and DSOs to handle ELF files and DWARF data Summary: A collection of utilities and DSOs to handle ELF files and DWARF data
Version: 0.170 Version: 0.170
%global baserelease 1 %global baserelease 2
URL: http://elfutils.org/ URL: http://elfutils.org/
%global source_url ftp://sourceware.org/pub/elfutils/%{version}/ %global source_url ftp://sourceware.org/pub/elfutils/%{version}/
License: GPLv3+ and (GPLv2+ or LGPLv3+) License: GPLv3+ and (GPLv2+ or LGPLv3+)
@ -296,10 +296,14 @@ rm -rf ${RPM_BUILD_ROOT}
%if %{provide_yama_scope} %if %{provide_yama_scope}
%files default-yama-scope %files default-yama-scope
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysctldir}/10-default-yama-scope.conf %{_sysctldir}/10-default-yama-scope.conf
%endif %endif
%changelog %changelog
* Thu Nov 2 2017 Mark Wielaard <mjw@redhat.com> - 0.170-2
- Config files under /usr/lib/sysctl.d (_sysctldir) aren't %config (#1506660)
Admin can place the real config file under /etc/sysctl.d as override.
* Thu Aug 3 2017 Mark Wielaard <mjw@fedoraproject.org> - 0.170-1 * Thu Aug 3 2017 Mark Wielaard <mjw@fedoraproject.org> - 0.170-1
- New upstream release. Remove upstreamed patches. - New upstream release. Remove upstreamed patches.
- provide_yama_scope for either fedora >= 22 and rhel >= 7. - provide_yama_scope for either fedora >= 22 and rhel >= 7.