Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libdnf-plugin-txnupd for
openSUSE:Factory checked in at 2021-02-25 18:29:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdnf-plugin-txnupd (Old)
and /work/SRC/openSUSE:Factory/.libdnf-plugin-txnupd.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdnf-plugin-txnupd"
Thu Feb 25 18:29:46 2021 rev:2 rq:874953 version:0.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/libdnf-plugin-txnupd/libdnf-plugin-txnupd.changes
2021-02-19 23:45:25.915373193 +0100
+++
/work/SRC/openSUSE:Factory/.libdnf-plugin-txnupd.new.2378/libdnf-plugin-txnupd.changes
2021-02-25 18:29:47.686272354 +0100
@@ -1,0 +2,5 @@
+Thu Feb 25 04:10:34 UTC 2021 - Neal Gompa <[email protected]>
+
+- Use GCC 10 on openSUSE Leap 15
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libdnf-plugin-txnupd.spec ++++++
--- /var/tmp/diff_new_pack.WpXONh/_old 2021-02-25 18:29:48.314272762 +0100
+++ /var/tmp/diff_new_pack.WpXONh/_new 2021-02-25 18:29:48.314272762 +0100
@@ -20,7 +20,6 @@
Version: 0.1.0
Release: 0
Summary: Plugin for libdnf to implement transactional updates
-
License: LGPL-2.1-or-later
URL: https://code.opensuse.org/microos/libdnf-plugin-txnupd
# TODO: Use once releases are enabled on code.o.o
@@ -28,7 +27,14 @@
Source0: %{name}-%{version}.tar.gz
BuildRequires: meson
-BuildRequires: gcc-c++
+
+# We need at least GCC 10
+%if 0%{?suse_version} && 0%{?suse_version} < 1550
+BuildRequires: gcc10-c++
+%else
+BuildRequires: gcc-c++ >= 10
+%endif
+
BuildRequires: pkgconfig(libdnf) >= 0.58
BuildRequires: pkgconfig(tukit) >= 3.1.2
@@ -57,6 +63,7 @@
as a libdnf plugin. This plugin hooks into the DNF "context" for
Micro DNF and PackageKit to enable this functionality in normal use.
+
%prep
%autosetup -p1
@@ -65,6 +72,12 @@
%build
+%if 0%{?suse_version} && 0%{?suse_version} < 1550
+# Where GCC 10 is the alternate compiler, use that
+export CC=gcc-10
+export CXX=g++-10
+%endif
+
%meson
%meson_build
@@ -83,4 +96,5 @@
%{_libdir}/libdnf/plugins/txnupd.so
%{_sysconfdir}/dnf/protected.d/txnupd.conf
+
%changelog