Accepting request 500267 from home:msmeissn:branches:Base:System

- Actually build with RPM_OPT_FLAGS, will also catch
  too long -F arguments (bsc#1041840)

OBS-URL: https://build.opensuse.org/request/show/500267
OBS-URL: https://build.opensuse.org/package/show/Base:System/initviocons?expand=0&rev=12
This commit is contained in:
Marcus Meissner 2017-05-31 21:44:05 +00:00 committed by Git OBS Bridge
parent e23e168e58
commit 786c556fe7
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 31 21:41:00 UTC 2017 - meissner@suse.com
- Actually build with RPM_OPT_FLAGS, will also catch
too long -F arguments (bsc#1041840)
-------------------------------------------------------------------
Fri Feb 17 18:56:46 UTC 2012 - rschweikert@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package initviocons
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -47,13 +47,11 @@ Authors:
%setup -n initviocons-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS -Wall"
autoreconf -fi
%configure
make
make CFLAGS="$RPM_OPT_FLAGS -Wall"
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%make_install
install -m 0755 termprobes $RPM_BUILD_ROOT/%{_bindir}/termprobes
#UsrMerge