- Add missing bzip2 dependencies.

This commit is contained in:
Daniel J Walsh 2010-05-27 17:36:39 +00:00
parent fa877f4060
commit 6755ec8128
3 changed files with 14 additions and 10 deletions

View File

@ -1 +1 @@
setools-3.3.6.tar.bz2
setools-3.3.7.tar.bz2

View File

@ -1,11 +1,11 @@
%define setools_maj_ver 3.3
%define setools_min_ver 6
%define setools_min_ver 7
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: setools
Version: %{setools_maj_ver}.%{setools_min_ver}
Release: 4%{?dist}
Release: 2%{?dist}
License: GPLv2
URL: http://oss.tresys.com/projects/setools
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@ -14,8 +14,7 @@ Source1: setools.pam
Source2: apol.desktop
Source3: seaudit.desktop
Source4: sediffx.desktop
Patch1: setools-qpol.patch
Patch2: setools-python.patch
Patch1: setools-python.patch
Summary: Policy analysis tools for SELinux
Group: System Environment/Base
Requires: setools-libs = %{version}-%{release} setools-libs-tcl = %{version}-%{release} setools-gui = %{version}-%{release} setools-console = %{version}-%{release}
@ -68,8 +67,8 @@ This package includes the following run-time libraries:
License: LGPLv2
Summary: Python bindings for SELinux policy analysis
Group: Development/Languages
Requires: setools-libs = %{version}-%{release} python2 >= %{python_ver}
BuildRequires: python2-devel >= %{python_ver} swig >= %{swig_ver}
Requires: setools-libs = %{version}-%{release} python2 >= %{python_ver} bzip2-libs
BuildRequires: python2-devel >= %{python_ver} swig >= %{swig_ver} bzip2-devel
%description libs-python
SETools is a collection of graphical tools, command-line tools, and
@ -187,8 +186,7 @@ This package includes the following graphical tools:
%prep
%setup -q
%patch1 -p 1 -b .qpol
%patch2 -p 1 -b .python
%patch1 -p 1 -b .python
%build
%configure --libdir=%{_libdir} --disable-bwidget-check --disable-selinux-check \
@ -349,6 +347,12 @@ rm -rf ${RPM_BUILD_ROOT}
%postun libs-tcl -p /sbin/ldconfig
%changelog
* Wed May 12 2010 Chris PeBenito <cpebenito@tresys.com> 3.3.7-2
- Add missing bzip2 dependencies.
* Wed May 12 2010 Chris PeBenito <cpebenito@tresys.com> 3.3.7-1
- New upstream release.
* Tue Aug 11 2009 Dan Walsh <dwalsh@redhat.com> 3.3.6-4
- Add python bindings for sesearch and seinfo

View File

@ -1 +1 @@
93db5be0bfc32519f8e7fbf769542db5 setools-3.3.6.tar.bz2
206d1b31d1dda4ace2fbf6ce02d13814 setools-3.3.7.tar.bz2