SPECS: lxc.spec - some fixes
arekm
arekm at pld-linux.org
Fri Nov 28 19:22:31 CET 2008
Author: arekm Date: Fri Nov 28 18:22:31 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- some fixes
---- Files affected:
SPECS:
lxc.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/lxc.spec
diff -u SPECS/lxc.spec:1.1 SPECS/lxc.spec:1.2
--- SPECS/lxc.spec:1.1 Fri Nov 28 19:15:57 2008
+++ SPECS/lxc.spec Fri Nov 28 19:22:26 2008
@@ -8,6 +8,9 @@
Source0: http://dl.sourceforge.net/lxc/%{name}-%{version}.tar.gz
# Source0-md5: 327f0e700858ab5b916aa36517680256
URL: http://sourceforge.net/projects/lxc
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -38,8 +41,13 @@
%prep
%setup -q
+sed -i -e 's#^lxcpath=.*#lxcpath=/var/lxc#g' src/lxc/Makefile.am
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
%configure
%{__make}
@@ -50,6 +58,8 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/var/lxc
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -62,6 +72,7 @@
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/liblxc-*.so
%dir %{_sysconfdir}/lxc
+%dir /var/lxc
%files devel
%defattr(644,root,root,755)
@@ -79,6 +90,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2008/11/28 18:22:26 arekm
+- some fixes
+
Revision 1.1 2008/11/28 18:15:57 arekm
- initial
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lxc.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list