!76 add Conflicts with redis and redis5

From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2024-04-10 07:57:45 +00:00 committed by Gitee
commit fe46e1beda
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -6,7 +6,7 @@
%global Pname redis
Name: redis6
Version: 6.2.7
Release: 2
Release: 3
Summary: A persistent key-value database
License: BSD and MIT
URL: https://redis.io
@ -42,6 +42,7 @@ Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Provides: redis(modules_abi)%{?_isa} = 1
Conflicts: redis redis5
%description
Redis is an advanced key-value store. It is often referred to as a data
structure server since keys can contain strings, hashes, lists, sets and
@ -65,6 +66,7 @@ You can use Redis from most programming languages also.
%package devel
Summary: Development header for Redis module development
Provides: %{Pname}-static = %{version}-%{release}
Conflicts: redis redis5
%description devel
Header file required for building loadable Redis modules. Detailed
API documentation is available in the redis-doc package.
@ -73,7 +75,7 @@ API documentation is available in the redis-doc package.
Summary: Documentation for Redis
License: CC-BY-SA
BuildArch: noarch
Conflicts: redis < 4.0
Conflicts: redis redis5
%description doc
Detailed documentation for many aspects of Redis use,
administration and development.
@ -217,6 +219,9 @@ fi
%{_docdir}/%{Pname}
%changelog
* Wed Apr 10 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 6.2.7-3
- add Conflicts with redis and redis5
* Tue Nov 15 2022 huajingyun <huajingyun@loongson.cn> - 6.2.7-2
- Update config.guess and config.sub for loongarch