From 06dc464d520c0953354f7b5fb67b397054d6bce0 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 19 Aug 2022 19:18:35 +0200 Subject: [PATCH] Use %sysusers_requires_compat to match %sysusers_create_compat The %sysusers_create_compat RPM macro was introduced in commit 6c2b44a54a5e6c75, so this is meant to match with that. It's not clear why the 'Requires(pre)' was added to the flatpak-libs sub-package in commit b6456a51bb98ec1b when the actual %pre scriptlet is part of the main package. It was likely a mistake. --- flatpak.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/flatpak.spec b/flatpak.spec index 82e4c0d..5672970 100644 --- a/flatpak.spec +++ b/flatpak.spec @@ -6,7 +6,7 @@ Name: flatpak Version: 1.13.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Application deployment framework for desktop apps License: LGPLv2+ @@ -59,6 +59,8 @@ BuildRequires: /usr/bin/xdg-dbus-proxy BuildRequires: /usr/bin/xmlto BuildRequires: /usr/bin/xsltproc +%{?sysusers_requires_compat} + Requires: appstream%{?_isa} >= %{appstream_version} Requires: bubblewrap >= %{bubblewrap_version} Requires: glib2%{?_isa} >= %{glib_version} @@ -97,7 +99,6 @@ Summary: Libraries for %{name} License: LGPLv2+ Requires: bubblewrap >= %{bubblewrap_version} Requires: ostree%{?_isa} >= %{ostree_version} -Requires(pre): /usr/sbin/useradd %description libs This package contains libflatpak. @@ -278,6 +279,9 @@ fi %changelog +* Fri Aug 19 2022 Debarshi Ray - 1.13.3-6 +- Use %%sysusers_requires_compat to match %%sysusers_create_compat + * Thu Jul 21 2022 Fedora Release Engineering - 1.13.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild