update redis5.spec.

add Conflicts in spec

Signed-off-by: xiexing <xiexing4@hisilicon.com>
(cherry picked from commit 7bbdfe8f735a1ff7454c3796a5e4feb99f3b8761)
This commit is contained in:
xiexing 2023-12-18 03:22:00 +00:00 committed by openeuler-sync-bot
parent 130709a5e6
commit 2bad3c3ed6

View File

@ -6,7 +6,7 @@
%global Pname redis %global Pname redis
Name: redis5 Name: redis5
Version: 5.0.7 Version: 5.0.7
Release: 5 Release: 6
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
@ -44,6 +44,9 @@ Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
Provides: redis(modules_abi) = 1 Provides: redis(modules_abi) = 1
Conflicts: redis < 5.0
Conflicts: redis > 6.0
%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
@ -195,6 +198,9 @@ exit 0
%{_docdir}/%{Pname} %{_docdir}/%{Pname}
%changelog %changelog
* Mon Dec 18 2023 xiexing <xiexing4@h-partners.com> - 5.0.7-6
- add Conflicts in spec
* Tue Dec 27 2022 Ge Wang <wangge20@h-partners.com> - 5.0.7-5 * Tue Dec 27 2022 Ge Wang <wangge20@h-partners.com> - 5.0.7-5
- Add loongarch64 support - Add loongarch64 support
- Update config.guess and config.sub - Update config.guess and config.sub