Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bluez for openSUSE:Factory checked 
in at 2024-06-12 15:37:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bluez (Old)
 and      /work/SRC/openSUSE:Factory/.bluez.new.19518 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bluez"

Wed Jun 12 15:37:46 2024 rev:205 rq:1180053 version:5.71

Changes:
--------
--- /work/SRC/openSUSE:Factory/bluez/bluez.changes      2024-03-01 
23:34:19.046664155 +0100
+++ /work/SRC/openSUSE:Factory/.bluez.new.19518/bluez.changes   2024-06-12 
15:38:48.835210828 +0200
@@ -1,0 +2,5 @@
+Tue Jun 11 09:15:31 UTC 2024 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Fix python3 shebang from test files (bsc#1212476)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ bluez.spec ++++++
--- /var/tmp/diff_new_pack.F1s8ap/_old  2024-06-12 15:38:49.747244339 +0200
+++ /var/tmp/diff_new_pack.F1s8ap/_new  2024-06-12 15:38:49.751244486 +0200
@@ -236,8 +236,8 @@
 # for auto-enable subpackage
 sed -i '/^#AutoEnable=false/aAutoEnable=true' src/main.conf
 
-# 2to3 does not fix the #! line
-sed -i '1s#/usr/bin/python$#/usr/bin/python3#' test/*
+# Fix shebangs in test files
+%{?python3_fix_shebang_path:%python3_fix_shebang_path test/*}
 
 %build
 %if 0%{?suse_version} < 1550
@@ -308,9 +308,6 @@
 cd %{buildroot}%{_libdir}/bluez/test
 chmod 0644 *.py *.xml *.dtd
 
-# fix python shebang
-sed -i -e '1s/env p/p/' 
%{buildroot}%{_libdir}/bluez/test/{example-gatt-{client,server},test-mesh}
-
 mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
 cp %{SOURCE9} %{buildroot}%{_defaultdocdir}/%{name}
 %if %{with mesh}

Reply via email to