Hello community,

here is the log from the commit of package upm for openSUSE:Factory checked in 
at 2020-05-05 18:55:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/upm (Old)
 and      /work/SRC/openSUSE:Factory/.upm.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "upm"

Tue May  5 18:55:29 2020 rev:10 rq:800236 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/upm/upm.changes  2019-08-14 11:38:08.456688599 
+0200
+++ /work/SRC/openSUSE:Factory/.upm.new.2738/upm.changes        2020-05-05 
18:55:39.965448324 +0200
@@ -1,0 +2,11 @@
+Tue May  5 06:37:23 UTC 2020 - Martin Pluskal <mplus...@suse.com>
+
+- Fix dependency of devel package on libjpeg
+
+-------------------------------------------------------------------
+Tue Apr 28 06:21:33 UTC 2020 - Martin Pluskal <mplus...@suse.com>
+
+- Drop python2 support
+- Re-enable LTO
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ upm.spec ++++++
--- /var/tmp/diff_new_pack.1HI7gF/_old  2020-05-05 18:55:41.053450668 +0200
+++ /var/tmp/diff_new_pack.1HI7gF/_new  2020-05-05 18:55:41.057450676 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package upm
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,7 +32,6 @@
 BuildRequires:  swig
 BuildRequires:  pkgconfig(libjpeg)
 BuildRequires:  pkgconfig(mraa) >= 2.0.0
-BuildRequires:  pkgconfig(python2)
 BuildRequires:  pkgconfig(python3)
 ExclusiveArch:  %{ix86} x86_64 %{arm} aarch64
 
@@ -73,21 +72,6 @@
 
 This package contains development files for %{name}.
 
-%package -n python2-%{name}
-Summary:        Python bindings for %{name}
-Group:          Development/Languages/Python
-Requires:       lib%{name}%{sover} = %{version}
-Provides:       python-%{name} = %{version}
-Obsoletes:      python-%{name} < %{version}
-
-%description -n python2-%{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 python bindings for %{name}.
-
 %package -n python3-%{name}
 Summary:        Python bindings for %{name}
 Group:          Development/Languages/Python
@@ -121,7 +105,6 @@
 
 %build
 %define __builder ninja
-%define _lto_cflags %{nil}
 %cmake \
   -DCMAKE_SHARED_LINKER_FLAGS="" \
   -DCMAKE_EXE_LINKER_FLAGS="" \
@@ -129,10 +112,11 @@
   -DBUILDSWIGNODE=off \
   -DBUILDFTI=on \
   -Wno-dev
-%make_jobs
+%cmake_build
 
 %install
 %cmake_install
+sed -i "s|jpeg|libjpeg|g" %{buildroot}%{_libdir}/pkgconfig/upm-vcap.pc
 rm -rf %{buildroot}%{_datadir}/upm
 
 %post -n lib%{name}%{sover} -p /sbin/ldconfig
@@ -148,9 +132,6 @@
 %{_includedir}/%{name}
 %{_libdir}/pkgconfig/%{name}*
 
-%files -n python2-%{name}
-%{python_sitearch}/*
-
 %files -n python3-%{name}
 %{python3_sitearch}/*
 


Reply via email to