SHA256
1
0
forked from pool/systemd

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:
Dr. Werner Fink 2014-06-24 12:05:21 +00:00 committed by Git OBS Bridge
parent 685e6f5790
commit b22c9c974e

View File

@ -1169,6 +1169,17 @@ else
sed -ri 's@^([[:blank:]]+)(cmdline\[i\+\+\][[:blank:]]+=[[:blank:]]+"-l")(;)@\1/* \2 */\3@' src/fsck/fsck.c
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
cflags ()
{