summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilas Sewell <silas@sewell.ch>2011-03-27 23:00:01 -0400
committerSilas Sewell <silas@sewell.ch>2011-03-27 23:00:01 -0400
commitc94275e825dbaf7ada9af4517e83e23c83ff18d4 (patch)
tree07deb49cec220b3778fa76984067af7ada49c0d9
parentb88450e0843d679b9afcadd1f696d354ef10f50f (diff)
downloadlxc-c94275e825dbaf7ada9af4517e83e23c83ff18d4.tar.gz
lxc-c94275e825dbaf7ada9af4517e83e23c83ff18d4.tar.xz
lxc-c94275e825dbaf7ada9af4517e83e23c83ff18d4.zip
Update to 0.7.4.1
-rw-r--r--.gitignore1
-rw-r--r--lxc.spec37
-rw-r--r--sources1
3 files changed, 33 insertions, 6 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 c132d7b..6894377 100644
--- a/lxc.spec
+++ b/lxc.spec
@@ -1,5 +1,5 @@
Name: lxc
-Version: 0.7.2
+Version: 0.7.4.1
Release: 1%{?dist}
Summary: Linux Resource Containers
@@ -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@sewell.ch> - 0.7.4.1-1
+- Update to 0.7.4.1
+
* Mon Jul 26 2010 Silas Sewell <silas@sewell.ch> - 0.7.2-1
- Update to 0.7.2
- Remove templates
diff --git a/sources b/sources
index 337e2df..2d4c3b3 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
5c9c6889ba1255217078ea5d1aaf0c82 lxc-0.7.2.tar.gz
+f0a5345c8d9cb927cf15043a3cc1f413 lxc-0.7.4.1.tar.gz