summaryrefslogtreecommitdiffstats
path: root/libmemcached-awesome.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-06-25 14:28:11 +0200
committerRemi Collet <remi@remirepo.net>2021-06-25 14:34:13 +0200
commit0a84c5de76df92641923a6bb308c662758e40688 (patch)
treeb90edd1ea32b74175802d1ff6ba0a9a04d23187e /libmemcached-awesome.spec
parent25ed340f4f0160847d7070bef268ad7ce4ca8a51 (diff)
remove internal AES implementation and use libcrypto
https://github.com/awesomized/libmemcached/pull/114 fix build ussing upstream patch to update catch version (cherry picked from commit 5d556c2a068914bc03725ae93e4764dfa8be7f12)
Diffstat (limited to 'libmemcached-awesome.spec')
-rw-r--r--libmemcached-awesome.spec13
1 files changed, 12 insertions, 1 deletions
diff --git a/libmemcached-awesome.spec b/libmemcached-awesome.spec
index a6d4b22..134d942 100644
--- a/libmemcached-awesome.spec
+++ b/libmemcached-awesome.spec
@@ -31,11 +31,14 @@
Name: %{libname}-awesome
Summary: Client library and command line tools for memcached server
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: BSD
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
+Patch0: %{name}-catch.patch
+Patch1: %{name}-aes.patch
+
%if 0%{?rhel} == 7
BuildRequires: cmake3 >= 3.9
%global dtsenable source /opt/rh/devtoolset-9/enable
@@ -53,6 +56,7 @@ BuildRequires: bison
BuildRequires: memcached
BuildRequires: systemtap-sdt-devel
BuildRequires: libevent-devel > 2
+BuildRequires: openssl-devel
Provides: bundled(bobjenkins-hash)
%if ! %{move_to_opt}
@@ -132,6 +136,8 @@ memtouch Touches a key
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1
+%patch1 -p1
# drop test hanging in mock
# and requiring some memcached build options
@@ -253,6 +259,11 @@ make test
%changelog
+* Fri Jun 25 2021 Remi Collet <remi@remirepo.net> - 1.1.0-2
+- remove internal AES implementation and use libcrypto
+ https://github.com/awesomized/libmemcached/pull/114
+- fix build ussing upstream patch to update catch version
+
* Thu Jun 24 2021 Remi Collet <remi@remirepo.net> - 1.1.0-1
- update to 1.1.0
- rename libmemcached to libmemcached-awesome-tools