summaryrefslogtreecommitdiffstats
path: root/lxc.spec
diff options
context:
space:
mode:
Diffstat (limited to 'lxc.spec')
-rw-r--r--lxc.spec18
1 files changed, 14 insertions, 4 deletions
diff --git a/lxc.spec b/lxc.spec
index 31663a7..fc3547e 100644
--- a/lxc.spec
+++ b/lxc.spec
@@ -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 %{name}.
%{__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@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@sewell.ch> - 0.6.4-1
- Update to latest release
- Add documentation sub-package