packages: lxc/lxc.spec, lxc/lxc-ldflags.patch (NEW) - 0.6.2

aredridel aredridel at pld-linux.org
Sun May 3 23:15:51 CEST 2009


Author: aredridel                    Date: Sun May  3 21:15:51 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 0.6.2

---- Files affected:
packages/lxc:
   lxc.spec (1.3 -> 1.4) , lxc-ldflags.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lxc/lxc.spec
diff -u packages/lxc/lxc.spec:1.3 packages/lxc/lxc.spec:1.4
--- packages/lxc/lxc.spec:1.3	Sat Nov 29 18:28:10 2008
+++ packages/lxc/lxc.spec	Sun May  3 23:15:46 2009
@@ -2,12 +2,13 @@
 # TODO: FHS (/var/lxc -> /var/lib/lxc)
 Summary:	Linux Container Tools
 Name:		lxc
-Version:	0.4.0
+Version:	0.6.2
 Release:	1
 License:	GPL
 Group:		Base
 Source0:	http://dl.sourceforge.net/lxc/%{name}-%{version}.tar.gz
-# Source0-md5:	327f0e700858ab5b916aa36517680256
+# Source0-md5:	eb4e14c2d58663f5ebcd6cd3d6a61fe6
+Patch0:		%{name}-ldflags.patch
 URL:		http://sourceforge.net/projects/lxc
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -42,11 +43,12 @@
 
 %prep
 %setup -q
+%patch0 -p1
 sed -i -e 's#^lxcpath=.*#lxcpath=/var/lxc#g' src/lxc/Makefile.am
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I config
 %{__autoconf}
 %{__automake}
 %configure
@@ -70,10 +72,14 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README etc/*.conf etc/*-config
+%dir %{_sysconfdir}/lxc
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lxc/*
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/liblxc-*.so
+%{_mandir}/*/**
 %dir %{_sysconfdir}/lxc
 %dir /var/lxc
+%attr(755,root,root) %{_libdir}/lxc-init
 
 %files devel
 %defattr(644,root,root,755)
@@ -91,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2009/05/03 21:15:46  aredridel
+- 0.6.2
+
 Revision 1.3  2008/11/29 17:28:10  qboosh
 - FHS fix needed
 

================================================================
Index: packages/lxc/lxc-ldflags.patch
diff -u /dev/null packages/lxc/lxc-ldflags.patch:1.1
--- /dev/null	Sun May  3 23:15:51 2009
+++ packages/lxc/lxc-ldflags.patch	Sun May  3 23:15:45 2009
@@ -0,0 +1,12 @@
+diff -Nur lxc-0.6.2.orig/src/lxc/Makefile.am lxc-0.6.2.ldflags/src/lxc/Makefile.am
+--- lxc-0.6.2.orig/src/lxc/Makefile.am	2009-04-24 03:43:33.000000000 -0600
++++ lxc-0.6.2.ldflags/src/lxc/Makefile.am	2009-05-03 14:50:02.000000000 -0600
+@@ -1,7 +1,7 @@
+ INCLUDES= -I$(top_srcdir)/src -DLXCPATH="\"@LXCPATH@\"" \
+ 	  -DLXCBINDIR="\"$(bindir)\"" \
+ 	  -DLXCLIBEXECDIR="\"$(libexecdir)\""
+-AM_LDFLAGS= -lutil
++LDFLAGS= -lutil
+ lib_LTLIBRARIES = liblxc.la
+ pkginclude_HEADERS = \
+ 		error.h \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lxc/lxc.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list