forked from pool/systemd
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=567
This commit is contained in:
parent
e930a884e1
commit
dfcca8375e
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
||||
|
16
systemd.spec
16
systemd.spec
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user