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=c3adc8193....
Change:
+ExcludeArch: %{arm32}
Thanks.
Full change:
============
commit c3adc8193577aff685cb679280f5b99784e60d45
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Fri Dec 24 15:06:00 2021 -0800
Update to snapshot from 20211222
Opt in to rpmautospec (changelog only)
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 935cf8d..bbb7c6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/mcrouter-c9cd4bddf894e84c342378a801f108d35f8c3385.tar.gz
+/mcrouter-90d63a3484d2bd10e90472046abb27e65788c34f.tar.gz
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..8185945
--- /dev/null
+++ b/changelog
@@ -0,0 +1,46 @@
+* Fri Dec 24 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-7.20211222git90d63a3
+- Update to snapshot from 20211222
+- Opt in to rpmautospec (changelog only)
+
+* Tue Sep 14 2021 Sahana Prasad <sahana(a)redhat.com> - 0.41.0-7.20210723gitc9cd4bd
+- Rebuilt with OpenSSL 3.0.0
+
+* Fri Aug 06 2021 Jonathan Wakely <jwakely(a)redhat.com> -
0.41.0-6.20210723gitc9cd4bd
+- Rebuilt for Boost 1.76
+
+* Sun Aug 1 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-5.20210723gitc9cd4bd
+- Update to snapshot from 20210723
+- Use new %%limit_build macro to limit memory usage per build process
+
+* Tue Jul 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> -
0.41.0-5.20210629git67eda71
+- Second attempt - Rebuilt for
+
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Mon Jul 19 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-4.20210629git67eda71
+- Update to snapshot from 20210629
+- Patch out usage of distutils (deprecated in Python 3.10)
+
+* Mon May 10 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-4.20210508git806072e
+- Update to snapshot from 20210508
+
+* Mon Apr 26 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-4.20210426gitf2e90bc
+- Update to snapshot from 20210426
+
+* Fri Apr 16 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-4.20210412git018f1af
+- Update to snapshot from 20210412
+- Stop using forge macros in case we want to build for EPEL8
+
+* Mon Mar 29 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-4.20210324git7884f76
+- Update to snapshot from 20210324
+- Use %%forgeautosetup so the configure.ac patch is actually applied
+- Determine the number of safe build jobs to use (borrowed from Ceph)
+
+* Fri Mar 26 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-3.20210322git254a127
+- Fix usage of deprecated AC_PROG_LIBTOOL macro; use LT_INIT instead
+
+* 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/mcrouter.spec b/mcrouter.spec
index 8960acd..e032cff 100644
--- a/mcrouter.spec
+++ b/mcrouter.spec
@@ -1,8 +1,8 @@
-# linking tests fail with undefined references
-%bcond_with check
-
# debugsourcefiles.list is now empty
-%bcond_with debug
+%bcond_without debug
+
+# tests fail with multiple Error: symbol ... is already defined
+%bcond_with tests
%if %{without debug}
%global debug_package %{nil}
@@ -14,9 +14,9 @@
%global _lto_cflags %nil
%global forgeurl
https://github.com/facebook/mcrouter
-%global commit c9cd4bddf894e84c342378a801f108d35f8c3385
+%global commit 90d63a3484d2bd10e90472046abb27e65788c34f
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global date 20210723
+%global date 20211222
Name: mcrouter
Version: 0.41.0
@@ -37,7 +37,12 @@ ExcludeArch: s390x
ExcludeArch: ppc64le
# multiple issues due to hardcoded pointer sizes
#
https://bugzilla.redhat.com/show_bug.cgi?id=1943736
-ExcludeArch: i686 armv7hl
+ExcludeArch: %{ix86}
+%if 0%{?el8}
+ExcludeArch: %{arm}
+%else
+ExcludeArch: %{arm32}
+%endif
BuildRequires: autoconf
BuildRequires: automake
@@ -55,6 +60,8 @@ BuildRequires: procps-ng
BuildRequires: python3-devel
BuildRequires: python3-fbthrift-devel
BuildRequires: ragel
+# Test dependencies
+BuildRequires: gtest-devel
%description
Mcrouter (pronounced mc router) is a memcached protocol router for scaling
@@ -67,77 +74,40 @@ 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
%autosetup -p1 -n %{name}-%{commit}
pushd %{name}
echo "%{version}" > VERSION
autoreconf --install
-%build
-# do not eat all memory
-%limit_build -m 4096
+%build
pushd %{name}
export FBTHRIFT_BIN="%{_bindir}"
export PYTHON_VERSION="%{python3_version}"
%configure --enable-shared --disable-static
-%make_build
+# do not eat all memory
+%make_build %{limit_build -m 4096}
+
%install
pushd %{name}
%make_install
-%if %{with check}
+
+%if %{with tests}
%check
pushd %{name}
-%{__make} check "${MCROUTER_SMP_NCPUS}"
+%make_build check
%endif
+
%files
%license LICENSE
%doc README.md
%{_bindir}/*
-%changelog
-* Tue Sep 14 2021 Sahana Prasad <sahana(a)redhat.com> - 0.41.0-7.20210723gitc9cd4bd
-- Rebuilt with OpenSSL 3.0.0
-* Fri Aug 06 2021 Jonathan Wakely <jwakely(a)redhat.com> -
0.41.0-6.20210723gitc9cd4bd
-- Rebuilt for Boost 1.76
-
-* Sun Aug 1 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-5.20210723gitc9cd4bd
-- Update to snapshot from 20210723
-- Use new %%limit_build macro to limit memory usage per build process
-
-* Tue Jul 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> -
0.41.0-5.20210629git67eda71
-- Second attempt - Rebuilt for
-
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Mon Jul 19 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-4.20210629git67eda71
-- Update to snapshot from 20210629
-- Patch out usage of distutils (deprecated in Python 3.10)
-
-* Mon May 10 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-4.20210508git806072e
-- Update to snapshot from 20210508
-
-* Mon Apr 26 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-4.20210426gitf2e90bc
-- Update to snapshot from 20210426
-
-* Fri Apr 16 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-4.20210412git018f1af
-- Update to snapshot from 20210412
-- Stop using forge macros in case we want to build for EPEL8
-
-* Mon Mar 29 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-4.20210324git7884f76
-- Update to snapshot from 20210324
-- Use %%forgeautosetup so the configure.ac patch is actually applied
-- Determine the number of safe build jobs to use (borrowed from Ceph)
-
-* Fri Mar 26 2021 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.41.0-3.20210322git254a127
-- Fix usage of deprecated AC_PROG_LIBTOOL macro; use LT_INIT instead
-
-* 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
+%changelog
+%autochangelog
diff --git a/sources b/sources
index 4cbde48..2e9c153 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mcrouter-c9cd4bddf894e84c342378a801f108d35f8c3385.tar.gz) =
de9224f5c4f335605731473b9e8851cb96aadcd1e8cce6e22ddacea469e6cfe0d3d5693ff7fd02aa4d1e9938f4fbc350b5f49bebdedd8b2f5824e301e8112b59
+SHA512 (mcrouter-90d63a3484d2bd10e90472046abb27e65788c34f.tar.gz) =
fccb8455ffc254d12fc1593f8b29caf3f0cebd021b1ea7d01dbabd292a3d77a39347f4898a3d7f0e15b8188acc82d85544f8635521755d0351171743b088277d
commit b3ea0c1398b69df05eca00eb6486731562cab2f7
Author: Sahana Prasad <sahana(a)redhat.com>
Date: Tue Sep 14 19:07:38 2021 +0200
Rebuilt with OpenSSL 3.0.0
diff --git a/mcrouter.spec b/mcrouter.spec
index a911d9b..8960acd 100644
--- a/mcrouter.spec
+++ b/mcrouter.spec
@@ -20,7 +20,7 @@
Name: mcrouter
Version: 0.41.0
-Release: 6.%{date}git%{shortcommit}%{?dist}
+Release: 7.%{date}git%{shortcommit}%{?dist}
Summary: Memcached protocol router for scaling memcached deployments
License: MIT
@@ -99,6 +99,9 @@ pushd %{name}
%{_bindir}/*
%changelog
+* Tue Sep 14 2021 Sahana Prasad <sahana(a)redhat.com> - 0.41.0-7.20210723gitc9cd4bd
+- Rebuilt with OpenSSL 3.0.0
+
* Fri Aug 06 2021 Jonathan Wakely <jwakely(a)redhat.com> -
0.41.0-6.20210723gitc9cd4bd
- Rebuilt for Boost 1.76