Accepting request 921994 from GNOME:Next

- Use %_pam_moduledir instead of harcoding %{_lib}/security
  (boo#1191037).

OBS-URL: https://build.opensuse.org/request/show/921994
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/malcontent?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2021-09-29 07:18:31 +00:00 committed by Git OBS Bridge
parent 258ea2b9e6
commit d90ea388e1
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 28 13:36:51 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %_pam_moduledir instead of harcoding %{_lib}/security
(boo#1191037).
-------------------------------------------------------------------
Mon May 31 16:38:20 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -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.*