rpms/util-vserver/devel util-vserver.spec, 1.48, 1.49 sources, 1.13, 1.14 .cvsignore, 1.6, 1.7

ensc ensc at fedoraproject.org
Sun Aug 23 13:30:04 UTC 2009


Author: ensc

Update of /cvs/extras/rpms/util-vserver/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7203

Modified Files:
	util-vserver.spec sources .cvsignore 
Log Message:
- updated to svn 2847 snapshot
- added -python subpackage



Index: util-vserver.spec
===================================================================
RCS file: /cvs/extras/rpms/util-vserver/devel/util-vserver.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -p -r1.48 -r1.49
--- util-vserver.spec	27 Jul 2009 06:40:33 -0000	1.48
+++ util-vserver.spec	23 Aug 2009 13:30:04 -0000	1.49
@@ -12,7 +12,6 @@
 %endif
 
 %bcond_with		xalan
-
 ##
 
 %global confdir		%_sysconfdir/vservers
@@ -22,18 +21,19 @@
 
 %global _localstatedir	%_var
 
+%{!?python_sitearch:%global python_sitearch %(%__python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 %{!?release_func:%global release_func() %1%{?dist}}
 
 Summary:	Linux virtual server utilities
 Name:		util-vserver
-Version:	0.30.215
-Release:	%release_func 8
+Version:	0.30.215+svn2847
+Release:	%release_func 0
 License:	GPLv2
 Group:		System Environment/Base
 URL:		http://savannah.nongnu.org/projects/util-vserver/
 Source0:	http://ftp.linux-vserver.org/pub/utils/util-vserver/%name-%version.tar.bz2
-Source1:	http://ftp.linux-vserver.org/pub/utils/util-vserver/%name-%version.tar.bz2.asc
+#Source1:	http://ftp.linux-vserver.org/pub/utils/util-vserver/%name-%version.tar.bz2.asc
 
 BuildRoot:	%_tmppath/%name-%version-%release-root
 Requires:	init(%name)
@@ -65,7 +65,7 @@ Requires:		util-linux
 %package build
 Summary:		Tools which can be used to build vservers
 Group:			Applications/System
-Requires:		rpm wget binutils tar e2fsprogs rsync
+Requires:		rpm wget binutils tar
 Requires:		%name = %version-%release
 Requires(pre):		%confdir
 Requires(postun):	%confdir
@@ -98,6 +98,12 @@ Group:			Development/Libraries
 Requires:		pkgconfig
 Requires:		%name-lib = %version-%release
 
+%package python
+Summary:		Python bindings to develop vserver-based applications
+Group:			Development/Libraries
+BuildRequires:		python
+Requires:		%name-lib = %version-%release
+
 
 %description
 util-vserver provides the components and a framework to setup virtual
@@ -171,6 +177,16 @@ can't interact with services in the main
 This package contains header files and libraries which are needed to
 develop VServer related applications.
 
+%description python
+util-vserver provides the components and a framework to setup virtual
+servers.  A virtual server runs inside a linux server. It is nevertheless
+highly independent. As such, you can run various services with normal
+configuration. The various vservers can't interact with each other and
+can't interact with services in the main server.
+
+This package contains the files needed to interface with the
+Linux-VServer API from Python.
+
 
 %prep
 %setup -q
@@ -181,6 +197,7 @@ sed -i -e 's!^\(# chkconfig: \)[0-9]\+ !
 %build
 %configure --with-initrddir=%_initrddir --enable-release \
 	   --with-crypto-api=nss \
+	   --with-python \
 	   %{!?with_dietlibc:--disable}%{?with_dietlibc:--enable}-dietlibc
 
 %__make %{?_smp_mflags} all
@@ -191,7 +208,8 @@ sed -i -e 's!^\(# chkconfig: \)[0-9]\+ !
 rm -rf $RPM_BUILD_ROOT
 %__make DESTDIR="$RPM_BUILD_ROOT" install install-distribution
 
-rm -f $RPM_BUILD_ROOT/%_libdir/*.la
+rm -f $RPM_BUILD_ROOT%_libdir/*.la \
+      $RPM_BUILD_ROOT%python_sitearch/*.*a
 
 MANIFEST_CONFIG='%config' \
 MANIFEST_CONFIG_NOREPLACE='%config(noreplace)' \
@@ -262,10 +280,6 @@ copy fedora /etc/pki/rpm-gpg/RPM-GPG-*
 copy centos /usr/share/doc/centos-*/RPM-GPG-KEY-*
 
 
-%pre build
-# TODO: remove in FC9...
-d=%_libdir/util-vserver/distributions/etch; test x"$1" = x1 -o ! -d "$d" -o -L "$d" || rm -rf "$d" || :
-
 %post build
 test -d /vservers/.hash || mkdir -m0700 /vservers/.hash
 
@@ -365,7 +379,16 @@ test "$1" = 0  || %_initrddir/rebootmgr 
 %doc lib/apidoc/html
 
 
+%files python
+%defattr(-,root,root,-)
+%python_sitearch/*.so
+
+
 %changelog
+* Sun Aug 23 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.30.215+svn2847-0
+- updated to svn 2847 snapshot
+- added -python subpackage
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.30.215-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/util-vserver/devel/sources,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- sources	12 Apr 2008 08:58:48 -0000	1.13
+++ sources	23 Aug 2009 13:30:04 -0000	1.14
@@ -1,2 +1 @@
-befd9b8e5311e87395b67ee381d83649  util-vserver-0.30.215.tar.bz2
-783de8acf8f16e56c1b8cf4a7b683994  util-vserver-0.30.215.tar.bz2.asc
+5682ed047a44d8e027bd780fc43cf982  util-vserver-0.30.215+svn2847.tar.bz2


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/util-vserver/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- .cvsignore	12 Apr 2008 08:58:48 -0000	1.6
+++ .cvsignore	23 Aug 2009 13:30:04 -0000	1.7
@@ -1,2 +1 @@
-util-vserver-0.30.215.tar.bz2
-util-vserver-0.30.215.tar.bz2.asc
+util-vserver-0.30.215+svn2847.tar.bz2




More information about the fedora-extras-commits mailing list