- bnc#750679 - "ps2pdf xenapi.ps xenapi.pdf" fails for user abuild in Factory

add dummy xenapi.tex until ghostscript is fixed

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=179
This commit is contained in:
2012-04-02 11:08:21 +00:00
committed by Git OBS Bridge
parent 5df67af209
commit 0197e26e70
2 changed files with 19 additions and 0 deletions

View File

@@ -1245,6 +1245,19 @@ tar xfj %{SOURCE2} -C $RPM_BUILD_DIR/%{xen_build_dir}/tools
%patch99999 -p1
%build
# https://bugzilla.novell.com/show_bug.cgi?id=750679
cat > docs/xen-api/xenapi.tex <<-EOF
\\documentclass{article}
\\begin{document}
Hello World
\\newline
https://bugzilla.novell.com/show\_bug.cgi?id=750679
\\end{document}
EOF
cat docs/xen-api/xenapi.tex
#
XEN_EXTRAVERSION=%version-%release
XEN_EXTRAVERSION=${XEN_EXTRAVERSION#%{xvers}}
sed -i "s/XEN_EXTRAVERSION[\t ]*.=.*\$/XEN_EXTRAVERSION = $XEN_EXTRAVERSION/" xen/Makefile