Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libkrunfw for openSUSE:Factory 
checked in at 2022-06-21 16:32:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libkrunfw (Old)
 and      /work/SRC/openSUSE:Factory/.libkrunfw.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libkrunfw"

Tue Jun 21 16:32:21 2022 rev:6 rq:984030 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libkrunfw/libkrunfw.changes      2022-05-17 
17:24:42.251185703 +0200
+++ /work/SRC/openSUSE:Factory/.libkrunfw.new.1548/libkrunfw.changes    
2022-06-21 16:32:28.779817125 +0200
@@ -1,0 +2,24 @@
+Fri Jun 17 14:30:49 UTC 2022 - Dario Faggioli <dfaggi...@suse.com>
+
+- Update to latest upstream version, v.3.0.0
+  * Update to latest LTS: 5.15.47
+  * Update TSI patch
+- Update to version v2.0.0
+  * Enable virtio-rng device
+- Update to version v2.1.2
+  * Incorporate AMD SEV support in the main branch
+  * Update to the latest LTS: 5.15.45
+- Update to version v2.1.0
+  * Makefile: add versioning to the output library by @slp in #12
+- Update to version v2.0.0
+  * Update to the latest LTS: 5.15.44
+- Update to version v.2.0.0
+  * Update to TSIv2 and 5.15.43
+  * Adopt SemVer and make the major version follow the internal ABI version,
+    as it's the one signalling breaking changes.
+- Patches added:
+  * dont-set-soname-as-it-is-plugin-for-us.patch
+- Patches dropped:
+  * fix-build-with-gcc12.patch
+
+-------------------------------------------------------------------

Old:
----
  fix-build-with-gcc12.patch
  libkrunfw-0.7.tar.gz
  linux-5.10.116.tar.xz

New:
----
  dont-set-soname-as-it-is-plugin-for-us.patch
  libkrunfw-3.0.0.tar.gz
  linux-5.15.47.tar.xz

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

Other differences:
------------------
++++++ libkrunfw.spec ++++++
--- /var/tmp/diff_new_pack.BsrF7V/_old  2022-06-21 16:32:31.963821795 +0200
+++ /var/tmp/diff_new_pack.BsrF7V/_new  2022-06-21 16:32:31.967821800 +0200
@@ -17,13 +17,16 @@
 
 
 Name:           libkrunfw
-Version:        0.7
+Version:        3.0.0
 Release:        0
 Summary:        A dynamic library bundling a Linux kernel in a convenient 
storage format
 License:        GPL-2.0-only AND LGPL-2.1-only
 URL:            https://github.com/containers/libkrunfw
 Source0:        
https://github.com/containers/libkrunfw/archive/v%{version}.tar.gz#/libkrunfw-%{version}.tar.gz
-Source1:        
https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.10.116.tar.xz
+Source1:        
https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.15.47.tar.xz
+# libkrunfw is a plugin for us, more than a full-fledged library,
+# so let's avoid setting up a SONAME etc (which upstream is now doing).
+Patch1:         dont-set-soname-as-it-is-plugin-for-us.patch
 ExclusiveArch:  x86_64 aarch64
 BuildRequires:  bc
 BuildRequires:  binutils
@@ -39,8 +42,6 @@
 Conflicts:      libkrunfw-devel <= 0.7
 Conflicts:      libkrunfw0 <= 0.7
 
-Patch1:         fix-build-with-gcc12.patch
-
 %description
 libkrunfw is a library bundling a Linux kernel in a dynamic library in a way 
that can be easily consumed by libkrun.
 
@@ -60,12 +61,21 @@
 EOF
 source ./.kernel-binary.spec.buildenv
 %make_build
+%ifarch x86_64
+%make_build SEV=1
+%endif
 
 %install
 source ./.kernel-binary.spec.buildenv
 %make_install PREFIX=%{_prefix}
+%ifarch x86_64
+%make_install SEV=1 PREFIX=%{_prefix}
+%endif
 
 %files
 %{_libdir}/libkrunfw.so
+%ifarch x86_64
+%{_libdir}/libkrunfw-sev.so
+%endif
 
 %changelog

++++++ dont-set-soname-as-it-is-plugin-for-us.patch ++++++
diff -Nru libkrunfw-3.0.0_orig/Makefile libkrunfw-3.0.0/Makefile
--- libkrunfw-3.0.0_orig/Makefile       2022-06-17 12:34:59.000000000 +0200
+++ libkrunfw-3.0.0/Makefile    2022-06-17 17:30:58.478246182 +0200
@@ -22,14 +22,9 @@
 KERNEL_BINARY_x86_64 = $(KERNEL_SOURCES)/vmlinux
 KERNEL_BINARY_aarch64 = $(KERNEL_SOURCES)/arch/arm64/boot/Image
 
-KRUNFW_BINARY_Linux = libkrunfw$(VARIANT).so.$(FULL_VERSION)
-KRUNFW_SONAME_Linux = libkrunfw$(VARIANT).so.$(ABI_VERSION)
-KRUNFW_BASE_Linux = libkrunfw$(VARIANT).so
-SONAME_Linux = -Wl,-soname,$(KRUNFW_SONAME_Linux)
-
-KRUNFW_BINARY_Darwin = libkrunfw.$(FULL_VERSION).dylib
-KRUNFW_SONAME_Darwin = libkrunfw.$(ABI_VERSION).dylib
-KRUNFW_BASE_Darwin = libkrunfw.dylib
+KRUNFW_BINARY_Linux = libkrunfw$(VARIANT).so
+
+KRUNFW_BINARY_Darwin = libkrunfw.dylib
 SONAME_Darwin =
 
 LIBDIR_Linux = lib64
@@ -78,7 +73,7 @@
 endif
 
 $(KRUNFW_BINARY_$(OS)): $(KERNEL_C_BUNDLE) $(QBOOT_C_BUNDLE) $(INITRD_C_BUNDLE)
-       gcc -fPIC -DABI_VERSION=$(ABI_VERSION) -shared $(SONAME_$(OS)) -o $@ 
$(KERNEL_C_BUNDLE) $(QBOOT_C_BUNDLE) $(INITRD_C_BUNDLE)
+       gcc -fPIC -DABI_VERSION=$(ABI_VERSION) -shared  -o $@ 
$(KERNEL_C_BUNDLE) $(QBOOT_C_BUNDLE) $(INITRD_C_BUNDLE)
 ifeq ($(OS),Linux)
        strip $(KRUNFW_BINARY_$(OS))
 endif
@@ -86,7 +81,6 @@
 install: $(KRUNFW_BINARY_$(OS))
        install -d $(DESTDIR)$(PREFIX)/$(LIBDIR_$(OS))/
        install -m 755 $(KRUNFW_BINARY_$(OS)) 
$(DESTDIR)$(PREFIX)/$(LIBDIR_$(OS))/
-       cd $(DESTDIR)$(PREFIX)/$(LIBDIR_$(OS))/ ; ln -s $(KRUNFW_BINARY_$(OS)) 
$(KRUNFW_SONAME_$(OS)) ; ln -s $(KRUNFW_SONAME_$(OS)) $(KRUNFW_BASE_$(OS))
 
 clean:
        rm -fr $(KERNEL_SOURCES) $(KERNEL_C_BUNDLE) $(QBOOT_C_BUNDLE) 
$(INITRD_C_BUNDLE) $(KRUNFW_BINARY_$(OS))

++++++ libkrunfw-0.7.tar.gz -> libkrunfw-3.0.0.tar.gz ++++++
++++ 10316 lines of diff (skipped)

++++++ linux-5.10.116.tar.xz -> linux-5.15.47.tar.xz ++++++
/work/SRC/openSUSE:Factory/libkrunfw/linux-5.10.116.tar.xz 
/work/SRC/openSUSE:Factory/.libkrunfw.new.1548/linux-5.15.47.tar.xz differ: 
char 15, line 1

Reply via email to