The package rpms/mcrouter.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/mcrouter.git/commit/?id=1e564ecc8....
Change:
+ExcludeArch: i686 armv7hl
Thanks.
Full change:
============
commit 1e564ecc85cf66c0593830907d2f7e28ccf858b7
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Thu Mar 25 18:38:04 2021 -0700
Initial import
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..390f8f5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/mcrouter-254a127c7f360fe7f50b6f7add787ad895de8746.tar.gz
diff --git a/mcrouter.spec b/mcrouter.spec
new file mode 100644
index 0000000..2de7db9
--- /dev/null
+++ b/mcrouter.spec
@@ -0,0 +1,91 @@
+# linking tests fail with undefined references
+%bcond_with check
+
+# mcrouter build process is very memory-hungry,
+# it fails unpredictably if some of the jobs get terminated
+# with no LTO and 1 build job memory usage peaks at ~ 44% with 16GB
+%global _lto_cflags %nil
+%global _smp_build_ncpus 1
+
+%global forgeurl
https://github.com/facebook/mcrouter
+%global commit 254a127c7f360fe7f50b6f7add787ad895de8746
+%forgemeta
+
+Name: mcrouter
+Version: 0.41.0
+Release: 2%{?dist}
+Summary: Memcached protocol router for scaling memcached deployments
+
+License: MIT
+URL: %{forgeurl}
+Source0: %{forgesource}
+
+# Folly is known not to work on big-endian CPUs
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1892151
+ExcludeArch: s390x
+# configure fails to find boost for some reason
+ExcludeArch: ppc64le
+# multiple issues due to hardcoded pointer sizes
+ExcludeArch: i686 armv7hl
+
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: make
+BuildRequires: sed
+BuildRequires: gcc-c++
+BuildRequires: folly-devel
+BuildRequires: fizz-devel
+BuildRequires: wangle-devel
+BuildRequires: fbthrift-devel
+BuildRequires: fbthrift
+BuildRequires: python3-devel
+BuildRequires: python3-fbthrift-devel
+BuildRequires: ragel
+
+%description
+Mcrouter (pronounced mc router) is a memcached protocol router for scaling
+memcached deployments.
+
+Because the routing and feature logic are abstracted from the client in
+mcrouter deployments, the client may simply communicate with destination
+hosts through mcrouter over a TCP connection using standard memcached
+protocol. Typically, little or no client modification is needed to use
+mcrouter, which was designed to be a drop-in proxy between the client and
+memcached hosts.
+
+%prep
+%forgesetup
+pushd %{name}
+echo "%{version}" > VERSION
+autoreconf --install
+
+%build
+pushd %{name}
+export FBTHRIFT_BIN="%{_bindir}"
+export PYTHON_VERSION="%{python3_version}"
+%configure --enable-shared --disable-static
+%make_build
+
+%install
+pushd %{name}
+%make_install
+
+%if %{with check}
+%check
+pushd %{name}
+%{__make} check
+%endif
+
+%files
+%license LICENSE
+%doc README.md
+%{_bindir}/*
+
+%changelog
+* Wed Mar 24 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-2.20210322git254a127
+- Update to snapshot from 20210322
+- Disable build concurrency and LTO to compensate for high RAM usage
+
+* Tue Mar 16 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> -
0.41.0-1.20210316gita3d9640
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..c73f0f8
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (mcrouter-254a127c7f360fe7f50b6f7add787ad895de8746.tar.gz) =
7572b6f15f5b20d787361ad947d9effb9e1f34b73bad888a379993a92cee84de711b0ec4d139643acc3ced7ff5828ec7f72c37ee0d2a0ec3103693dd0c2b3011