Accepting request 1147615 from home:dimstar:Factory

- Provide user(cntlm): the user is created by the pre script.
  Advertise this capability of the package.

OBS-URL: https://build.opensuse.org/request/show/1147615
OBS-URL: https://build.opensuse.org/package/show/server:proxy/cntlm?expand=0&rev=42
This commit is contained in:
Martin Pluskal
2024-02-19 15:43:53 +00:00
committed by Git OBS Bridge
parent f87ec26174
commit f98cbeef68
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 19 15:13:18 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Provide user(cntlm): the user is created by the pre script.
Advertise this capability of the package.
-------------------------------------------------------------------
Fri Aug 27 08:31:55 UTC 2021 - Johannes Segitz <jsegitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package cntlm
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2007 Scorpio IT, Deidesheim, Germany
#
# All modifications and additions to the file contributed by third parties
@@ -42,6 +42,7 @@ Patch1: cntlm-0.92.3-HTTP-1.1-persistent-connections-with-HTTP-1.0-clien
Requires(pre): grep
Requires(pre): pwdutils
Requires(pre): group(nogroup)
Provides: user(%{name})
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} < 1230
Requires(pre): %fillup_prereq
@@ -102,7 +103,7 @@ fi
%service_del_preun %{name}.service
%endif
#if [ "$1" -eq 0 ]; then
# %{_sbindir}/userdel %{name}
# %{_sbindir}/userdel %{name}
#fi
%post