Hello community,

here is the log from the commit of package python3 for openSUSE:Factory checked 
in at 2018-03-12 12:04:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3 (Old)
 and      /work/SRC/openSUSE:Factory/.python3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3"

Mon Mar 12 12:04:52 2018 rev:86 rq:583862 version:3.6.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3/python3-base.changes     2018-02-25 
12:20:27.911671558 +0100
+++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes        
2018-03-12 12:04:55.786060129 +0100
@@ -1,0 +2,7 @@
+Wed Mar  7 09:16:39 UTC 2018 - [email protected]
+
+- Created %so_major and %so_minor macros
+- Put Tools/gdb/libpython.py script into proper place and ship it with devel
+  subpackage.
+
+-------------------------------------------------------------------
python3.changes: same change

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

Other differences:
------------------
++++++ python3-base.spec ++++++
--- /var/tmp/diff_new_pack.1QkrBy/_old  2018-03-12 12:04:59.945911042 +0100
+++ /var/tmp/diff_new_pack.1QkrBy/_new  2018-03-12 12:04:59.957910612 +0100
@@ -40,7 +40,9 @@
 # soname ABI tag defined in PEP 3149
 %define         abi_tag    %{python_version_abitag}%{abi_kind}
 # version part of "libpython" package
-%define         so_version %{python_version_soname}%{abi_kind}1_0
+%define         so_major 1
+%define         so_minor 0
+%define         so_version 
%{python_version_soname}%{abi_kind}%{so_major}_%{so_minor}
 
 # rpm and python have different ideas about what is an arch-dependent name, so:
 %if %{__isa_name} == ppc
@@ -414,9 +416,14 @@
   test -d $x && ( install -c -m 755 -d $PDOCS/$x ) \
              || ( install -c -m 644 $x $PDOCS/$x )
 done
+# gdb script is shipped with devel subpackage
+rm -r $PDOCS/Tools/gdb
 # clean up the bat files
 find $PDOCS -name "*.bat" -exec rm {} ";"
 
+# put gdb helper script into place
+install -m 755 -D Tools/gdb/libpython.py 
%{buildroot}%{_datadir}/gdb/auto-load/%{_libdir}/libpython%{python_abi}.so.%{so_major}.%{so_minor}-gdb.py
+
 # install devel files to /config
 #cp Makefile Makefile.pre.in Makefile.pre 
$RPM_BUILD_ROOT%{sitedir}/config-%{python_abi}/
 
@@ -460,7 +467,7 @@
 
 %files -n libpython%{so_version}
 %defattr(644, root,root)
-%{_libdir}/libpython%{python_abi}.so.*
+%{_libdir}/libpython%{python_abi}.so.%{so_major}.%{so_minor}
 
 %files -n python3-tools
 %defattr(644, root, root, 755)
@@ -493,6 +500,12 @@
 %{_bindir}/python%{python_abi}-config
 %{_bindir}/python%{python_version}-config
 %{_bindir}/python3-config
+# Own these directories to not depend on gdb
+%dir %{_datadir}/gdb
+%dir %{_datadir}/gdb/auto-load
+%dir %{_datadir}/gdb/auto-load%{_prefix}
+%dir %{_datadir}/gdb/auto-load%{_libdir}
+%{_datadir}/gdb/auto-load/%{_libdir}/libpython%{python_abi}.so.%{so_major}.%{so_minor}-gdb.py
 
 %files -n python3-testsuite
 %defattr(644, root, root, 755)

++++++ python3-doc.spec ++++++
--- /var/tmp/diff_new_pack.1QkrBy/_old  2018-03-12 12:05:00.037907744 +0100
+++ /var/tmp/diff_new_pack.1QkrBy/_new  2018-03-12 12:05:00.049907314 +0100
@@ -34,7 +34,9 @@
 # soname ABI tag defined in PEP 3149
 %define         abi_tag    %{python_version_abitag}%{abi_kind}
 # version part of "libpython" package
-%define         so_version %{python_version_soname}%{abi_kind}1_0
+%define         so_major 1
+%define         so_minor 0
+%define         so_version 
%{python_version_soname}%{abi_kind}%{so_major}_%{so_minor}
 
 # rpm and python have different ideas about what is an arch-dependent name, so:
 %if %{__isa_name} == ppc

python3.spec: same change



Reply via email to