Hello community, here is the log from the commit of package DisplayCAL for openSUSE:Factory checked in at 2019-03-26 22:35:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/DisplayCAL (Old) and /work/SRC/openSUSE:Factory/.DisplayCAL.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "DisplayCAL" Tue Mar 26 22:35:00 2019 rev:29 rq:688872 version:3.7.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/DisplayCAL/DisplayCAL.changes 2019-03-18 10:43:57.087107786 +0100 +++ /work/SRC/openSUSE:Factory/.DisplayCAL.new.25356/DisplayCAL.changes 2019-03-26 22:35:35.173650272 +0100 @@ -1,0 +2,6 @@ +Sat Mar 23 08:52:53 UTC 2019 - Jan Engelhardt <[email protected]> + +- Make scriptlets POSIX sh compatible. +- Replace old $RPM_* shell vars by macros. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ DisplayCAL.spec ++++++ --- /var/tmp/diff_new_pack.KCI3Il/_old 2019-03-26 22:35:37.725649171 +0100 +++ /var/tmp/diff_new_pack.KCI3Il/_new 2019-03-26 22:35:37.757649157 +0100 @@ -91,11 +91,11 @@ # Strip extensions bits=`%{__python} -c "import platform;print platform.architecture()[0][:2]"` python_shortversion=`%{__python} -c "import sys;print ''.join(map(str, sys.version_info[:2]))"` -strip --strip-unneeded ${RPM_BUILD_ROOT}${install_lib}/%{name}/lib${bits}/python${python_shortversion}/*.so +strip --strip-unneeded %{buildroot}/${install_lib}/%{name}/lib${bits}/python${python_shortversion}/*.so # Remove doc directory -if [ -e "${RPM_BUILD_ROOT}%_datadir/doc/%{name}-%{version}" ]; then - rm -rf "${RPM_BUILD_ROOT}%_datadir/doc/%{name}-%{version}" +if [ -e "%{buildroot}/%{_datadir}/doc/%{name}-%{version}" ]; then + rm -rf "%{buildroot}/%{_datadir}/doc/%{name}-%{version}" fi # Update desktop files to prevent buildservice from complaining @@ -151,16 +151,16 @@ #!/bin/sh # Update icon cache and menu -/bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || true -which xdg-icon-resource &> /dev/null && xdg-icon-resource forceupdate || true -which xdg-desktop-menu &> /dev/null && xdg-desktop-menu forceupdate || true +/bin/touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>/dev/null || true +which xdg-icon-resource >/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +which xdg-desktop-menu >/dev/null 2>/dev/null && xdg-desktop-menu forceupdate || true %postun #!/bin/sh # Update icon cache and menu -/bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || true -which xdg-desktop-menu &> /dev/null && xdg-desktop-menu forceupdate || true -which xdg-icon-resource &> /dev/null && xdg-icon-resource forceupdate || true +/bin/touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>/dev/null || true +which xdg-desktop-menu >/dev/null 2>/dev/null && xdg-desktop-menu forceupdate || true +which xdg-icon-resource >/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true %changelog
