From fd35f8ca58c6c48a7f76ae3d19694c87ee2ed4da Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 14 Feb 2007 17:36:39 +0000 Subject: [PATCH] Added libsysfs-devel dep & pre-create config/socket dir --- ChangeLog | 5 +++++ libvirt.spec.in | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 154cd0ec3d..91f24862e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 14 12:35:24 EST 2007 Daniel P. Berrange + + * libvirt.spec.in: Added dep on libsysfs-devel. Pre-create + the qemu config dir & socket dir. + Tue Feb 14 12:19:24 EST 2007 Daniel P. Berrange * src/qemu_internal.c, qemud/qemud.c: Move configs into diff --git a/libvirt.spec.in b/libvirt.spec.in index bd7634a8cd..2b6c4202fd 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -19,6 +19,7 @@ BuildRequires: libxml2-devel BuildRequires: readline-devel BuildRequires: ncurses-devel BuildRequires: gettext +BuildRequires: libsysfs-devel Obsoletes: libvir ExclusiveArch: i386 x86_64 ia64 @@ -65,6 +66,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a +install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/ +install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/run/libvirt/ %find_lang %{name} %clean @@ -83,6 +86,8 @@ rm -fr %{buildroot} %doc %{_mandir}/man1/virsh.1* %{_bindir}/virsh %{_libdir}/lib*.so.* +%config %{_sysconfdir}/libvirt/qemu/networks/ +%{_localstatedir}/run/libvirt/ %attr(4755, root, root) %{_libexecdir}/libvirt_proxy %attr(0755, root, root) %{_libexecdir}/libvirt_qemud %doc docs/libvirt.rng