Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libtins for openSUSE:Factory checked 
in at 2023-04-14 16:54:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtins (Old)
 and      /work/SRC/openSUSE:Factory/.libtins.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libtins"

Fri Apr 14 16:54:07 2023 rev:6 rq:1079460 version:4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/libtins/libtins.changes  2022-12-03 
12:48:42.418178182 +0100
+++ /work/SRC/openSUSE:Factory/.libtins.new.19717/libtins.changes       
2023-04-14 16:54:08.372262444 +0200
@@ -1,0 +2,7 @@
+Sat Apr  1 20:11:54 UTC 2023 - Bjørn Lie <[email protected]>
+
+- Add 812be7966d445ec56e88eab512f8fd2d57152427.patch: Fix build
+  with GCC13. Due to changes in GCC13 need fix include.
+- Use autosetup and ldconfig_scriptlets macros.
+
+-------------------------------------------------------------------

New:
----
  812be7966d445ec56e88eab512f8fd2d57152427.patch

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

Other differences:
------------------
++++++ libtins.spec ++++++
--- /var/tmp/diff_new_pack.7LEhhQ/_old  2023-04-14 16:54:08.852265207 +0200
+++ /var/tmp/diff_new_pack.7LEhhQ/_new  2023-04-14 16:54:08.860265253 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libtins
 #
-# Copyright (c) 2022 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
@@ -26,6 +26,7 @@
 URL:            https://libtins.github.io/
 Source0:        
https://github.com/mfontanini/%{name}/archive/v%{version}.tar.gz
 Patch0:         libtins-4.2_build.patch
+Patch1:         
https://github.com/mfontanini/libtins/commit/812be7966d445ec56e88eab512f8fd2d57152427.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libpcap-devel
@@ -56,8 +57,7 @@
 application that use libtins.
 
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
 
 %build
 %cmake -DLIBTINS_ENABLE_CXX11=1
@@ -65,8 +65,7 @@
 %install
 %make_install -C build
 
-%post -n %{libname} -p /sbin/ldconfig
-%postun -n %{libname} -p /sbin/ldconfig
+%ldconfig_scriptlets -n %{libname}
 
 %files -n %{libname}
 %doc CHANGES.md README.md THANKS

++++++ 812be7966d445ec56e88eab512f8fd2d57152427.patch ++++++
>From 812be7966d445ec56e88eab512f8fd2d57152427 Mon Sep 17 00:00:00 2001
From: Vasiliy Glazov <[email protected]>
Date: Tue, 24 Jan 2023 19:29:36 +0300
Subject: [PATCH] Fix build with GCC13 (#496)

Due to changes in GCC13 need fix include.
---
 include/tins/ip_address.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/tins/ip_address.h b/include/tins/ip_address.h
index 5e6f6d16..eb28ccb9 100644
--- a/include/tins/ip_address.h
+++ b/include/tins/ip_address.h
@@ -33,7 +33,7 @@
 #include <string>
 #include <iosfwd>
 #include <functional>
-#include <stdint.h>
+#include <cstdint>
 #include <tins/cxxstd.h>
 #include <tins/macros.h>
 

Reply via email to