public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mcrouter] epel10: Initial import
@ 2026-10-08  7:35 Michel Alexandre Salim
  0 siblings, 0 replies; only message in thread
From: Michel Alexandre Salim @ 2026-10-08  7:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/mcrouter
            Branch : epel10
            Commit : 1e564ecc85cf66c0593830907d2f7e28ccf858b7
            Author : Michel Alexandre Salim <salimma@fedoraproject.org>
            Date   : 2021-03-25T18:38:09-07:00
            Stats  : +93/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/mcrouter/c/1e564ecc85cf66c0593830907d2f7e28ccf858b7?branch=epel10

            Log:
            Initial import

Signed-off-by: Michel Alexandre Salim <salimma@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@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@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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-08  7:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08  7:35 [rpms/mcrouter] epel10: Initial import Michel Alexandre Salim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox