Also support 13.1 for now
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=683
This commit is contained in:
parent
685e6f5790
commit
b22c9c974e
11
systemd.spec
11
systemd.spec
@ -1169,6 +1169,17 @@ else
|
|||||||
sed -ri 's@^([[:blank:]]+)(cmdline\[i\+\+\][[:blank:]]+=[[:blank:]]+"-l")(;)@\1/* \2 */\3@' src/fsck/fsck.c
|
sed -ri 's@^([[:blank:]]+)(cmdline\[i\+\+\][[:blank:]]+=[[:blank:]]+"-l")(;)@\1/* \2 */\3@' src/fsck/fsck.c
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%if 0%{?suse_version} <= 1310
|
||||||
|
#
|
||||||
|
# Older versions like oS 13.1 do not distinguish between
|
||||||
|
# network.target and network-online.target
|
||||||
|
#
|
||||||
|
for f in src/core/service.c src/insserv-generator/insserv-generator.c
|
||||||
|
do
|
||||||
|
sed -ri '/"network",.*SPECIAL_NETWORK_ONLINE_TARGET,/{ s/SPECIAL_NETWORK_ONLINE_TARGET/SPECIAL_NETWORK_TARGET/}' $f
|
||||||
|
done
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cflags ()
|
cflags ()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user