Hello community,

here is the log from the commit of package libsemanage for openSUSE:Factory
checked in at Tue May 24 13:33:16 CEST 2011.



--------
--- libsemanage/libsemanage.changes     2011-05-18 15:39:05.000000000 +0200
+++ /mounts/work_src_done/STABLE/libsemanage/libsemanage.changes        
2011-05-23 16:20:27.000000000 +0200
@@ -1,0 +2,6 @@
+Mon May 23 14:15:42 UTC 2011 - prus...@opensuse.org
+
+- split off python bindings to separate package to reduce build
+  dependencies for rpm [bnc#695436]
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/libsemanage/python-semanage.changes    
2011-05-23 16:20:28.000000000 +0200
@@ -0,0 +1,77 @@
+-------------------------------------------------------------------
+Mon May 23 14:15:42 UTC 2011 - prus...@opensuse.org
+
+- split off python bindings to separate package to reduce build
+  dependencies for rpm [bnc#695436]
+
+-------------------------------------------------------------------
+Wed May 18 13:38:44 UTC 2011 - co...@novell.com
+
+- add baselibs.conf for rpm-32bit to use
+
+-------------------------------------------------------------------
+Wed Feb 23 05:42:43 UTC 2011 - co...@novell.com
+
+- disable parallel build, it breaks too often
+
+-------------------------------------------------------------------
+Thu Feb 25 14:59:32 UTC 2010 - prus...@suse.cz
+
+- updated to 2.0.43
+  * changes too numerous to list
+
+-------------------------------------------------------------------
+Fri Jan 16 14:24:38 CET 2009 - prus...@suse.cz
+
+- fix assignment of wrong context [bnc#466793]
+
+-------------------------------------------------------------------
+Wed Jan 14 14:06:28 CET 2009 - prus...@suse.cz
+
+- updated to 2.0.31
+  * policy module compression (bzip) support from Dan Walsh
+  * hard link files between tmp/active/previous from Dan Walsh
+  * add semanage_mls_enabled() interface from Stephen Smalley
+
+-------------------------------------------------------------------
+Mon Dec  1 11:35:58 CET 2008 - prus...@suse.cz
+
+- updated to 2.0.29
+  * add USER to lines to homedir_template context file
+  * add compression support
+  * allow fcontext and seuser changes without rebuilding the policy
+  * don't rebuild on fcontext or seuser modifications
+  * modify genhomedircon to skip %groupname entries
+
+-------------------------------------------------------------------
+Wed Oct 22 16:17:23 CEST 2008 - mrueck...@suse.de
+
+- fix debug_packages_requires define
+
+-------------------------------------------------------------------
+Tue Sep 23 12:52:32 CEST 2008 - prus...@suse.cz
+
+- require only version, not release [bnc#429053]
+
+-------------------------------------------------------------------
+Tue Sep  2 12:13:42 CEST 2008 - prus...@suse.cz
+
+- updated to 2.0.27
+  * Modify genhomedircon to skip %groupname entries.
+    Ultimately we need to expand them to the list of users to support
+    per-role homedir labeling when using the %groupname syntax.
+- updated to 2.0.26
+  * Fix bug in genhomedircon fcontext matches logic from Dan Walsh.
+    Strip any trailing slash before appending /*$.
+
+-------------------------------------------------------------------
+Fri Aug  1 17:32:21 CEST 2008 - r...@suse.de
+
+- fix requires for debuginfo package
+
+-------------------------------------------------------------------
+Tue Jul 15 16:58:47 CEST 2008 - prus...@suse.cz
+
+-  initial version 2.0.25
+  * based on Fedora package by Dan Walsh <dwa...@redhat.com>
+

calling whatdependson for head-i586


New:
----
  python-semanage.changes
  python-semanage.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libsemanage.spec ++++++
--- /var/tmp/diff_new_pack.YjWf3J/_old  2011-05-24 13:04:26.000000000 +0200
+++ /var/tmp/diff_new_pack.YjWf3J/_new  2011-05-24 13:04:26.000000000 +0200
@@ -15,21 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 %define libsepol_ver 2.0.37
 %define libselinux_ver 2.0.0
-BuildRequires:  bison flex libustr-devel python-devel swig
+BuildRequires:  bison
+BuildRequires:  flex
 BuildRequires:  libselinux-devel >= %{libselinux_ver}
 BuildRequires:  libsepol-devel >= %{libsepol_ver}
+BuildRequires:  libustr-devel
 
 Name:           libsemanage
 Version:        2.0.43
-Release:        10
-Url:            http://www.nsa.gov/selinux/
+Release:        13
 License:        LGPLv2.1
-Group:          System/Libraries
 Summary:        SELinux binary policy manipulation library
+Url:            http://www.nsa.gov/selinux/
+Group:          System/Libraries
 Source:         %{name}-%{version}.tar.bz2
 Source1:        baselibs.conf
 Patch0:         %{name}-rhat.patch
@@ -54,8 +55,8 @@
 
 %package -n libsemanage1
 License:        LGPLv2.1
-Group:          System/Libraries
 Summary:        SELinux binary policy manipulation library
+Group:          System/Libraries
 
 %description -n libsemanage1
 Security-enhanced Linux is a feature of the Linux kernel and a
@@ -78,7 +79,8 @@
 License:        LGPLv2.1
 Summary:        Header files and libraries used to build policy manipulation 
tools
 Group:          Development/Libraries
-Requires:       libsemanage1 = %{version} libustr-devel
+Requires:       libsemanage1 = %{version}
+Requires:       libustr-devel
 
 %description devel
 The semanage-devel package contains the libraries and header files
@@ -94,35 +96,24 @@
 The semanage-static package contains the static libraries
 needed for developing applications that manipulate binary policies.
 
-
-%package -n python-semanage
-License:        LGPLv2.1
-Summary:        semanage python bindings for libsemanage
-Group:          Development/Libraries
-Requires:       libsemanage1 = %{version}
-
-%description -n python-semanage
-The libsemanage-python package contains the python bindings for developing
-SELinux management applications.
-
 %prep
 %setup -q
 %patch0 -p1
 
 %build
 make clean
-make -j1 CFLAGS="$RPM_OPT_FLAGS" swigify
-make -j1 CFLAGS="$RPM_OPT_FLAGS" LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" all 
pywrap
+make -j1 CFLAGS="%{optflags}"
+make -j1 CFLAGS="%{optflags}" LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" all
 
 %install
-mkdir -p $RPM_BUILD_ROOT/%{_lib}
-mkdir -p $RPM_BUILD_ROOT%{_libdir}
-mkdir -p $RPM_BUILD_ROOT%{_includedir}
-make DESTDIR="$RPM_BUILD_ROOT" LIBDIR="$RPM_BUILD_ROOT%{_libdir}" 
SHLIBDIR="$RPM_BUILD_ROOT/%{_lib}" install install-pywrap
-ln -sf  /%{_lib}/libsemanage.so.1 ${RPM_BUILD_ROOT}/%{_libdir}/libsemanage.so
+mkdir -p %{buildroot}/%{_lib}
+mkdir -p %{buildroot}%{_libdir}
+mkdir -p %{buildroot}%{_includedir}
+make DESTDIR=%{buildroot} LIBDIR="%{buildroot}%{_libdir}" 
SHLIBDIR="%{buildroot}/%{_lib}" install
+ln -sf  /%{_lib}/libsemanage.so.1 %{buildroot}/%{_libdir}/libsemanage.so
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %post -n libsemanage1 -p /sbin/ldconfig
 
@@ -146,8 +137,4 @@
 %defattr(-,root,root)
 %{_libdir}/libsemanage.a
 
-%files -n python-semanage
-%defattr(-,root,root)
-%{_libdir}/python*/site-packages/*
-
 %changelog

++++++ python-semanage.spec ++++++
#
# spec file for package python-semanage
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


%define libsepol_ver 2.0.37
%define libselinux_ver 2.0.0
BuildRequires:  bison
BuildRequires:  flex
BuildRequires:  libselinux-devel >= %{libselinux_ver}
BuildRequires:  libsepol-devel >= %{libsepol_ver}
BuildRequires:  libustr-devel
BuildRequires:  python-devel
BuildRequires:  swig

Name:           python-semanage
Version:        2.0.43
Release:        8
License:        LGPLv2.1
Summary:        Python bindings for libsemanage
Url:            http://www.nsa.gov/selinux/
Group:          Development/Languages/Python
Source:         libsemanage-%{version}.tar.bz2
Source1:        baselibs.conf
Patch0:         libsemanage-rhat.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       libsemanage1 = %{version}

%description
This package contains the python bindings for developing
SELinux management applications.

%prep
%setup -q -n libsemanage-%{version}
%patch0 -p1

%build
make clean
make -j1 CFLAGS="%{optflags}" swigify
make -j1 CFLAGS="%{optflags}" LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" all pywrap

%install
mkdir -p %{buildroot}/%{_lib}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_includedir}
make DESTDIR=%{buildroot} LIBDIR="%{buildroot}%{_libdir}" 
SHLIBDIR="%{buildroot}/%{_lib}" install install-pywrap

# remove files contained in other packages
rm -rf %{buildroot}%{_sysconfdir}
rm -rf %{buildroot}/%{_lib}
rm -rf %{buildroot}%{_includedir}
rm  -f %{buildroot}%{_libdir}/libsemanage.*
rm -rf %{buildroot}%{_libdir}/pkgconfig
rm -rf %{buildroot}%{_mandir}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{python_sitearch}/*

%changelog

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to