diff --git a/systemd-mini.changes b/systemd-mini.changes index 06391535..8d47d3ff 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -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 diff --git a/systemd-mini.spec b/systemd-mini.spec index faa9385e..a901625a 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -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} diff --git a/systemd.changes b/systemd.changes index 06391535..8d47d3ff 100644 --- a/systemd.changes +++ b/systemd.changes @@ -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 diff --git a/systemd.spec b/systemd.spec index 557956bd..f871ac2f 100644 --- a/systemd.spec +++ b/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}