The package rpms/butt.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/butt.git/commit/?id=11aed7ac3a3a2....
Change:
-ExcludeArch: s390x
Thanks.
Full change:
============
commit 11aed7ac3a3a25dd19185154880a7c935c3c0b78
Author: Carl George <carl(a)george.computer>
Date: Tue Apr 9 15:21:17 2019 -0500
Re-enable s390x via patch0
diff --git a/butt.spec b/butt.spec
index 99d63d9..af6f1ed 100644
--- a/butt.spec
+++ b/butt.spec
@@ -1,6 +1,6 @@
Name: butt
Version: 0.1.17
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Broadcast using this tool
License: GPLv2+
URL:
https://danielnoethen.de
@@ -9,8 +9,8 @@ Source0:
https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar
Source1: butt.appdata.xml
#
https://sourceforge.net/p/butt/bugs/24/
-#
https://bugzilla.redhat.com/show_bug.cgi?id=1697142
-ExcludeArch: s390x
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1697142#c2
+Patch0: s390x-compile.patch
BuildRequires: gcc-c++
BuildRequires: fltk-devel
@@ -41,7 +41,7 @@ files.
%prep
-%setup -q
+%autosetup -p 1
autoreconf -ifv
@@ -82,6 +82,9 @@ install -Dpm 0644 %{S:1} %{buildroot}%{_metainfodir}/butt.appdata.xml
%changelog
+* Tue Apr 09 2019 Carl George <carl(a)george.computer> - 0.1.17-3
+- Re-enable s390x via patch0
+
* Sun Apr 07 2019 Carl George <carl(a)george.computer> - 0.1.17-2
- Exclude s390x rhbz#1697142
diff --git a/s390x-compile.patch b/s390x-compile.patch
new file mode 100644
index 0000000..9facd1b
--- /dev/null
+++ b/s390x-compile.patch
@@ -0,0 +1,14 @@
+https://bugzilla.redhat.com/show_bug.cgi?id=1697142#c2
+
+diff -up butt-0.1.17/configure.ac.flags butt-0.1.17/configure.ac
+--- butt-0.1.17/configure.ac.flags 2019-04-08 03:51:02.967273801 -0400
++++ butt-0.1.17/configure.ac 2019-04-08 03:51:11.777273801 -0400
+@@ -113,7 +113,7 @@ if test "$build_linux" = "yes"; then
+ PKG_CHECK_MODULES([DBUS], [dbus-1], [
+ AC_DEFINE([HAVE_DBUS], [1], [Use dbus to get current tracks])
+ LIBS="$LIBS $DBUS_LIBS"
+- CFLAGS="$LIBS $DBUS_CFLAGS"
++ CFLAGS="$CFLAGS $DBUS_CFLAGS"
+ CXXFLAGS="$CXXFLAGS $DBUS_CFLAGS"
+ ], [
+ AC_DEFINE([HAVE_DBUS], [0], [Use dbus to get current tracks])