Hello community, here is the log from the commit of package rear for openSUSE:Factory checked in at 2014-05-14 10:45:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rear (Old) and /work/SRC/openSUSE:Factory/.rear.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rear" Changes: -------- --- /work/SRC/openSUSE:Factory/rear/rear.changes 2014-05-09 20:30:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rear.new/rear.changes 2014-05-14 10:45:04.000000000 +0200 @@ -1,0 +2,6 @@ +Tue May 13 12:28:52 CEST 2014 - jsm...@suse.de + +- Provide also the other documentation ("make install" only + installs the man page). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rear.spec ++++++ --- /var/tmp/diff_new_pack.SHnFUJ/_old 2014-05-14 10:45:05.000000000 +0200 +++ /var/tmp/diff_new_pack.SHnFUJ/_new 2014-05-14 10:45:05.000000000 +0200 @@ -248,15 +248,27 @@ %build # no code to compile - all bash scripts -# but at least test if the syntax is o.k.: +# but at least test if the syntax is o.k. +# currently "make validate" does not work because '-n 1' is missing for xargs +# so that the commands from "make validate" are run here with 'xargs -n 1': +find etc/ usr/share/rear/conf/ -name '*.conf' | xargs -n 1 bash -n +bash -n usr/sbin/rear find . -name '*.sh' | xargs -n 1 bash -n %install make install DESTDIR="%{buildroot}" +# "make install" only installs the man page but not the other documentation +# and the 'doc' RPM macro in the files section would install the documentation +# into a /usr/share/doc/packages/rear116 directory (using the RPM package name) +# but the documentation should be installed into the fixed +# upstream-compliant /usr/share/doc/packages/rear directory +# so that the documentation is hereby explicitly installed as needed: +install -d %{buildroot}%{_defaultdocdir}/rear/ +cp -r AUTHORS COPYING README doc/*.txt doc/user-guide/ doc/mappings/ %{buildroot}%{_defaultdocdir}/rear %files %defattr(-,root,root,-) -%doc AUTHORS COPYING README doc/*.txt doc/user-guide +%doc %{_defaultdocdir}/rear/ %doc %{_mandir}/man8/rear.8* %config(noreplace) %{_sysconfdir}/rear/ %{_datadir}/rear/ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org