Accepting request 86487 from home:uli_suse:branches:Base:System

- cross-build fix: use %__cc macro

OBS-URL: https://build.opensuse.org/request/show/86487
OBS-URL: https://build.opensuse.org/package/show/Base:System/utempter?expand=0&rev=14
This commit is contained in:
Dirk Mueller 2011-10-04 09:24:37 +00:00 committed by Git OBS Bridge
parent 67f203dc70
commit 1b4eb27edd
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 4 09:03:15 UTC 2011 - uli@suse.com
- cross-build fix: use %__cc macro
-------------------------------------------------------------------
Thu Nov 11 09:09:07 UTC 2010 - aj@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package utempter (Version 0.5.5)
# spec file for package utempter
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,7 +21,7 @@
Name: utempter
%define utmpGroup utmp
Version: 0.5.5
Release: 151
Release: 152
Summary: A privileged helper for utmp and wtmp updates
License: MIT
Group: Productivity/Security
@ -65,7 +65,7 @@ package contains the development files needed.
%patch2 -p1
%build
make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" CC="%{__cc}"
%install
export DESTDIR=$RPM_BUILD_ROOT