SHA256
1
0
forked from pool/restorecond

Accepting request 754317 from home:marxin:branches:security:SELinux

- Use %make_build and respect %optflags.

OBS-URL: https://build.opensuse.org/request/show/754317
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/restorecond?expand=0&rev=7
This commit is contained in:
Johannes Segitz 2019-12-05 15:31:32 +00:00 committed by Git OBS Bridge
parent 8b60b27b4c
commit 063808f0ef
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 5 10:06:43 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use %make_build and respect %optflags.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 20 15:22:48 UTC 2019 - jsegitz@suse.com Wed Mar 20 15:22:48 UTC 2019 - jsegitz@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package restorecond # spec file for package restorecond
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -37,7 +37,8 @@ Daemon that watches for file creation and then sets the default SELinux file con
%setup -q %setup -q
%build %build
make %{?_smp_mflags} LSPP_PRIV=y all export CFLAGS="%optflags"
%make_build LSPP_PRIV=y all
%install %install
make DESTDIR=%{buildroot} SHLIBDIR=/%{_lib} install make DESTDIR=%{buildroot} SHLIBDIR=/%{_lib} install