Hello community, here is the log from the commit of package patterns-desktop for openSUSE:Factory checked in at 2017-05-20 10:09:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/patterns-desktop (Old) and /work/SRC/openSUSE:Factory/.patterns-desktop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "patterns-desktop" Sat May 20 10:09:05 2017 rev:2 rq:494907 version:20170319 Changes: -------- --- /work/SRC/openSUSE:Factory/patterns-desktop/patterns-desktop.changes 2017-05-06 18:23:45.349141531 +0200 +++ /work/SRC/openSUSE:Factory/.patterns-desktop.new/patterns-desktop.changes 2017-05-20 10:09:17.428954200 +0200 @@ -1,0 +2,5 @@ +Fri Apr 28 16:02:36 UTC 2017 - jeng...@inai.de + +- Compact %install routine; replace old RPM shell vars by macros. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ patterns-desktop.spec ++++++ --- /var/tmp/diff_new_pack.Fxln77/_old 2017-05-20 10:09:18.152851915 +0200 +++ /var/tmp/diff_new_pack.Fxln77/_new 2017-05-20 10:09:18.152851915 +0200 @@ -326,12 +326,9 @@ %build %install -mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/ -echo 'This file marks the pattern books to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/books.txt -echo 'This file marks the pattern imaging to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/imaging.txt -echo 'This file marks the pattern imaging_opt to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/imaging_opt.txt -echo 'This file marks the pattern laptop to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/laptop.txt -echo 'This file marks the pattern multimedia to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/multimedia.txt -echo 'This file marks the pattern multimedia_opt to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/multimedia_opt.txt -echo 'This file marks the pattern technical_writing to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/technical_writing.txt - +mkdir -p "%{buildroot}/usr/share/doc/packages/patterns" +for i in books imaging imaging_opt laptop multimedia multimedia_opt \ + technical_writing; do + echo "This file marks the pattern $i to be installed." \ + >"%{buildroot}/usr/share/doc/packages/patterns/$i.txt" +done