[libvirt] [PATCH 1/3] Move ldconfig calls to libvirt-client %post/%postun

Now that the library has moved to libvirt-client --- libvirt.spec.in | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 6228d0b..b79e766 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -411,7 +411,6 @@ chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/libvirtd rm -fr %{buildroot} %post -/sbin/ldconfig %if %{with_libvirtd} %if %{with_qemu} @@ -440,7 +439,9 @@ if [ $1 = 0 ]; then fi %endif -%postun -p /sbin/ldconfig +%post client -p /sbin/ldconfig + +%postun client -p /sbin/ldconfig %files %defattr(-, root, root) -- 1.6.2.5

Fixes: W: summary-not-capitalized client side library and utilities of the libvirt library --- libvirt.spec.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index b79e766..e0ba02c 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -198,7 +198,7 @@ of recent versions of Linux (and other OSes). The main package includes the libvirtd server exporting the virtualization support. %package client -Summary: client side library and utilities of the libvirt library +Summary: Client side library and utilities of the libvirt library Group: Development/Libraries Requires: readline Requires: ncurses -- 1.6.2.5

On Wed, Jul 29, 2009 at 10:09:35AM +0100, Mark McLoughlin wrote:
Fixes:
W: summary-not-capitalized client side library and utilities of the libvirt library --- libvirt.spec.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Gahhh, sure :-) ACK ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

polkit was disabled by default for a reason - because we selectively enable it on newer fedoras rather than disable it on older fedoras Same fix needed for netcf --- libvirt.spec.in | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index e0ba02c..82134b8 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -8,22 +8,24 @@ %define with_vbox 0%{!?_without_vbox:1} %define with_sasl 0%{!?_without_sasl:1} %define with_avahi 0%{!?_without_avahi:1} -%define with_polkit 0%{!?_without_polkit:1} %define with_python 0%{!?_without_python:1} %define with_libvirtd 0%{!?_without_libvirtd:1} %define with_uml 0%{!?_without_uml:1} %define with_one 0%{!?_without_one:1} -# default to off -%define with_phyp 0%{!?_without_phyp:0} %define with_network 0%{!?_without_network:1} %define with_storage_fs 0%{!?_without_storage_fs:1} %define with_storage_lvm 0%{!?_without_storage_lvm:1} %define with_storage_iscsi 0%{!?_without_storage_iscsi:1} %define with_storage_disk 0%{!?_without_storage_disk:1} %define with_numactl 0%{!?_without_numactl:1} -# default to off + +# default to off - selectively enabled below +%define with_polkit 0%{!?_without_polkit:0} %define with_capng 0%{!?_without_capng:0} -%define with_netcf 0%{!?_without_netcf:1} +%define with_netcf 0%{!?_without_netcf:0} + +# default to off +%define with_phyp 0%{!?_without_phyp:0} # Xen is available only on i386 x86_64 ia64 %ifnarch i386 i586 i686 x86_64 ia64 -- 1.6.2.5

On Wed, Jul 29, 2009 at 10:09:36AM +0100, Mark McLoughlin wrote:
polkit was disabled by default for a reason - because we selectively enable it on newer fedoras rather than disable it on older fedoras
Same fix needed for netcf
Okay, ACK, please push, not I will probably push out another test release today, thanks ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

On Wed, Jul 29, 2009 at 10:09:34AM +0100, Mark McLoughlin wrote:
Now that the library has moved to libvirt-client --- libvirt.spec.in | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
Ah, right ! ACK, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
participants (2)
-
Daniel Veillard
-
Mark McLoughlin