Accepting request 491907 from home:jengelh:branches:openSUSE:Tools

- Stop using old RPM shell vars

OBS-URL: https://build.opensuse.org/request/show/491907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/product-builder?expand=0&rev=11
This commit is contained in:
Adrian Schröter 2017-05-22 08:17:53 +00:00 committed by Git OBS Bridge
parent c122eed940
commit c715cb51d8
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 28 16:49:07 UTC 2017 - jengelh@inai.de
- Stop using old RPM shell vars
-------------------------------------------------------------------
Tue Apr 11 14:57:20 UTC 2017 - adrian@suse.de

View File

@ -62,14 +62,14 @@ and SLE 12.
%build
test -e /.buildenv && . /.buildenv
make buildroot=$RPM_BUILD_ROOT CFLAGS="$RPM_OPT_FLAGS"
make buildroot="%{buildroot}" CFLAGS="%{optflags}"
%install
make buildroot=$RPM_BUILD_ROOT \
doc_prefix=$RPM_BUILD_ROOT/%{_defaultdocdir} \
man_prefix=$RPM_BUILD_ROOT/%{_mandir} \
make buildroot="%{buildroot}" \
doc_prefix="%{buildroot}/%{_defaultdocdir}" \
man_prefix="%{buildroot}/%{_mandir}" \
install
./.version > $RPM_BUILD_ROOT%{_datadir}/kiwi/.revision
./.version >"%{buildroot}/%{_datadir}/kiwi/.revision"
%files
%defattr(-, root, root)