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
This commit is contained in:
Ludwig Nussel 2017-05-05 11:45:37 +00:00 committed by Git OBS Bridge
parent 68a4497677
commit 8b97fe620b
2 changed files with 10 additions and 8 deletions

View File

@ -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

View File

@ -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