Hello community,

here is the log from the commit of package libbraille for openSUSE:Factory 
checked in at 2020-05-07 15:06:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libbraille (Old)
 and      /work/SRC/openSUSE:Factory/.libbraille.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libbraille"

Thu May  7 15:06:24 2020 rev:16 rq:800330 version:0.19.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libbraille/libbraille.changes    2020-03-19 
19:49:07.252143295 +0100
+++ /work/SRC/openSUSE:Factory/.libbraille.new.2738/libbraille.changes  
2020-05-07 15:06:27.271831873 +0200
@@ -1,0 +2,7 @@
+Tue May  5 10:51:25 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- Let the distro decide if it wants to disable python2 bindings
+  (bcond_without python2). Enabled by default, unless overwritten
+  by the builder.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libbraille.spec ++++++
--- /var/tmp/diff_new_pack.LQyt2n/_old  2020-05-07 15:06:28.103833713 +0200
+++ /var/tmp/diff_new_pack.LQyt2n/_new  2020-05-07 15:06:28.103833713 +0200
@@ -16,6 +16,9 @@
 #
 
 
+# Python2 is  EOL; let the distro decide if they will want to build py2 
support. TW does not
+%bcond_without python2
+
 Name:           libbraille
 Version:        0.19.0
 Release:        0
@@ -32,7 +35,9 @@
 BuildRequires:  swig
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-2.0)
+%if %{with python2}
 BuildRequires:  pkgconfig(python2)
+%endif
 
 %description
 Libbraille is a computer shared library which makes it possible to
@@ -91,7 +96,10 @@
   --enable-hidden-symbols \
   --enable-fake \
   --enable-usb \
-  --enable-python
+%if %{with python2}
+  --enable-python \
+%endif
+  %nil
 %make_build
 
 %install
@@ -115,9 +123,11 @@
 %files fake
 %{_libdir}/libbraille/fake-0.so.*
 
+%if %{with python2}
 %files -n python2-braille
 %{python2_sitearch}/_braille.so*
 %{python2_sitelib}/braille.py*
+%endif
 
 %files devel
 %{_includedir}/*.h


Reply via email to