- Update to latest release

- Add documentation sub-package
This commit is contained in:
Silas Sewell 2009-11-27 22:42:04 +00:00
parent 62d984cca4
commit a7b770e515
5 changed files with 27 additions and 32 deletions

View File

@ -1 +1 @@
lxc-0.6.3.tar.gz
lxc-0.6.4.tar.gz

View File

@ -1 +1,2 @@
lxc-0_6_3-2_fc11:HEAD:lxc-0.6.3-2.fc11.src.rpm:1248764868
lxc-0_6_4-1_fc13:HEAD:lxc-0.6.4-1.fc13.src.rpm:1259360737

View File

@ -1,19 +0,0 @@
diff -up lxc-0.6.3/configure.ac.orig lxc-0.6.3/configure.ac
--- lxc-0.6.3/configure.ac.orig 2009-07-28 00:59:14.737542987 -0400
+++ lxc-0.6.3/configure.ac 2009-07-28 01:03:22.907540449 -0400
@@ -25,10 +25,11 @@ AS_AC_EXPAND(LOCALSTATEDIR, $localstated
AS_AC_EXPAND(LXCPATH, "${localstatedir}/lib/lxc")
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 <linux/types.h>
-#include <bits/sockaddr.h>
-#include <linux/socket.h>])
+AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h],
+ [],
+ AC_MSG_ERROR([netlink headers not found. Please install the linux kernel headers.]),
+ [#include <sys/socket.h>
+ ])
AC_CHECK_HEADERS([sys/capability.h], [], AC_MSG_ERROR([please install libcap-devel.]),
[#include <sys/types.h>

View File

@ -1,14 +1,12 @@
Name: lxc
Version: 0.6.3
Release: 2%{?dist}
Version: 0.6.4
Release: 1%{?dist}
Summary: Linux Resource Containers
Group: Applications/System
License: LGPLv2+
URL: http://lxc.sourceforge.net
Source0: http://lxc.sourceforge.net/download/lxc/%{name}-%{version}.tar.gz
# Upstream commit 90e0a869ac5f3a889487126568f1d3c7c34b7046
Patch0: lxc-0.6.3.netlink-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: automake
@ -45,13 +43,22 @@ overhead of full virtualization.
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
%description doc
This package contains documentation for %{name}.
%prep
%setup -q
%patch0 -p1
%build
./autogen.sh
%configure F77=no --enable-static=no
%configure F77=no
# Fix binary-or-shlib-defines-rpath error
%{__sed} -i '/AM_LDFLAGS = -Wl,-E -Wl,-rpath -Wl,$(libdir)/d' src/lxc/Makefile.in
%{__make} %{?_smp_mflags}
%install
@ -69,8 +76,6 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*
%{_bindir}/%{name}-*
%{_libexecdir}/%{name}-init
%{_mandir}/man*/%{name}*
@ -78,7 +83,7 @@ rm -rf %{buildroot}
%files libs
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/liblxc-%{version}.so
%{_libdir}/liblxc.so.*
%files devel
%defattr(-,root,root,-)
@ -87,9 +92,17 @@ rm -rf %{buildroot}
%{_includedir}/*
%{_libdir}/liblxc.so
%files doc
%defattr(-,root,root,-)
%{_docdir}/%{name}
%changelog
* Fri Nov 27 2009 Silas Sewell <silas@sewell.ch> - 0.6.4-1
- Update to latest release
- Add documentation sub-package
* Mon Jul 27 2009 Silas Sewell <silas@sewell.ch> - 0.6.3-2
- Apply patch for rawhide kernel.
- Apply patch for rawhide kernel
* Sat Jul 25 2009 Silas Sewell <silas@sewell.ch> - 0.6.3-1
- Initial package.
- Initial package

View File

@ -1 +1 @@
417bb6dd61ba0c65996df5c3adbb549f lxc-0.6.3.tar.gz
6c769cc9c24f93f499c31564dc314047 lxc-0.6.4.tar.gz