diff --git a/libsystemd-shared.abignore b/libsystemd-shared.abignore new file mode 100644 index 0000000..e412d8b --- /dev/null +++ b/libsystemd-shared.abignore @@ -0,0 +1,3 @@ +[suppress_file] +# This shared object is private to systemd +file_name_regexp=libsystemd-shared-.*.so diff --git a/systemd.rpmlintrc b/systemd.rpmlintrc index 6bb8cb0..9db0ab0 100644 --- a/systemd.rpmlintrc +++ b/systemd.rpmlintrc @@ -39,7 +39,7 @@ addFilter(r'systemd-tests\..*: W: no-documentation') addFilter(r'systemd-tests.*: E: zero-length /usr/lib/systemd/tests/testdata/test-umount/empty.mountinfo') -addFilter(r'hardcoded-library-path in.*(firewalld|install.d)') +addFilter(r'hardcoded-library-path in.*(firewalld|install.d|lib/systemd)') # everybody does it this way: systemd, syslog-ng, rsyslog addFilter(r'unversioned-explicit-provides syslog') diff --git a/systemd.spec b/systemd.spec index 18f027e..6f96135 100644 --- a/systemd.spec +++ b/systemd.spec @@ -51,6 +51,7 @@ Source9: 20-yama-ptrace.conf Source10: systemd-udev-trigger-no-reload.conf Source11: 20-grubby.install Source12: systemd-user +Source13: libsystemd-shared.abignore Source21: macros.sysusers Source22: sysusers.attr @@ -460,6 +461,8 @@ EOF install -Dm0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE11} +install -Dm0755 -t %{buildroot}%{_prefix}/lib/systemd/ %{SOURCE13} + install -D -t %{buildroot}/usr/lib/systemd/ %{SOURCE3} sed -i 's|#!/usr/bin/env python3|#!%{__python3}|' %{buildroot}/usr/lib/systemd/tests/run-unit-tests.py