From 8b3d77e8825475293a04c8778c6017b006748759 Mon Sep 17 00:00:00 2001 From: zhangxiaoyu Date: Tue, 18 Oct 2022 20:12:26 +0800 Subject: [PATCH] add required package lcr lower and upper version Signed-off-by: zhangxiaoyu (cherry picked from commit f6d6a635a1e9682b8674da4b8a4fc59415441679) --- clibcni.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/clibcni.spec b/clibcni.spec index 49df107..a45bd35 100644 --- a/clibcni.spec +++ b/clibcni.spec @@ -1,5 +1,5 @@ %global _version 2.0.7 -%global _release 2 +%global _release 3 Name: clibcni Version: %{_version} Release: %{_release} @@ -10,13 +10,14 @@ URL: https://gitee.com/openeuler/clibcni Source0: https://gitee.com/openeuler/clibcni/repository/archive/v%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version} -%define lcrver 2.0.7 +%define lcrver_lower 2.0.8-0 +%define lcrver_upper 2.0.9-0 BuildRequires: gcc git gcc-c++ BuildRequires: cmake -BuildRequires: lcr-devel >= %{lcrver} yajl-devel gtest-devel gmock-devel +BuildRequires: lcr-devel > %{lcrver_lower} lcr-devel < %{lcrver_upper} yajl-devel gtest-devel gmock-devel -Requires: lcr >= %{lcrver} +Requires: lcr > %{lcrver_lower} lcr < %{lcrver_upper} %ifarch x86_64 aarch64 Provides: lib%{name}.so()(64bit) @@ -87,6 +88,12 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/%{name}.pc %changelog +* Tue Oct 18 2022 zhangxiaoyu - 2.0.7-3 +- Type: enhancement +- ID: NA +- SUG: NA +- DESC: add required package lcr lower and upper version + * Thu Jun 2 2022 haozi007 - 2.0.7-2 - Type: enhancement - ID: NA -- Gitee