Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hyper-v for openSUSE:Factory checked 
in at 2024-05-01 14:55:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hyper-v (Old)
 and      /work/SRC/openSUSE:Factory/.hyper-v.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hyper-v"

Wed May  1 14:55:31 2024 rev:45 rq:1170959 version:8

Changes:
--------
--- /work/SRC/openSUSE:Factory/hyper-v/hyper-v.changes  2024-02-23 
16:41:22.630741048 +0100
+++ /work/SRC/openSUSE:Factory/.hyper-v.new.1880/hyper-v.changes        
2024-05-01 14:55:45.064381936 +0200
@@ -1,0 +2,6 @@
+Tue Apr 23 10:01:10 UTC 2024 - pgaj...@suse.com
+
+- remove dependency on /usr/bin/python3 using
+  %python3_fix_shebang macro, [bsc#1212476]
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ hyper-v.spec ++++++
--- /var/tmp/diff_new_pack.F33f7z/_old  2024-05-01 14:55:46.352428669 +0200
+++ /var/tmp/diff_new_pack.F33f7z/_new  2024-05-01 14:55:46.352428669 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hyper-v
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,6 +24,7 @@
 Name:           hyper-v
 ExclusiveArch:  %ix86 x86_64 aarch64
 %{?systemd_requires}
+BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(systemd)
 # Due to usage of char device instead of netlink
 Conflicts:      kernel < 4.2
@@ -32,7 +33,7 @@
 Group:          System/Kernel
 Supplements:    
modalias(dmi:*svnMicrosoftCorporation*pnVirtualMachine*rnVirtualMachine*)
 Supplements:    modalias(pci:v00001414d00005353sv*sd*bc*sc*i*)
-Url:            http://www.kernel.org
+URL:            http://www.kernel.org
 # Arbitrary version number
 Version:        8
 Release:        0
@@ -109,15 +110,7 @@
 install -m755 %{hv_kvp_daemon} $RPM_BUILD_ROOT${bindir}
 install -m755 %{hv_vss_daemon} $RPM_BUILD_ROOT${bindir}
 install -m755 %{hv_fcopy_daemon} $RPM_BUILD_ROOT${bindir}
-sed '
-1 {
-%if 0%{?suse_version} > 1315
-s@^.*@#!%{_bindir}/python3@
-%else
-s@^.*@#!%{_bindir}/python2@
-%endif
-}
-' %{S:0} > $RPM_BUILD_ROOT%{_sbindir}/lsvmbus
+cp -avL %{S:0} $RPM_BUILD_ROOT%{_sbindir}/lsvmbus
 chmod 0755 $RPM_BUILD_ROOT%{_sbindir}/lsvmbus
 cp -avL %{S:20} $RPM_BUILD_ROOT%{helper_dir}/bin/hv_get_dhcp_info
 cp -avL %{S:21} $RPM_BUILD_ROOT%{helper_dir}/bin/hv_get_dns_info
@@ -210,6 +203,7 @@
 EOF
 chmod 755 $RPM_BUILD_ROOT${bindir}/${helper}
 #
+%python3_fix_shebang
 
 %files
 %doc kvptest.ps1.txt

Reply via email to