From 496b6c7930716acb34d439d3bd6539bb097b0c58 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 11 Nov 2026 12:34:31 +0100 Subject: [PATCH] Declare dependencies for service account management Add the Debian adduser dependency and RPM shadow-utils scriptlet dependencies so service account creation works on minimal installations. --- debian/control | 2 +- metaproxy.spec | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 518b4fa..7718c6f 100644 --- a/debian/control +++ b/debian/control @@ -17,7 +17,7 @@ Build-Depends: debhelper-compat (= 13), Package: metaproxy Section: net Architecture: any -Depends: ${shlibs:Depends}, libmetaproxy6 (= ${source:Version}) +Depends: ${shlibs:Depends}, libmetaproxy6 (= ${source:Version}), adduser Conflicts: cf-engine (<= 2.12.5) Provides: metaproxy6 Description: Z39.50/SRU router (main executable) diff --git a/metaproxy.spec b/metaproxy.spec index 3b4f7e5..9a28137 100644 --- a/metaproxy.spec +++ b/metaproxy.spec @@ -25,6 +25,8 @@ URL: https://www.indexdata.com/metaproxy %{?systemd_requires} Requires: libmetaproxy6 = %{version} +Requires(post): shadow-utils +Requires(preun): shadow-utils Provides: metaproxy6 %description