Hello community, here is the log from the commit of package upm for openSUSE:Factory checked in at 2017-01-29 10:38:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/upm (Old) and /work/SRC/openSUSE:Factory/.upm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "upm" Changes: -------- --- /work/SRC/openSUSE:Factory/upm/upm.changes 2017-01-25 23:17:33.583038780 +0100 +++ /work/SRC/openSUSE:Factory/.upm.new/upm.changes 2017-02-03 20:04:13.721783123 +0100 @@ -1,0 +2,37 @@ +Thu Jan 26 16:20:30 UTC 2017 - [email protected] + +- Update to version 1.0.3: + * Minor cmake changes for Java builds and Java examples are now + toggled with the same BUILDEXAMPLES cmake switch + * Made some improvements in the utilities class for our C drivers + * Fixed issue with some drivers not being usable on subplatforms + due to pin numbers using uint8 type + * New sensors: ims, ecezo, mb704x, rf22 +- Changes for version 1.0.1: + * Warnings as errors enabled for C/CXX (fixed warnings from -Wall + and others) + * Fix for C/CXX compile flag append issue #485 + * C sensor libraries for: my9221, otp538u, guvas12d, ppd42ns + * New sensor: ms5803 +- Changes for version 1.0.0: + * Added approximately 50 C sources for UPM drivers that can be + used on both Unix and RTOS boards + * Provided generic alternatives to the Grove set of classes as + they will be deprecated over time and eventually removed + * UPM modules are now being packed and published on NPM as + sources rather than binaries to enhance compatibility with + various boards and systems + * Build both python2 and python3 modules if the corresponding + python libs are available and removed cmake BUILDPYTHON3 switch + * Converted python examples to run on both python2 and python3 + * Added 'upm' hierarchy to python module install path which + changes the way UPM modules are imported Example: old: import + pyupm_dfrph new: from upm import pyupm_dfrph or import + upm.pyupm_dfrph + * Added ctests for consistancy checking UPM repo as well as + sanity checking for python2/3 modules and examples + * Various documentation and driver fixes throughout + * New sensors: nmea_gps, mma7361, bh1750, hka5, dfrorp, dfrec, + sht1x + +------------------------------------------------------------------- Old: ---- upm-0.8.0.tar.gz New: ---- upm-1.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ upm.spec ++++++ --- /var/tmp/diff_new_pack.RRhgF1/_old 2017-02-03 20:04:14.445681231 +0100 +++ /var/tmp/diff_new_pack.RRhgF1/_new 2017-02-03 20:04:14.449680668 +0100 @@ -1,7 +1,7 @@ # # spec file for package upm # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,9 +16,9 @@ # -%define sover 0 +%define sover 1 Name: upm -Version: 0.8.0 +Version: 1.0.2 Release: 0 Summary: High-level repository for sensors that use mraa License: MIT @@ -31,7 +31,8 @@ BuildRequires: swig BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(mraa) -BuildRequires: pkgconfig(python) +BuildRequires: pkgconfig(python2) +BuildRequires: pkgconfig(python3) ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 %description @@ -82,7 +83,20 @@ underlying hardware platform (or microcontroller), as well as with the attached sensors, through calls to MRAA APIs. -This package contains the Python bindings for %{name}. +This package contains python bindings for %{name}. + +%package -n python3-%{name} +Summary: Python bindings for %{name} +Group: Development/Languages/Python +Requires: lib%{name}%{sover} = %{version} + +%description -n python3-%{name} +The UPM repository provides software drivers for a wide variety of commonly +used sensors and actuators. These software drivers interact with the +underlying hardware platform (or microcontroller), as well as with the +attached sensors, through calls to MRAA APIs. + +This package contains python3 bindings for %{name}. %prep %setup -q @@ -111,10 +125,14 @@ %defattr(-,root,root) %{_libdir}/lib%{name}*.so %{_includedir}/%{name} -%{_libdir}/pkgconfig/%{name}-* +%{_libdir}/pkgconfig/%{name}* %files -n python-%{name} %defattr(-,root,root) %{python_sitearch}/* +%files -n python3-%{name} +%defattr(-,root,root) +%{python3_sitearch}/* + %changelog ++++++ upm-0.8.0.tar.gz -> upm-1.0.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/upm/upm-0.8.0.tar.gz /work/SRC/openSUSE:Factory/.upm.new/upm-1.0.2.tar.gz differ: char 12, line 1
