diff --git a/.files b/.files
index 7b336a3..9c8d93e 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index bbe6075..1c63c3b 100644
--- a/.rev
+++ b/.rev
@@ -1118,4 +1118,12 @@ By now, it's required for sle-15, so synchronized the updated specfile and chang
Scripted push from GNOME:Factory
984690
+
+ d3971491c447f29a4f98c98fd99af9ae
+ 22.08.8
+
+ dimstar_suse
+
+ 993122
+
diff --git a/accountsservice.changes b/accountsservice.changes
index e2b09e5..bac798d 100644
--- a/accountsservice.changes
+++ b/accountsservice.changes
@@ -1,4 +1,19 @@
-------------------------------------------------------------------
+Mon Aug 1 12:01:59 UTC 2022 - Matthias Gerstner
+
+- Remove BuildIgnore for rpmlint-mini. This is a violation of the
+ security policies applying to SUSE products as it circumvents the
+ SUSE security team's control over what enters Factory and what
+ not.
+
+-------------------------------------------------------------------
+Fri Jul 29 13:11:50 UTC 2022 - Frederic Crozat
+
+- Allow to build without vala support.
+- Refresh harden_accounts-daemon.service.patch to not duplicate
+ existing entries.
+
+-------------------------------------------------------------------
Sat Apr 30 20:16:58 UTC 2022 - Ferdinand Thiessen
- Update to version 22.08.8
diff --git a/accountsservice.spec b/accountsservice.spec
index 281ada9..1ae5b02 100644
--- a/accountsservice.spec
+++ b/accountsservice.spec
@@ -16,7 +16,9 @@
#
-#!BuildIgnore: rpmlint-mini
+# allow to not build vala binding
+%bcond_without vala
+
Name: accountsservice
Version: 22.08.8
Release: 0
@@ -41,7 +43,6 @@ Patch1000: as-fate318433-prevent-same-account-multi-logins.patch
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig
-BuildRequires: vala
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gio-2.0) >= 2.63.5
BuildRequires: pkgconfig(gio-unix-2.0)
@@ -92,17 +93,20 @@ Requires: typelib-1_0-AccountsService-1_0 = %{version}
The accountsservice server provides a set of D-Bus interfaces for
querying and manipulating user account information.
+%if %{with vala}
%package vala
Summary: Vala bindings for accountsservice
Group: Development/Libraries/C and C++
Requires: libaccountsservice0 = %{version}
Requires: typelib-1_0-AccountsService-1_0 = %{version}
+BuildRequires: vala
%description vala
The accountsservice server provides a set of D-Bus interfaces for
querying and manipulating user account information.
This package contains the Vala bindings for accountservice.
+%endif
%lang_package
@@ -121,6 +125,11 @@ This package contains the Vala bindings for accountservice.
%meson \
-Dintrospection=true \
-Dgtk_doc=true \
+%if %{with vala}
+ -Dvapi=true \
+%else
+ -Dvapi=false \
+%endif
%{nil}
%meson_build
@@ -175,10 +184,12 @@ This package contains the Vala bindings for accountservice.
%{_includedir}/accountsservice-1.0/
%{_datadir}/gir-1.0/AccountsService-1.0.gir
+%if %{with vala}
%files vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/accountsservice.deps
%{_datadir}/vala/vapi/accountsservice.vapi
+%endif
%files lang -f accounts-service.lang
diff --git a/harden_accounts-daemon.service.patch b/harden_accounts-daemon.service.patch
index 2e8d8c3..5362251 100644
--- a/harden_accounts-daemon.service.patch
+++ b/harden_accounts-daemon.service.patch
@@ -1,20 +1,16 @@
-Index: accountsservice-0.6.55/data/accounts-daemon.service.in
+Index: accountsservice-22.08.8/data/accounts-daemon.service.in
===================================================================
---- accountsservice-0.6.55.orig/data/accounts-daemon.service.in
-+++ accountsservice-0.6.55/data/accounts-daemon.service.in
-@@ -8,6 +8,15 @@ After=nss-user-lookup.target
+--- accountsservice-22.08.8.orig/data/accounts-daemon.service.in 2022-02-23 16:27:48.000000000 +0100
++++ accountsservice-22.08.8/data/accounts-daemon.service.in 2022-08-02 09:17:14.424438207 +0200
+@@ -8,6 +8,11 @@
Wants=nss-user-lookup.target
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
-+PrivateDevices=true
+ProtectHostname=true
+ProtectClock=true
-+ProtectKernelTunables=true
-+ProtectKernelModules=true
+ProtectKernelLogs=true
-+ProtectControlGroups=true
Type=dbus
BusName=org.freedesktop.Accounts
ExecStart=@libexecdir@/accounts-daemon