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
This commit is contained in:
Lars Vogdt 2011-09-19 13:56:03 +00:00 committed by Git OBS Bridge
parent 486c511886
commit c64ff7c6e7
2 changed files with 10 additions and 8 deletions

View File

@ -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

View File

@ -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