public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Alexandre Salim <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/mcrouter] epel10: Initial import
Date: Thu, 08 Oct 2026 07:35:59 GMT	[thread overview]
Message-ID: <179144495969.1.6504417076554958069.rpms-mcrouter-1e564ecc85cf@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-10-08  7:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179144495969.1.6504417076554958069.rpms-mcrouter-1e564ecc85cf@fedoraproject.org \
    --to=salimma@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox