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:
parent
486c511886
commit
c64ff7c6e7
@ -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
|
Thu Feb 25 14:51:44 UTC 2010 - prusnak@suse.cz
|
||||||
|
|
||||||
|
@ -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
|
# 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
|
||||||
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
%define libsepol_ver 2.0.39
|
%define libsepol_ver 2.0.39
|
||||||
BuildRequires: bison flex-old
|
BuildRequires: bison flex-old
|
||||||
@ -55,9 +54,9 @@ required for building policies.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make clean
|
make clean
|
||||||
make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS"
|
make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
||||||
cd test
|
cd test
|
||||||
make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS"
|
make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
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/dismod $RPM_BUILD_ROOT%{_bindir}/sedismod
|
||||||
install test/dispol $RPM_BUILD_ROOT%{_bindir}/sedispol
|
install test/dispol $RPM_BUILD_ROOT%{_bindir}/sedispol
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING ChangeLog
|
%doc COPYING ChangeLog
|
||||||
|
Loading…
Reference in New Issue
Block a user