From 8b97fe620b905fe1dd91878fe8af8c0ef77eed34ec742f063b5dd6219df6122d Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Fri, 5 May 2017 11:45:37 +0000 Subject: [PATCH] Accepting request 491886 from home:jengelh:branches:system:install:head - Compact %install routine; replace old RPM shell vars by macros. OBS-URL: https://build.opensuse.org/request/show/491886 OBS-URL: https://build.opensuse.org/package/show/system:install:head/patterns-devel-base?expand=0&rev=2 --- patterns-devel-base.changes | 5 +++++ patterns-devel-base.spec | 13 +++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/patterns-devel-base.changes b/patterns-devel-base.changes index e346b67..983e003 100644 --- a/patterns-devel-base.changes +++ b/patterns-devel-base.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 28 16:08:50 UTC 2017 - jengelh@inai.de + +- Compact %install routine; replace old RPM shell vars by macros. + ------------------------------------------------------------------- Thu Mar 16 06:15:40 UTC 2017 - sflees@suse.de diff --git a/patterns-devel-base.spec b/patterns-devel-base.spec index 577f55a..b46853d 100644 --- a/patterns-devel-base.spec +++ b/patterns-devel-base.spec @@ -267,11 +267,8 @@ Tools and libraries for Web application development. %build %install -mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/ -echo 'This file marks the pattern devel_basis to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/devel_basis.txt -echo 'This file marks the pattern devel_kernel to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/devel_kernel.txt -echo 'This file marks the pattern devel_rpm_build to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/devel_rpm_build.txt -echo 'This file marks the pattern devel_web to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/devel_web.txt - -%changelog - +mkdir -p "%{buildroot}/usr/share/doc/packages/patterns" +for i in devel_basis devel_kernel devel_rpm_build devel_web; do + echo "This file marks the pattern $i to be installed." \ + >"%{buildroot}/usr/share/doc/packages/patterns/$i.txt" +done