Fix error in PREIN scriptlet in rpm package samba-common
This commit is contained in:
parent
e2dee495bf
commit
ee4a8a4d01
14
samba.spec
14
samba.spec
@ -147,7 +147,7 @@
|
|||||||
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
||||||
|
|
||||||
%global samba_version 4.19.4
|
%global samba_version 4.19.4
|
||||||
%global baserelease 1
|
%global baserelease 2
|
||||||
# This should be rc1 or %%nil
|
# This should be rc1 or %%nil
|
||||||
%global pre_release %nil
|
%global pre_release %nil
|
||||||
|
|
||||||
@ -244,6 +244,8 @@ Source18: samba-winbind-systemd-sysusers.conf
|
|||||||
Source201: README.downgrade
|
Source201: README.downgrade
|
||||||
Source202: samba.abignore
|
Source202: samba.abignore
|
||||||
|
|
||||||
|
Requires(pre): /usr/sbin/groupadd
|
||||||
|
|
||||||
Requires(pre): %{name}-common = %{samba_depver}
|
Requires(pre): %{name}-common = %{samba_depver}
|
||||||
Requires: %{name}-common = %{samba_depver}
|
Requires: %{name}-common = %{samba_depver}
|
||||||
Requires: %{name}-common-libs = %{samba_depver}
|
Requires: %{name}-common-libs = %{samba_depver}
|
||||||
@ -1531,7 +1533,7 @@ export WINBINDD_DONT_LOG_STDOUT=1
|
|||||||
|
|
||||||
%pre common
|
%pre common
|
||||||
# This creates the group 'printadmin'
|
# This creates the group 'printadmin'
|
||||||
%sysusers_create_compat %{SOURCE16}
|
getent group printadmin >/dev/null || groupadd -r printadmin || :
|
||||||
|
|
||||||
%post common
|
%post common
|
||||||
%{?ldconfig}
|
%{?ldconfig}
|
||||||
@ -1602,11 +1604,11 @@ fi
|
|||||||
|
|
||||||
%pre usershares
|
%pre usershares
|
||||||
# This creates the group 'usershares'
|
# This creates the group 'usershares'
|
||||||
%sysusers_create_compat %{SOURCE17}
|
getent group usershares >/dev/null || groupadd -r usershares || :
|
||||||
|
|
||||||
%pre winbind
|
%pre winbind
|
||||||
# This creates the group 'wbpriv'
|
# This creates the group 'wbpriv'
|
||||||
%sysusers_create_compat %{SOURCE18}
|
/usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%post winbind
|
%post winbind
|
||||||
%systemd_post winbind.service
|
%systemd_post winbind.service
|
||||||
@ -4471,6 +4473,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 10 2024 Pavel Filipenský <pfilipen@redhat.com> - 4.19.4-2
|
||||||
|
- Fix error in PREIN scriptlet in rpm package samba-common
|
||||||
|
- related: RHEL-16483 - Update to version 4.19.4
|
||||||
|
|
||||||
* Tue Jan 09 2024 Pavel Filipenský <pfilipen@redhat.com> - 4.19.4-1
|
* Tue Jan 09 2024 Pavel Filipenský <pfilipen@redhat.com> - 4.19.4-1
|
||||||
- resolves: RHEL-16483 - Update to version 4.19.4
|
- resolves: RHEL-16483 - Update to version 4.19.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user