fix
Rev openSUSE:Tools/214 Md5 072f67cec688341b5e597615f6909bbb 2013-05-17 09:42:02 adrianSuSE None
This commit is contained in:
parent
2973badd32
commit
fe2c4f07a3
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 17 09:44:35 UTC 2013 - adrian@suse.de
|
||||
|
||||
- fix build for non-SUSE rpm distros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 17 09:24:49 UTC 2013 - adrian@suse.de
|
||||
|
||||
|
@ -109,14 +109,19 @@ chroot or a secure virtualized
|
||||
%setup -q -n obs-build-%version
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version}
|
||||
# initvm
|
||||
make CFLAGS="$RPM_BUILD_FLAGS" initvm-all
|
||||
%endif
|
||||
|
||||
%install
|
||||
# initvm
|
||||
%if 0%{?suse_version}
|
||||
make DESTDIR=$RPM_BUILD_ROOT initvm-install
|
||||
strip $RPM_BUILD_ROOT/usr/lib/build/initvm.*
|
||||
export NO_BRP_STRIP_DEBUG="true"
|
||||
chmod 0644 $RPM_BUILD_ROOT/usr/lib/build/initvm.*
|
||||
%endif
|
||||
|
||||
# main
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
@ -159,8 +164,10 @@ test -e default.conf
|
||||
/usr/lib/build/mkdrpms
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%files initvm-%{initvm_arch}
|
||||
%defattr(-,root,root)
|
||||
/usr/lib/build/initvm.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user