From c64ff7c6e71c7c9af5bd9d196421cf9e6b87f6ea96a836a8f39c66ae23ce9ac5 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Mon, 19 Sep 2011 13:56:03 +0000 Subject: [PATCH] Accepting request 83201 from security:SELinux - Remove redundant tags/sections from specfile - Use %_smp_mflags for parallel build (forwarded request 83085 from jengelh) OBS-URL: https://build.opensuse.org/request/show/83201 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/checkpolicy?expand=0&rev=10 --- checkpolicy.changes | 6 ++++++ checkpolicy.spec | 12 ++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/checkpolicy.changes b/checkpolicy.changes index 64b87d4..568985e 100644 --- a/checkpolicy.changes +++ b/checkpolicy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 17 22:52:07 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile +- Use %_smp_mflags for parallel build + ------------------------------------------------------------------- Thu Feb 25 14:51:44 UTC 2010 - prusnak@suse.cz diff --git a/checkpolicy.spec b/checkpolicy.spec index 94bd08a..258b870 100644 --- a/checkpolicy.spec +++ b/checkpolicy.spec @@ -1,7 +1,7 @@ # -# spec file for package checkpolicy (Version 2.0.21) +# spec file for package checkpolicy # -# 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 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild %define libsepol_ver 2.0.39 BuildRequires: bison flex-old @@ -55,9 +54,9 @@ required for building policies. %build make clean -make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" +make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} cd test -make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" +make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} %install mkdir -p $RPM_BUILD_ROOT%{_bindir} @@ -65,9 +64,6 @@ make LIBDIR="%{_libdir}" DESTDIR="$RPM_BUILD_ROOT" install install test/dismod $RPM_BUILD_ROOT%{_bindir}/sedismod install test/dispol $RPM_BUILD_ROOT%{_bindir}/sedispol -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root) %doc COPYING ChangeLog