From dee8111af116e4be760990534294f427645c461c2430cbd639c229bae0960a53 Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Thu, 24 Mar 2011 10:58:29 +0000 Subject: [PATCH] Accepting request 65088 from home:coolo:branches:openSUSE:Factory reviewed ok, thanks coolo OBS-URL: https://build.opensuse.org/request/show/65088 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=106 --- libvirt.changes | 6 ++++++ libvirt.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libvirt.changes b/libvirt.changes index a75defc..18c2d4a 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 24 10:23:30 UTC 2011 - coolo@novell.com + +- use %first_lang before changing symlinks, find_lang removes + unsupported languages + ------------------------------------------------------------------- Tue Mar 15 09:37:20 MDT 2011 - jfehlig@novell.com diff --git a/libvirt.spec b/libvirt.spec index a515e20..5d38e3c 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -411,6 +411,8 @@ rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu %if ! %{with_uml} rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.uml %endif +%find_lang %{name} + ln_dupes() { target="" @@ -432,7 +434,6 @@ mkdir -p $RPM_BUILD_ROOT/etc/init.d install %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/libvirtd ln -s /etc/init.d/libvirtd $RPM_BUILD_ROOT/usr/sbin/rclibvirtd ln -s /etc/init.d/libvirt-guests $RPM_BUILD_ROOT/usr/sbin/rclibvirt-guests -%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT