The package rpms/spectral.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/spectral.git/commit/?id=6e6bcc865....
Change:
+ExcludeArch: s390x
Thanks.
Full change:
============
commit 6e6bcc865275f937fe7d809c82b485599c9963dd
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Mon Jan 27 19:59:22 2020 +0100
Initial import (#1795030).
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7012c5b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/SortFilterProxyModel-770789e.tar.gz
+/spectral-6af7bef.tar.gz
diff --git a/sources b/sources
new file mode 100644
index 0000000..e4f6c92
--- /dev/null
+++ b/sources
@@ -0,0 +1,2 @@
+SHA512 (SortFilterProxyModel-770789e.tar.gz) =
0e55701abed9acb7bdd6cd0f5875837e71e04ad2ca1ccce3e3e4e3a30637e0c5f06cec6c947c44b2e0585d80b5750ca170c7c8e103603dfde38281e56167419b
+SHA512 (spectral-6af7bef.tar.gz) =
dbb185a95261236d4956618fdd63944babc15f162abab5571bc959c3f403671e67c68d7caedcccca0fcac090a11fe7ee1ee75f0cb91659572b1bbc3b46535a38
diff --git a/spectral.spec b/spectral.spec
new file mode 100644
index 0000000..c750b64
--- /dev/null
+++ b/spectral.spec
@@ -0,0 +1,97 @@
+%global appname Spectral
+
+%global commit0 6af7befd11322ee3029ce7faa5744d953a3e0948
+%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+%global date 20200123
+
+# Git revision of SortFilterProxyModel...
+%global commit1 770789ee484abf69c230cbf1b64f39823e79a181
+%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
+
+Name: spectral
+Version: 0
+Release: 6.%{date}git%{shortcommit0}%{?dist}
+
+# Spectral - GPLv3+
+# SortFilterProxyModel - MIT
+License: GPLv3+ and MIT
+URL:
https://gitlab.com/spectral-im/%{name}
+Summary: Glossy cross-platform Matrix client
+Source0: %{url}/-/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
+Source1:
https://github.com/oKcerG/SortFilterProxyModel/archive/%{commit1}/SortFil...
+
+BuildRequires: cmake(Olm)
+BuildRequires: cmake(QtOlm)
+BuildRequires: cmake(Qt5Svg)
+BuildRequires: cmake(Qt5DBus)
+BuildRequires: cmake(Qt5Core)
+BuildRequires: cmake(Qt5Widgets)
+BuildRequires: cmake(Qt5Network)
+BuildRequires: cmake(Qt5Keychain)
+BuildRequires: cmake(Qt5Multimedia)
+BuildRequires: cmake(Qt5Concurrent)
+BuildRequires: cmake(Qt5LinguistTools)
+BuildRequires: cmake(Qt5QuickControls2)
+BuildRequires: cmake(Quotient) >= 0.6.0
+BuildRequires: pkgconfig(libcmark)
+
+BuildRequires: desktop-file-utils
+BuildRequires: libappstream-glib
+BuildRequires: ninja-build
+BuildRequires: gcc-c++
+BuildRequires: cmake
+BuildRequires: gcc
+
+Provides: bundled(SortFilterProxyModel) = 0.1.1~git%{shortcommit1}
+Requires: hicolor-icon-theme
+
+Recommends: google-noto-emoji-color-fonts
+Recommends: google-noto-emoji-fonts
+Recommends: google-noto-sans-fonts
+Recommends: google-roboto-fonts
+
+# libquotient is not available on s390x.
+ExcludeArch: s390x
+
+%description
+Spectral is a glossy cross-platform client for Matrix, the decentralized
+communication protocol for instant messaging.
+
+%prep
+%autosetup -n %{name}-%{commit0} -p1
+mkdir -p %{_target_platform}
+
+# Unpacking SortFilterProxyModel...
+pushd include
+ rm -rf SortFilterProxyModel
+ tar -xf %{SOURCE1}
+ mv SortFilterProxyModel-%{commit1} SortFilterProxyModel
+popd
+
+%build
+pushd %{_target_platform}
+ %cmake -G Ninja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DGIT_SHA1=%{commit0} \
+ ..
+popd
+%ninja_build -C %{_target_platform}
+
+%check
+appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+
+%install
+%ninja_install -C %{_target_platform}
+
+%files
+%license LICENSE
+%doc README.md
+%{_bindir}/%{name}
+%{_datadir}/applications/*.desktop
+%{_datadir}/icons/hicolor/*/apps/*.png
+%{_metainfodir}/*.appdata.xml
+
+%changelog
+* Sun Jan 26 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-6.20200123git6af7bef
+- Updated to latest Git snapshot.