rpms/lxc/F-11 lxc-0.6.3.netlink-fix.patch, NONE, 1.1 lxc.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Silas Sewell silas at fedoraproject.org
Tue Jul 28 07:18:22 UTC 2009


Author: silas

Update of /cvs/pkgs/rpms/lxc/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23446/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	lxc-0.6.3.netlink-fix.patch lxc.spec 
Log Message:
* Mon Jul 27 2009 Silas Sewell <silas at sewell.ch> - 0.6.3-2
- Apply patch for rawhide kernel.

* Sat Jul 25 2009 Silas Sewell <silas at sewell.ch> - 0.6.3-1
- Initial package.


lxc-0.6.3.netlink-fix.patch:
 configure.ac |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

--- NEW FILE lxc-0.6.3.netlink-fix.patch ---
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>


--- NEW FILE lxc.spec ---
Name:           lxc
Version:        0.6.3
Release:        2%{?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
BuildRequires:  docbook-utils
BuildRequires:  kernel-headers
BuildRequires:  libcap-devel
BuildRequires:  libtool

%description
Linux Resource Containers provide process and resource isolation without the
overhead of full virtualization.

%package        libs
Summary:        Runtime library files for %{name}
Group:          System Environment/Libraries
Requires:       %{name} = %{version}-%{release}

%description    libs
Linux Resource Containers provide process and resource isolation without the
overhead of full virtualization.

The %{name}-libs package contains libraries for running %{name} applications.

%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       pkgconfig

%description    devel
Linux Resource Containers provide process and resource isolation without the
overhead of full virtualization.

The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%prep
%setup -q
%patch0 -p1

%build
./autogen.sh
%configure F77=no --enable-static=no
%{__make} %{?_smp_mflags}

%install
rm -rf %{buildroot}
%{__make} DESTDIR=%{buildroot} install
find %{buildroot} -name '*.la' -delete

%clean
rm -rf %{buildroot}

%post libs -p /sbin/ldconfig

%postun libs -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*
%{_bindir}/%{name}-*
%{_libexecdir}/%{name}-init
%{_mandir}/man*/%{name}*

%files libs
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/liblxc-%{version}.so

%files devel
%defattr(-,root,root,-)
%doc COPYING
%{_datadir}/pkgconfig/%{name}.pc
%{_includedir}/*
%{_libdir}/liblxc.so

%changelog
* Mon Jul 27 2009 Silas Sewell <silas at sewell.ch> - 0.6.3-2
- Apply patch for rawhide kernel.

* Sat Jul 25 2009 Silas Sewell <silas at sewell.ch> - 0.6.3-1
- Initial package.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lxc/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	26 Jul 2009 19:33:56 -0000	1.1
+++ .cvsignore	28 Jul 2009 07:18:21 -0000	1.2
@@ -0,0 +1 @@
+lxc-0.6.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lxc/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	26 Jul 2009 19:33:56 -0000	1.1
+++ sources	28 Jul 2009 07:18:21 -0000	1.2
@@ -0,0 +1 @@
+417bb6dd61ba0c65996df5c3adbb549f  lxc-0.6.3.tar.gz




More information about the fedora-extras-commits mailing list