Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cxxtools for openSUSE:Factory 
checked in at 2021-07-16 00:00:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cxxtools (Old)
 and      /work/SRC/openSUSE:Factory/.cxxtools.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cxxtools"

Fri Jul 16 00:00:40 2021 rev:6 rq:906438 version:3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/cxxtools/cxxtools.changes        2021-01-30 
13:57:53.226409168 +0100
+++ /work/SRC/openSUSE:Factory/.cxxtools.new.2625/cxxtools.changes      
2021-07-16 00:03:12.108359927 +0200
@@ -1,0 +2,6 @@
+Thu Jul 15 09:25:14 UTC 2021 - Dirk M??ller <dmuel...@suse.com>
+
+- add gcc11.patch: backport from 
https://github.com/maekitalo/cxxtools/commit/b773c01fc13d2ae67abc0839888e383be23562fd
 
+- run tests
+
+-------------------------------------------------------------------

New:
----
  gcc11.patch

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

Other differences:
------------------
++++++ cxxtools.spec ++++++
--- /var/tmp/diff_new_pack.rI0U4E/_old  2021-07-16 00:03:12.584356113 +0200
+++ /var/tmp/diff_new_pack.rI0U4E/_new  2021-07-16 00:03:12.588356081 +0200
@@ -27,10 +27,12 @@
 URL:            http://www.tntnet.org/cxxtools.html
 Source0:        
https://github.com/maekitalo/cxxtools/archive/V%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source99:       cxxtools-rpmlintrc
+Patch1:         gcc11.patch
 BuildRequires:  autoconf
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
+BuildRequires:  timezone
 BuildRequires:  pkgconfig(openssl)
 
 %description
@@ -152,7 +154,7 @@
 - wrappers for atomic operations
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 autoreconf -fiv
@@ -169,6 +171,9 @@
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 
+%check
+test/alltests
+
 mkdir -p %{buildroot}/%{_datadir}/%{name}/
 
 %post   -n libcxxtools%{major} -p /sbin/ldconfig

++++++ gcc11.patch ++++++
>From b773c01fc13d2ae67abc0839888e383be23562fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tommi=20M=C3=A4kitalo?= <to...@tntnet.org>
Date: Sun, 24 Jan 2021 17:20:24 +0100
Subject: [PATCH] make cxxtools::Char a trivial class by definining the default
 constructor as default

---
 include/cxxtools/char.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/include/cxxtools/char.h b/include/cxxtools/char.h
index 1e637317..3a4ed62a 100644
--- a/include/cxxtools/char.h
+++ b/include/cxxtools/char.h
@@ -68,9 +68,7 @@ namespace cxxtools
             typedef int32_t value_type;
 
             //! Constructs a character with a value of 0.
-            Char()
-            : _value(0)
-            {}
+            Char() = default;
 
             //! Constructs a character using the given value as base for the 
character value.
             Char(value_type ch)

Reply via email to