SHA256
1
0
forked from pool/libvirt
OBS User unknown 2009-01-12 01:05:34 +00:00 committed by Git OBS Bridge
parent b090beae85
commit 2df017fec4
4 changed files with 34 additions and 6 deletions

14
devhelp.patch Normal file
View File

@ -0,0 +1,14 @@
Index: libvirt-0.4.6/docs/devhelp/Makefile.am
===================================================================
--- libvirt-0.4.6.orig/docs/devhelp/Makefile.am
+++ libvirt-0.4.6/docs/devhelp/Makefile.am
@@ -1,7 +1,8 @@
DEVHELP_DIR=$(datadir)/gtk-doc/html/libvirt
HTML_FILES=index.html general.html $(HTML_MODULES)
HTML_MODULES= \
- libvirt-libvirt.html
+ libvirt-libvirt.html \
+ libvirt-virterror.html
EXTRA_FORMAT= \
home.png \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jan 9 09:41:49 MST 2009 - jfehlig@novell.com
- Added missing html and png files to libvirt-doc package
devhelp.patch
bnc#463810
-------------------------------------------------------------------
Mon Dec 15 12:40:41 MST 2008 - jfehlig@novell.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libvirt (Version 0.4.6)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -49,7 +49,7 @@ License: LGPL v2.1 or later
Group: Development/Libraries/C and C++
AutoReqProv: yes
Version: 0.4.6
Release: 13
Release: 14
Summary: A C toolkit to interract with the virtualization capabilities of Linux
Requires: readline
Requires: ncurses
@ -86,6 +86,7 @@ Patch16: xen-pv-cdrom.patch
Patch17: detach-disk.patch
Patch18: migrate-params.patch
Patch19: cve-2008-5086.patch
Patch20: devhelp.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -196,6 +197,7 @@ Authors:
%patch17 -p1
%patch18 -p1
%patch19 -p1
%patch20 -p1
rm po/no.*
%build
@ -221,11 +223,11 @@ export CFLAGS="$RPM_OPT_FLAGS"
ac_cv_path_QEMU_IMG=/usr/bin/qemu-img-xen \
ac_cv_path_ISCSIADM=/sbin/iscsiadm
make DOCS_DIR=%{_docdir}/%{name}-python EXAMPLE_DIR=%{_docdir}/%{name}-python/examples HTML_DIR=%{_docdir}/%{name}
cd docs/examples ; make index.html ; cd ../..
%install
%makeinstall DOCS_DIR=%{_docdir}/%{name}-python EXAMPLE_DIR=%{_docdir}/%{name}-python/examples HTML_DIR=%{_docdir}/%{name}
cp -a AUTHORS ChangeLog COPYING NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{name}/
cd docs ; cp -a *.html $RPM_BUILD_ROOT%{_docdir}/%{name} ; cp -a *.png $RPM_BUILD_ROOT%{_docdir}/%{name} ; cd ..
# remove currently unsupported locale(s)
rm -rf $RPM_BUILD_ROOT/usr/share/locale/sr@latin
# for now, do not install the default network definition
@ -318,6 +320,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-, root, root)
%{_datadir}/gtk-doc/html/libvirt
%doc %{_docdir}/%{name}/*.gif
%doc %{_docdir}/%{name}/*.png
%doc %{_docdir}/%{name}/*.html
%doc %{_docdir}/%{name}/html
@ -328,6 +331,10 @@ rm -rf $RPM_BUILD_ROOT
%{py_sitedir}/libvirtmod*
%changelog
* Fri Jan 09 2009 jfehlig@novell.com
- Added missing html and png files to libvirt-doc package
devhelp.patch
bnc#463810
* Mon Dec 15 2008 jfehlig@novell.com
- Patch for CVE-2008-5086
bnc#459009

View File

@ -5,11 +5,11 @@
#
### BEGIN INIT INFO
# Provides: libvirtd
# Required-Start: $network
# Required-Start: $network $remote_fs
# Should-Start: xend
# Default-Start: 3 5
# Required-Stop: $null
# Should-Stop: $null
# Required-Stop: $network $remote_fs
# Should-Stop: xend
# Default-Stop: 0 1 2 4 6
# Short-Description: daemon for libvirt virtualization API
# Description: This is a daemon for managing QEMU guest instances