diff --git a/malcontent.changes b/malcontent.changes index 3c05521..deea1fd 100644 --- a/malcontent.changes +++ b/malcontent.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 28 13:36:51 UTC 2021 - Dominique Leuenberger + +- Use %_pam_moduledir instead of harcoding %{_lib}/security + (boo#1191037). + ------------------------------------------------------------------- Mon May 31 16:38:20 UTC 2021 - Ferdinand Thiessen diff --git a/malcontent.spec b/malcontent.spec index d01d3cf..11f48da 100644 --- a/malcontent.spec +++ b/malcontent.spec @@ -20,7 +20,7 @@ Name: malcontent Version: 0.10.1 Release: 0 Summary: Parental control system -License: LGPL-2.1-or-later AND GPL-2.0-or-later +License: GPL-2.0-or-later AND LGPL-2.1-or-later URL: https://gitlab.freedesktop.org/pwithnall/malcontent Source: https://tecnocode.co.uk/downloads/%{name}-%{version}.tar.xz BuildRequires: itstool @@ -102,7 +102,7 @@ sed -i 's|env python3|python3|' malcontent-client/malcontent-client.py %build %meson \ - -Dpamlibdir=/%{_lib}/security + -Dpamlibdir=%{_pam_moduledir} %meson_build %install @@ -121,7 +121,7 @@ mv %{buildroot}%{_datadir}/polkit-1/rules.d/com.endlessm.ParentalControls.rules %license COPYING %doc NEWS README.md %doc com.endlessm.ParentalControls.rules -/%{_lib}/security/pam_malcontent.so +%{_pam_moduledir}/pam_malcontent.so %{_bindir}/malcontent-client %{_mandir}/man8/malcontent-client.8%{?ext_man} %{_datadir}/dbus-1/interfaces/com.endlessm.ParentalControls.*