SHA256
1
0
forked from pool/systemd
2014-03-19 13:37:37 +00:00
committed by Git OBS Bridge
parent e930a884e1
commit dfcca8375e
4 changed files with 42 additions and 0 deletions

View File

@@ -772,8 +772,24 @@ export V=1
--disable-kdbus \
CFLAGS="%{optflags}"
make %{?_smp_mflags}
%if ! 0%{?bootstrap}
make %{?_smp_mflags} update-man-list man
%endif
%install
# Use refreshed manual pages
for man in man/*.[0-9]
do
section=${man##*.}
test -d man/man${section} || continue
new=man/man${section}/${man##*/}
if test -s $new -a $new -nt $man
then
cp -p $new $man
else
sed -ri 's@"(systemd) 209"@"\1 210"@' $man
fi
done
make install DESTDIR="%buildroot"
# move to %{_lib}