Move part of %post scriptlet for resolved to %posttrans (rhbz#2018913)
This commit is contained in:
parent
996c95efaf
commit
4cc75bbba5
@ -31,7 +31,7 @@ Name: systemd
|
|||||||
Url: https://www.freedesktop.org/wiki/Software/systemd
|
Url: https://www.freedesktop.org/wiki/Software/systemd
|
||||||
%if %{without inplace}
|
%if %{without inplace}
|
||||||
Version: 250.3
|
Version: 250.3
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
%else
|
%else
|
||||||
# determine the build information from local checkout
|
# determine the build information from local checkout
|
||||||
Version: %(tools/meson-vcs-tag.sh . error | sed -r 's/-([0-9])/.^\1/; s/-g/_g/')
|
Version: %(tools/meson-vcs-tag.sh . error | sed -r 's/-([0-9])/.^\1/; s/-g/_g/')
|
||||||
@ -395,12 +395,11 @@ devices.
|
|||||||
|
|
||||||
%package resolved
|
%package resolved
|
||||||
Summary: Network Name Resolution manager
|
Summary: Network Name Resolution manager
|
||||||
Requires(post): %{name}
|
|
||||||
Requires(post): grep
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: %{name} < 249~~
|
Obsoletes: %{name} < 249~~
|
||||||
Requires: libidn2.so.0%{?elf_suffix}
|
Requires: libidn2.so.0%{?elf_suffix}
|
||||||
Requires: libidn2.so.0(IDN2_0.0.0)%{?elf_bits}
|
Requires: libidn2.so.0(IDN2_0.0.0)%{?elf_bits}
|
||||||
|
Requires(posttrans): grep
|
||||||
|
|
||||||
%description resolved
|
%description resolved
|
||||||
systemd-resolved is a system service that provides network name resolution to
|
systemd-resolved is a system service that provides network name resolution to
|
||||||
@ -922,6 +921,7 @@ fi
|
|||||||
|
|
||||||
%systemd_post systemd-resolved.service
|
%systemd_post systemd-resolved.service
|
||||||
|
|
||||||
|
%posttrans resolved
|
||||||
# Create /etc/resolv.conf symlink.
|
# Create /etc/resolv.conf symlink.
|
||||||
# We would also create it using tmpfiles, but let's do this here
|
# We would also create it using tmpfiles, but let's do this here
|
||||||
# too before NetworkManager gets a chance. (systemd-tmpfiles invocation above
|
# too before NetworkManager gets a chance. (systemd-tmpfiles invocation above
|
||||||
@ -1004,6 +1004,9 @@ fi
|
|||||||
%files standalone-sysusers -f .file-list-standalone-sysusers
|
%files standalone-sysusers -f .file-list-standalone-sysusers
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 23 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 250.3-5
|
||||||
|
- Move part of %%post scriptlet for resolved to %%posttrans (#2018913)
|
||||||
|
|
||||||
* Wed Feb 16 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 250.3-4
|
* Wed Feb 16 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 250.3-4
|
||||||
- Drop scriptlet for handling nobody user upgrades from Fedora <28
|
- Drop scriptlet for handling nobody user upgrades from Fedora <28
|
||||||
- Specify owner of /var/log/journal as root in the rpm listing (#2018913)
|
- Specify owner of /var/log/journal as root in the rpm listing (#2018913)
|
||||||
|
Loading…
Reference in New Issue
Block a user