Hello community,

here is the log from the commit of package 96BoardsGPIO for openSUSE:Factory 
checked in at 2018-02-07 18:43:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/96BoardsGPIO (Old)
 and      /work/SRC/openSUSE:Factory/.96BoardsGPIO.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "96BoardsGPIO"

Wed Feb  7 18:43:03 2018 rev:2 rq:573729 version:0.0+git.20170225

Changes:
--------
--- /work/SRC/openSUSE:Factory/96BoardsGPIO/96BoardsGPIO.changes        
2017-08-10 14:11:08.420587143 +0200
+++ /work/SRC/openSUSE:Factory/.96BoardsGPIO.new/96BoardsGPIO.changes   
2018-02-07 18:43:05.391472939 +0100
@@ -1,0 +2,6 @@
+Wed Jan 31 13:41:50 UTC 2018 - [email protected]
+
+- Build only python3 version of bindings
+- Install placeholder config file (boo#1078266)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ 96BoardsGPIO.spec ++++++
--- /var/tmp/diff_new_pack.zIwI0S/_old  2018-02-07 18:43:06.067441289 +0100
+++ /var/tmp/diff_new_pack.zIwI0S/_new  2018-02-07 18:43:06.071441101 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package 96BoardsGPIO
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
 Summary:        A library to make GPIO use across 96Boards uniform
 License:        LGPL-2.1
 Group:          Development/Libraries/C and C++
-Url:            https://github.com/96boards/96BoardsGPIO
+URL:            https://github.com/96boards/96BoardsGPIO
 Source:         %{name}-%{version}.tar.xz
 Patch0:         96BoardsGPIO-implicit-declaration.patch
 BuildRequires:  autoconf
@@ -31,7 +31,7 @@
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libsoc)
-BuildRequires:  pkgconfig(python2)
+BuildRequires:  pkgconfig(python3)
 # Usefull only on arm but x86_64 is faster for building/testing
 ExclusiveArch:  aarch64 x86_64
 
@@ -99,12 +99,12 @@
 
 This package contains common config files for %{name}.
 
-%package -n python-%{name}
+%package -n python3-%{name}
 Summary:        Python bindings for %{name}
 Group:          Development/Languages/Python
 Requires:       lib%{name}%{sover} = %{version}
 
-%description -n python-%{name}
+%description -n python3-%{name}
 This is the rudimentary beginnings of the 96BoardGPIO library to control
 real world hardware via the GPIO on the 96Boards family of boards that
 confirm to the CE spec.
@@ -153,36 +153,35 @@
 
 %build
 autoreconf -fiv
+export PYTHON="python3"
 %configure \
   --enable-static=no
 make %{?_smp_mflags}
 
 %install
 %make_install
+touch %{buildroot}%{_sysconfdir}/libsoc_gpio.conf
 rm -rf %{buildroot}%{_libdir}/lib96BoardsGPIO.la
 
 %post -n lib%{name}%{sover} -p /sbin/ldconfig
 %postun -n lib%{name}%{sover} -p /sbin/ldconfig
 
 %files -n lib%{name}%{sover}
-%defattr(-,root,root)
 %{_libdir}/lib%{name}.so.%{sover}*
 
 %files -n %{name}-common
-%defattr(-,root,root)
 %doc LICENSE
+%config %{_sysconfdir}/libsoc_gpio.conf
 %dir %{_sysconfdir}/X11/Xsession.d
 %config %{_sysconfdir}/X11/Xsession.d/pin_mappings.sh
 %config %{_sysconfdir}/profile.d/pin_mappings.sh
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/gpio.h
 %{_libdir}/lib%{name}.so
 %{_libdir}/pkgconfig/%{name}.pc
 
-%files -n python-%{name}
-%defattr(-,root,root)
-%{python_sitelib}/*
+%files -n python3-%{name}
+%{python3_sitelib}/*
 
 %changelog


Reply via email to