Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qemu for openSUSE:Factory checked in 
at 2022-11-29 10:52:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qemu (Old)
 and      /work/SRC/openSUSE:Factory/.qemu.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qemu"

Tue Nov 29 10:52:44 2022 rev:241 rq:1038724 version:7.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/qemu/qemu.changes        2022-11-18 
15:43:32.874565985 +0100
+++ /work/SRC/openSUSE:Factory/.qemu.new.1597/qemu.changes      2022-11-29 
10:52:54.336657845 +0100
@@ -8,0 +9,5 @@
+Wed Nov  9 10:36:58 UTC 2022 - Christopher Yeleighton <giecr...@stegny.2a.pl>
+
+- install SeaBIOS documentation
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qemu.spec ++++++
--- /var/tmp/diff_new_pack.DEUoZp/_old  2022-11-29 10:52:55.992666544 +0100
+++ /var/tmp/diff_new_pack.DEUoZp/_new  2022-11-29 10:52:55.996666565 +0100
@@ -347,6 +347,7 @@
 BuildRequires:  ninja >= 1.7
 BuildRequires:  python3-base >= 3.6
 BuildRequires:  python3-setuptools
+BuildRequires:  perl-Text-Markdown
 %if "%{name}" == "qemu"
 # Requires, Recommends, etc exclusive to qemu
 %if %{kvm_available}
@@ -1570,13 +1571,14 @@
 SeaBIOS is an open source implementation of a 16bit x86 BIOS. SeaBIOS
 is the default and legacy BIOS for QEMU.
 
-%files seabios
+%files seabios -f roms/seabios/docs/docs.txt
 %defattr(-, root, root)
 %dir %_datadir/%name
 %_datadir/%name/bios.bin
 %_datadir/%name/bios-256k.bin
 %_datadir/%name/firmware/50-seabios-256k.json
 %_datadir/%name/firmware/60-seabios-128k.json
+%license  roms/seabios/COPYING
 
 %package vgabios
 Summary:        VGA BIOSes for QEMU
@@ -1749,6 +1751,34 @@
 
 %build
 
+%{nil build documentation for SeaBIOS }
+(d=roms/seabios/docs/
+cd "${d}"
+%{nil remember list of jobs in $@ }
+set --
+for f in *.md
+  do b="${f%.md}"
+
+    %{nil the following 2 commands are independent }
+
+    %{nil ensure the correct media type }
+    Markdown.pl "${f}" >"${b}.html" & set -- "${@}" "${!}"
+    
+    %{nil links to b.md will be rendered as to b;
+    soft link because %%doc makes a copy }
+    ln -Ts "${b}.html" "${b}" & set -- "${@}" "${!}"
+
+    echo >>docs.txt %%doc "${d}${b}.html" "${d}${b}"
+ 
+  done
+  
+  %{nil wait here because we are running in a subshell }
+  while ((${#}))
+  do wait "${1}"
+    shift
+  done
+  ) & ((seabios_docs_pid = $!))
+
 %if %{legacy_qemu_kvm}
 # FIXME: Why are we copying the s390 specific one (SOURCE13)?
 cp %{SOURCE13} docs/supported.rst
@@ -2150,6 +2180,7 @@
 
 # End of the build for qemu
 %endif
+wait $seabios_docs_pid
 
 %install
 cd %blddir





++++++ qemu.spec.in ++++++
--- /var/tmp/diff_new_pack.DEUoZp/_old  2022-11-29 10:52:56.324668289 +0100
+++ /var/tmp/diff_new_pack.DEUoZp/_new  2022-11-29 10:52:56.328668309 +0100
@@ -288,6 +288,7 @@
 BuildRequires:  ninja >= 1.7
 BuildRequires:  python3-base >= 3.6
 BuildRequires:  python3-setuptools
+BuildRequires:  perl-Text-Markdown
 %if "%{name}" == "qemu"
 # Requires, Recommends, etc exclusive to qemu
 %if %{kvm_available}
@@ -1558,10 +1559,11 @@
 x86 software to communicate with an attached serial console as if a video card
 were attached. For use with QEMU.
 
-%files sgabios
+%files sgabios -f roms/seabios/docs/docs.txt
 %defattr(-, root, root)
 %dir %_datadir/%name
 %_datadir/%name/sgabios.bin
+%license  roms/seabios/COPYING
 
 %package ipxe
 Summary:        PXE ROMs for QEMU NICs
@@ -1690,6 +1692,35 @@
 
 %build
 
+%{nil build documentation for SeaBIOS }
+(d=roms/seabios/docs/
+cd "${d}"
+%{nil remember list of jobs in $@ }
+set --
+for f in *.md
+  do b="${f%.md}"
+
+    %{nil the following 2 commands are independent }
+
+    %{nil ensure the correct media type }
+    Markdown.pl "${f}" >"${b}.html" & set -- "${@}" "${!}"
+    
+    %{nil links to b.md will be rendered as to b;
+    soft link because %%doc makes a copy }
+    ln -Ts "${b}.html" "${b}" & set -- "${@}" "${!}"
+
+    echo >>docs.txt %%doc "${d}${b}.html" "${d}${b}"
+ 
+  done
+  
+  %{nil wait here because we are running in a subshell }
+  while ((${#}))
+  do wait "${1}"
+    shift
+  done
+  ) & ((seabios_docs_pid = $!))
+
+
 %if %{legacy_qemu_kvm}
 # FIXME: Why are we copying the s390 specific one (SOURCE13)?
 cp %{SOURCE13} docs/supported.rst
@@ -2091,6 +2122,7 @@
 
 # End of the build for qemu
 %endif
+wait "${seabios_docs_pid}"
 
 %install
 cd %blddir

Reply via email to