diff --git a/restorecond.changes b/restorecond.changes index bcb8a10..2f62741 100644 --- a/restorecond.changes +++ b/restorecond.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 5 10:06:43 UTC 2019 - Martin Liška + +- Use %make_build and respect %optflags. + ------------------------------------------------------------------- Wed Mar 20 15:22:48 UTC 2019 - jsegitz@suse.com diff --git a/restorecond.spec b/restorecond.spec index 1ba850a..5d1ea17 100644 --- a/restorecond.spec +++ b/restorecond.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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 %build -make %{?_smp_mflags} LSPP_PRIV=y all +export CFLAGS="%optflags" +%make_build LSPP_PRIV=y all %install make DESTDIR=%{buildroot} SHLIBDIR=/%{_lib} install