rpms/lxc/F-13 lxc-0.6.5-fix-sys-stat.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 import.log, 1.2, 1.3 lxc.spec, 1.2, 1.3 sources, 1.3, 1.4

Silas Sewell silas at fedoraproject.org
Thu Feb 18 05:34:58 UTC 2010


Author: silas

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

Modified Files:
	.cvsignore import.log lxc.spec sources 
Added Files:
	lxc-0.6.5-fix-sys-stat.patch 
Log Message:
* Wed Feb 17 2010 Silas Sewell <silas at sewell.ch> - 0.6.5-1
- Update to latest release
- Add /var/lib/lxc directory
- Patch for sys/stat.h


lxc-0.6.5-fix-sys-stat.patch:
 start.c |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE lxc-0.6.5-fix-sys-stat.patch ---
diff -up lxc-0.6.5/src/lxc/start.c.orig lxc-0.6.5/src/lxc/start.c
--- lxc-0.6.5/src/lxc/start.c.orig	2010-02-17 15:04:08.911409808 -0700
+++ lxc-0.6.5/src/lxc/start.c	2010-02-17 15:04:25.480347046 -0700
@@ -36,6 +36,7 @@
 #include <sys/param.h>
 #include <sys/file.h>
 #include <sys/mount.h>
+#include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/prctl.h>
 #include <sys/types.h>


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lxc/F-13/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore	27 Nov 2009 22:42:03 -0000	1.3
+++ .cvsignore	18 Feb 2010 05:34:58 -0000	1.4
@@ -1 +1 @@
-lxc-0.6.4.tar.gz
+lxc-0.6.5.tar.gz


Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/lxc/F-13/import.log,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- import.log	27 Nov 2009 22:42:04 -0000	1.2
+++ import.log	18 Feb 2010 05:34:58 -0000	1.3
@@ -1,2 +1,3 @@
 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
+lxc-0_6_5-1_fc13:F-13:lxc-0.6.5-1.fc13.src.rpm:1266448652


Index: lxc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lxc/F-13/lxc.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- lxc.spec	27 Nov 2009 22:42:04 -0000	1.2
+++ lxc.spec	18 Feb 2010 05:34:58 -0000	1.3
@@ -1,5 +1,5 @@
 Name:           lxc
-Version:        0.6.4
+Version:        0.6.5
 Release:        1%{?dist}
 Summary:        Linux Resource Containers
 
@@ -7,6 +7,8 @@ Group:          Applications/System
 License:        LGPLv2+
 URL:            http://lxc.sourceforge.net
 Source0:        http://lxc.sourceforge.net/download/lxc/%{name}-%{version}.tar.gz
+# Patch submitted in bug ID #2954017
+Patch0:         lxc-0.6.5-fix-sys-stat.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  automake
@@ -49,10 +51,11 @@ Group:          Documentation
 Requires:       %{name} = %{version}-%{release}
 
 %description    doc
-This package contains documentation for %{name}. 
+This package contains documentation for %{name}.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 ./autogen.sh
@@ -62,12 +65,13 @@ This package contains documentation for 
 %{__make} %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
+%{__rm} -rf %{buildroot}
 %{__make} DESTDIR=%{buildroot} install
 find %{buildroot} -name '*.la' -delete
+%{__mkdir} -p %{buildroot}%{_sharedstatedir}/%{name}
 
 %clean
-rm -rf %{buildroot}
+%{__rm} -rf %{buildroot}
 
 %post libs -p /sbin/ldconfig
 
@@ -79,6 +83,7 @@ rm -rf %{buildroot}
 %{_bindir}/%{name}-*
 %{_libexecdir}/%{name}-init
 %{_mandir}/man*/%{name}*
+%{_sharedstatedir}/%{name}
 
 %files libs
 %defattr(-,root,root,-)
@@ -97,6 +102,11 @@ rm -rf %{buildroot}
 %{_docdir}/%{name}
 
 %changelog
+* Wed Feb 17 2010 Silas Sewell <silas at sewell.ch> - 0.6.5-1
+- Update to latest release
+- Add /var/lib/lxc directory
+- Patch for sys/stat.h
+
 * Fri Nov 27 2009 Silas Sewell <silas at sewell.ch> - 0.6.4-1
 - Update to latest release
 - Add documentation sub-package


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lxc/F-13/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources	27 Nov 2009 22:42:04 -0000	1.3
+++ sources	18 Feb 2010 05:34:58 -0000	1.4
@@ -1 +1 @@
-6c769cc9c24f93f499c31564dc314047  lxc-0.6.4.tar.gz
+d648bcf82541c0da6725da502ee1d111  lxc-0.6.5.tar.gz



More information about the scm-commits mailing list