!80 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-06-20 06:12:25 +00:00 committed by Gitee
commit e5b16aec92
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
@ -40,6 +40,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
@ -63,6 +64,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.
@ -71,7 +73,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.
@ -214,6 +216,9 @@ fi
%{_docdir}/%{Pname} %{_docdir}/%{Pname}
%changelog %changelog
* Wed Dec 20 2023 xiexing <xiexing4@h-partners.com> - 6.2.7-3
- add Conflicts with redis and redis5
* Tue Dec 27 2022 Ge Wang <wangge20@h-partners.com> - 6.2.7-2 * Tue Dec 27 2022 Ge Wang <wangge20@h-partners.com> - 6.2.7-2
- Update config.guess and config.sub for loongarch64 architecture - Update config.guess and config.sub for loongarch64 architecture