Accepting request 901117 from home:dimstar:Factory

- Bump version up to 3.1. The --replace parameter only appeared in
  systemd 238, so we need to ensure to get the update order correct
  for sysuser-generate when using the 3rd command line parameters:
  * systemd -> sysuser-tools -> system-{user|group}-FOO.
- Add Conflicts systemd < 238 to sysuser-shadow
- update sysuser_requires to request sysuser-shadow 3.1

OBS-URL: https://build.opensuse.org/request/show/901117
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=45
This commit is contained in:
Dominique Leuenberger 2021-06-21 10:02:40 +00:00 committed by Git OBS Bridge
parent 1d4aa7fd58
commit 8545e7eac4
3 changed files with 14 additions and 2 deletions

View File

@ -18,7 +18,7 @@
#
###
%sysusers_requires Requires(pre): sysuser-shadow
%sysusers_requires Requires(pre): sysuser-shadow >= 3.1
%sysusers_generate_pre() \
%{_prefix}/lib/rpm/sysusers-generate-pre "%1" "%3" > "%2".pre

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Jun 21 09:56:17 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Bump version up to 3.1. The --replace parameter only appeared in
systemd 238, so we need to ensure to get the update order correct
for sysuser-generate when using the 3rd command line parameters:
* systemd -> sysuser-tools -> system-{user|group}-FOO.
- Add Conflicts systemd < 238 to sysuser-shadow
- update sysuser_requires to request sysuser-shadow 3.1
-------------------------------------------------------------------
Mon Jun 7 11:11:27 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -17,7 +17,7 @@
Name: sysuser-tools
Version: 3.0
Version: 3.1
Release: 0
Summary: Auto provides for system users
License: MIT
@ -41,6 +41,8 @@ Group: System/Packages
Requires(pre): (/usr/sbin/useradd or busybox)
# prefer original shadow over busybox by default
Suggests: shadow
Conflicts: systemd < 238
Requires: (systemd >= 238 if systemd)
%description -n sysuser-shadow
This package contians a tool, which expects as input a sysusers.d