forked from pool/libselinux
Accepting request 86730 from home:uli_suse:branches:security:SELinux
- cross-build fix: use %__cc macro OBS-URL: https://build.opensuse.org/request/show/86730 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=39
This commit is contained in:
parent
697924a3ac
commit
c282115149
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- use %_smp_mflags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 25 14:57:16 UTC 2010 - prusnak@suse.cz
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libselinux-bindings (Version 2.0.91)
|
||||
# spec file for package libselinux-bindings
|
||||
#
|
||||
# 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
|
||||
@ -23,7 +23,7 @@ BuildRequires: libsepol-devel-static >= %{libsepol_ver}
|
||||
|
||||
Name: libselinux-bindings
|
||||
Version: 2.0.91
|
||||
Release: 4
|
||||
Release: 9
|
||||
Url: http://www.nsa.gov/selinux/
|
||||
License: GPLv2 ; Public Domain, Freeware
|
||||
Group: System/Libraries
|
||||
@ -105,10 +105,10 @@ decisions. Required for any applications that use the SELinux API.
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j%jobs} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" -C src
|
||||
make %{?jobs:-j%jobs} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" -C src swigify
|
||||
make %{?jobs:-j%jobs} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" -C src pywrap
|
||||
make %{?jobs:-j%jobs} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" -C src rubywrap
|
||||
make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" -C src
|
||||
make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" -C src swigify
|
||||
make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" -C src pywrap
|
||||
make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" -C src rubywrap
|
||||
|
||||
%install
|
||||
make DESTDIR="$RPM_BUILD_ROOT" LIBDIR="$RPM_BUILD_ROOT%{_libdir}" SHLIBDIR="$RPM_BUILD_ROOT/%{_lib}" -C src install
|
||||
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 5 15:09:25 UTC 2011 - uli@suse.com
|
||||
|
||||
- cross-build fix: use %__cc macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- use %_smp_mflags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 3 10:30:40 UTC 2010 - prusnak@suse.cz
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libselinux (Version 2.0.91)
|
||||
# spec file for package libselinux
|
||||
#
|
||||
# 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
|
||||
@ -22,7 +22,7 @@ BuildRequires: libsepol-devel >= %{libsepol_ver} pkg-config
|
||||
|
||||
Name: libselinux
|
||||
Version: 2.0.91
|
||||
Release: 4
|
||||
Release: 9
|
||||
Url: http://www.nsa.gov/selinux/
|
||||
License: GPLv2 ; Public Domain, Freeware
|
||||
Group: System/Libraries
|
||||
@ -124,7 +124,7 @@ necessary to develop your own software using libselinux.
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
make %{?jobs:-j%jobs} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags} LIBDIR="%{_libdir}" CC="%{__cc}" CFLAGS="$RPM_OPT_FLAGS"
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_lib}
|
||||
|
Loading…
Reference in New Issue
Block a user