!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 %global Pname redis
Name: redis6 Name: redis6
Version: 6.2.7 Version: 6.2.7
Release: 2 Release: 3
Summary: A persistent key-value database Summary: A persistent key-value database
License: BSD and MIT License: BSD and MIT
URL: https://redis.io URL: https://redis.io
@ -42,6 +42,7 @@ Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
Provides: redis(modules_abi)%{?_isa} = 1 Provides: redis(modules_abi)%{?_isa} = 1
Conflicts: redis redis5
%description %description
Redis is an advanced key-value store. It is often referred to as a data 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 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 %package devel
Summary: Development header for Redis module development Summary: Development header for Redis module development
Provides: %{Pname}-static = %{version}-%{release} Provides: %{Pname}-static = %{version}-%{release}
Conflicts: redis redis5
%description devel %description devel
Header file required for building loadable Redis modules. Detailed Header file required for building loadable Redis modules. Detailed
API documentation is available in the redis-doc package. 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 Summary: Documentation for Redis
License: CC-BY-SA License: CC-BY-SA
BuildArch: noarch BuildArch: noarch
Conflicts: redis < 4.0 Conflicts: redis redis5
%description doc %description doc
Detailed documentation for many aspects of Redis use, Detailed documentation for many aspects of Redis use,
administration and development. administration and development.
@ -217,6 +219,9 @@ fi
%{_docdir}/%{Pname} %{_docdir}/%{Pname}
%changelog %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 * Tue Nov 15 2022 huajingyun <huajingyun@loongson.cn> - 6.2.7-2
- Update config.guess and config.sub for loongarch - Update config.guess and config.sub for loongarch