Hello community,
here is the log from the commit of package lxc for openSUSE:Factory
checked in at Fri Aug 28 23:54:17 CEST 2009.
--------
--- lxc/lxc.changes 2009-05-04 12:16:35.000000000 +0200
+++ lxc/lxc.changes 2009-08-22 08:40:50.000000000 +0200
@@ -1,0 +2,28 @@
+Tue Aug 18 15:29:26 CEST 2009 - jslaby@suse.de
+
+- remove mkdir /var/lxc from %post rpm script
+
+-------------------------------------------------------------------
+Mon Aug 17 13:03:00 CEST 2009 - jslaby@suse.de
+
+- Remove old lxc hack from specfile
+- Fix factory build due to broken linux-kernel-headers
+ (add stddef.h to includes in configure.ac) and lxc automake file
+
+-------------------------------------------------------------------
+Thu Aug 13 08:51:03 UTC 2009 - adrian@suse.de
+
+- Add Requires to ensure that lxc-setcap is working
+
+-------------------------------------------------------------------
+Mon Aug 10 15:14:40 CEST 2009 - jslaby@suse.de
+
+- update to 0.6.3
+- add pkgconfig file to devel package
+
+-------------------------------------------------------------------
+Tue Jun 23 20:54:31 CEST 2009 - jslaby@suse.de
+
+- add linux-kernel-headers to build prereqs
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
lxc-0.6.2.tar.bz2
New:
----
lxc-0.6.3.tar.bz2
lxc-libutil-build-fix.patch
lxc-size_t-configure-fix.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lxc.spec ++++++
--- /var/tmp/diff_new_pack.pBuJMv/_old 2009-08-28 23:52:22.000000000 +0200
+++ /var/tmp/diff_new_pack.pBuJMv/_new 2009-08-28 23:52:22.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package lxc (Version 0.6.2)
+# spec file for package lxc (Version 0.6.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -18,7 +18,7 @@
Name: lxc
-Version: 0.6.2
+Version: 0.6.3
Release: 1
Url: http://lxc.sourceforge.net/
Summary: Lxc container implementation
@@ -26,8 +26,11 @@
AutoReqProv: on
License: LGPL v2.1 only
Source: http://dl.sourceforge.net/sourceforge/lxc/lxc-%{version}.tar.bz2
+Patch0: lxc-size_t-configure-fix.patch
+Patch1: lxc-libutil-build-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: docbook-utils libcap-devel
+BuildRequires: docbook-utils libcap-devel linux-kernel-headers
+Requires: /sbin/setcap
%description
It provides commands to create and manage containers. It contains a
@@ -62,11 +65,12 @@
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
%build
-# it searches for setcap, sbin is not included in PATH
-export PATH=$PATH:/sbin
-%configure --disable-static --with-pic --libexecdir=%{_prefix}/lib/%{name}
+autoreconf -fi
+%configure --disable-static --libexecdir=%{_prefix}/lib/%{name}
%{__make} %{?jobs:-j%jobs}
%install
@@ -76,9 +80,7 @@
%clean
rm -rf %{buildroot}
-%post
-/sbin/ldconfig
-mkdir -p /var/lxc
+%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -95,5 +97,6 @@
%defattr(-,root,root)
%{_includedir}/%{name}
%{_libdir}/liblxc.so
+%{_datadir}/pkgconfig/%{name}.pc
%changelog
++++++ lxc-0.6.2.tar.bz2 -> lxc-0.6.3.tar.bz2 ++++++
++++ 21439 lines of diff (skipped)
++++++ lxc-libutil-build-fix.patch ++++++
--- lxc-0.6.3/src/lxc/Makefile.am.orig 2009-08-17 12:23:04.000000000 +0200
+++ lxc-0.6.3/src/lxc/Makefile.am 2009-08-17 12:43:08.000000000 +0200
@@ -1,7 +1,6 @@
INCLUDES= -I$(top_srcdir)/src -DLXCPATH="\"@LXCPATH@\"" \
-DLXCBINDIR="\"$(bindir)\"" \
-DLXCLIBEXECDIR="\"$(libexecdir)\""
-AM_LDFLAGS= -lutil
lib_LTLIBRARIES = liblxc.la
pkginclude_HEADERS = \
start.h \
@@ -52,6 +51,7 @@
cr_plugin_columbia.c lxc_plugin.h
liblxc_la_LDFLAGS = -release @PACKAGE_VERSION@
+liblxc_la_LIBADD = -lutil
bin_SCRIPTS = \
lxc-ps \
++++++ lxc-size_t-configure-fix.patch ++++++
--- lxc-0.6.3/configure.ac.old 2009-08-13 16:42:46.000000000 +0200
+++ lxc-0.6.3/configure.ac 2009-08-13 16:43:06.000000000 +0200
@@ -26,7 +26,8 @@
AS_AC_EXPAND(LXC_GENERATE_DATE, "$(date)")
AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h], [], AC_MSG_ERROR([netlink headers not found. Please install the linux kernel headers.]),
-[#include