[lxc/f15/master] Update to 0.7.4.1

Silas Sewell silas at fedoraproject.org
Mon Mar 28 03:12:07 UTC 2011


commit 5207f464f61a7e955187386c53a6fcc1801b5e83
Author: Silas Sewell <silas at sewell.ch>
Date:   Sun Mar 27 23:11:50 2011 -0400

    Update to 0.7.4.1

 .gitignore |    1 +
 lxc.spec   |   39 ++++++++++++++++++++++++++++++++-------
 sources    |    2 +-
 3 files changed, 34 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 45aa829..b2e9b25 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 lxc-0.7.2.tar.gz
+/lxc-0.7.4.1.tar.gz
diff --git a/lxc.spec b/lxc.spec
index 19aec1b..88e4678 100644
--- a/lxc.spec
+++ b/lxc.spec
@@ -1,6 +1,6 @@
 Name:           lxc
-Version:        0.7.2
-Release:        2%{?dist}
+Version:        0.7.4.1
+Release:        1%{?dist}
 Summary:        Linux Resource Containers
 
 Group:          Applications/System
@@ -30,6 +30,18 @@ overhead of full virtualization.
 
 The %{name}-libs package contains libraries for running %{name} applications.
 
+%package        templates
+Summary:        Templates for %{name}
+Group:          System Environment/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:       debootstrap
+
+%description    templates
+Linux Resource Containers provide process and resource isolation without the
+overhead of full virtualization.
+
+The %{name}-template package contains templates for creating containers.
+
 %package        devel
 Summary:        Development files for %{name}
 Group:          Development/Libraries
@@ -69,8 +81,12 @@ rm -rf %{buildroot}
 %{__make} DESTDIR=%{buildroot} install
 find %{buildroot} -name '*.la' -delete
 %{__mkdir} -p %{buildroot}%{_sharedstatedir}/%{name}
-# Remove templates
-rm -f %{buildroot}%{_libdir}/lxc/templates/lxc-*
+
+find %{buildroot}%{_libdir}/lxc/templates \
+  -type f \
+  -not -name lxc-maverick \
+  -not -name lxc-sshd \
+  -delete
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -88,13 +104,19 @@ rm -f %{buildroot}%{_libdir}/lxc/templates/lxc-*
 
 %files libs
 %defattr(-,root,root,-)
-%doc COPYING
+%doc AUTHORS COPYING
+%dir %{_libdir}/lxc
+%dir %{_libdir}/lxc/templates
 %{_libdir}/liblxc.so.*
-%{_libdir}/lxc
+%{_libdir}/lxc/lxc-init
+%{_libdir}/lxc/rootfs
+
+%files templates
+%defattr(-,root,root,-)
+%{_libdir}/lxc/templates/lxc-*
 
 %files devel
 %defattr(-,root,root,-)
-%doc COPYING
 %{_datadir}/pkgconfig/%{name}.pc
 %{_includedir}/*
 %{_libdir}/liblxc.so
@@ -104,6 +126,9 @@ rm -f %{buildroot}%{_libdir}/lxc/templates/lxc-*
 %{_docdir}/%{name}
 
 %changelog
+* Fri Mar 25 2011 Silas Sewell <silas at sewell.ch> - 0.7.4.1-1
+- Update to 0.7.4.1
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 337e2df..0c9aab8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5c9c6889ba1255217078ea5d1aaf0c82  lxc-0.7.2.tar.gz
+f0a5345c8d9cb927cf15043a3cc1f413  lxc-0.7.4.1.tar.gz


More information about the scm-commits mailing list