forked from pool/systemd
- systemd.spec: switch to %ldconfig_scriptlets
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1448
This commit is contained in:
parent
425b7c38bb
commit
885d7925a8
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 27 09:52:33 UTC 2023 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- systemd.spec: switch to %ldconfig_scriptlets
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 27 07:31:06 UTC 2023 - Franck Bui <fbui@suse.com>
|
Wed Sep 27 07:31:06 UTC 2023 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
11
systemd.spec
11
systemd.spec
@ -1126,11 +1126,8 @@ fi
|
|||||||
%posttrans -n udev%{?mini}
|
%posttrans -n udev%{?mini}
|
||||||
%regenerate_initrd_posttrans
|
%regenerate_initrd_posttrans
|
||||||
|
|
||||||
%post -n libudev%{?mini}1 -p %ldconfig
|
%ldconfig_scriptlets -n libsystemd0%{?mini}
|
||||||
%post -n libsystemd0%{?mini} -p %ldconfig
|
%ldconfig_scriptlets -n libudev%{?mini}1
|
||||||
|
|
||||||
%postun -n libudev%{?mini}1 -p %ldconfig
|
|
||||||
%postun -n libsystemd0%{?mini} -p %ldconfig
|
|
||||||
|
|
||||||
%if %{with machined}
|
%if %{with machined}
|
||||||
%pre container
|
%pre container
|
||||||
@ -1140,17 +1137,17 @@ fi
|
|||||||
%systemd_preun machines.target
|
%systemd_preun machines.target
|
||||||
|
|
||||||
%postun container
|
%postun container
|
||||||
%systemd_postun machines.target
|
|
||||||
%ldconfig
|
%ldconfig
|
||||||
|
%systemd_postun machines.target
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post container
|
%post container
|
||||||
%if %{with machined}
|
%if %{with machined}
|
||||||
|
%ldconfig
|
||||||
%if %{without filetriggers}
|
%if %{without filetriggers}
|
||||||
%tmpfiles_create systemd-nspawn.conf
|
%tmpfiles_create systemd-nspawn.conf
|
||||||
%endif
|
%endif
|
||||||
%systemd_post machines.target
|
%systemd_post machines.target
|
||||||
%ldconfig
|
|
||||||
%{_systemd_util_dir}/rpm/fixlet-container-post.sh $1 || :
|
%{_systemd_util_dir}/rpm/fixlet-container-post.sh $1 || :
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user