Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package upm for openSUSE:Factory checked in 
at 2023-04-11 13:51:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/upm (Old)
 and      /work/SRC/openSUSE:Factory/.upm.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "upm"

Tue Apr 11 13:51:27 2023 rev:11 rq:1078369 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/upm/upm.changes  2020-05-05 18:55:39.965448324 
+0200
+++ /work/SRC/openSUSE:Factory/.upm.new.19717/upm.changes       2023-04-11 
13:51:43.663558296 +0200
@@ -1,0 +2,8 @@
+Sat Apr  8 19:38:51 UTC 2023 - Bjørn Lie <bjorn....@gmail.com>
+
+- Add upstream pull req patch: 704.patch -- include missing
+  <cstdint>. Fix build with gcc 13.
+- Use autosetup and ldconfig_scriptlets macros.
+- Update URL and Source to new home.
+
+-------------------------------------------------------------------

New:
----
  704.patch

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

Other differences:
------------------
++++++ upm.spec ++++++
--- /var/tmp/diff_new_pack.6oiR39/_old  2023-04-11 13:51:44.359562329 +0200
+++ /var/tmp/diff_new_pack.6oiR39/_new  2023-04-11 13:51:44.363562351 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package upm
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,8 +23,10 @@
 Summary:        High-level repository for sensors that use mraa
 License:        MIT
 Group:          Hardware/Other
-URL:            https://github.com/intel-iot-devkit/UPM
-Source:         
https://github.com/intel-iot-devkit/UPM/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+URL:            https://github.com/eclipse/upm
+Source:         %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch:          %{url}/pull/704.patch
+
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  ninja
@@ -99,7 +101,7 @@
 This package contains nodejs bindings for %{name}.
 
 %prep
-%setup -q
+%autosetup -p1
 # remove CC BY-NC-SA 3.0 licenced images
 rm -rf docs/images
 
@@ -119,8 +121,7 @@
 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
-%postun -n lib%{name}%{sover} -p /sbin/ldconfig
+%ldconfig_scriptlets -n lib%{name}%{sover}
 
 %files -n lib%{name}%{sover}
 %license LICENSE

++++++ 704.patch ++++++
>From 64f75806c04c2ee819cf2f92cb564ad316354823 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.k...@gmail.com>
Date: Sun, 29 Jan 2023 00:27:47 -0800
Subject: [PATCH] include missing <cstdint>

gcc 13 moved some includes around and as a result <cstdint> is no longer 
transitively included [1]. Explicitly include it for uint{32,64}_t.

[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
 src/mcp9808/mcp9808.hpp | 1 +
 src/micsv89/micsv89.hpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/mcp9808/mcp9808.hpp b/src/mcp9808/mcp9808.hpp
index b9e138d79..2509cd30e 100644
--- a/src/mcp9808/mcp9808.hpp
+++ b/src/mcp9808/mcp9808.hpp
@@ -13,6 +13,7 @@
 
 #pragma once
 
+#include <cstdint>
 #include <iostream>
 #include <string>
 #include <interfaces/iTemperature.hpp>
diff --git a/src/micsv89/micsv89.hpp b/src/micsv89/micsv89.hpp
index 2f97dbce8..c6e22ad89 100644
--- a/src/micsv89/micsv89.hpp
+++ b/src/micsv89/micsv89.hpp
@@ -11,6 +11,7 @@
 
 #pragma once
 
+#include <cstdint>
 #include <iostream>
 #include <string>
 

Reply via email to