SHA256
1
0
forked from pool/systemd
Dr. Werner Fink 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

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 19 13:21:37 UTC 2014 - werner@suse.de
- Be sure that the refreshed manual pages are installed
-------------------------------------------------------------------
Wed Mar 19 12:09:31 UTC 2014 - werner@suse.de

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}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 19 13:21:37 UTC 2014 - werner@suse.de
- Be sure that the refreshed manual pages are installed
-------------------------------------------------------------------
Wed Mar 19 12:09:31 UTC 2014 - werner@suse.de

View File

@ -767,8 +767,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 %{version}"@' $man
fi
done
make install DESTDIR="%buildroot"
# move to %{_lib}