!228 删除冗余架构宏和Provides

* remove redundant arch protection macros and provides
This commit is contained in:
laokz 2023-06-25 08:12:25 +00:00 committed by haozi007
parent 885dc109cf
commit ac67fae4ca

View File

@ -1,5 +1,5 @@
%global _version 2.1.1
%global _release 6
%global _release 7
%global _inner_name isula_libutils
Name: lcr
@ -37,21 +37,6 @@ BuildRequires: lxc-devel > %{lxcver_lower} lxc-devel < %{lxcver_upper}
BuildRequires: zlib-devel yajl-devel gtest-devel
Requires: lxc > %{lxcver_lower} lxc < %{lxcver_upper} yajl zlib
%ifarch x86_64
Provides: liblcr.so()(64bit)
Provides: libisula_libutils.so()(64bit)
%endif
%ifarch aarch64
Provides: liblcr.so()(64bit)
Provides: libisula_libutils.so()(64bit)
%endif
%ifarch loongarch64
Provides: liblcr.so()(64bit)
Provides: libisula_libutils.so()(64bit)
%endif
%description
Containers are insulated areas inside a system, which have their own namespace
for filesystem, network, PID, IPC, CPU and memory allocation and which can be
@ -64,18 +49,15 @@ lxc-based containers.
%package devel
Summary: Huawei container runtime headers for developing programs
Group: Libraries
ExclusiveArch: x86_64 aarch64 sw_64 loongarch64
Requires: %{name} = %{version}-%{release}
%package -n libisula
Summary: Huawei container json, log and utils C Library
Group: Libraries
ExclusiveArch: x86_64 aarch64 sw_64 loongarch64
%package -n libisula-devel
Summary: Huawei container json, log and utils C headers
Group: Libraries
ExclusiveArch: x86_64 aarch64 sw_64 loongarch64
Requires: libisula = %{version}-%{release}
%description devel
@ -145,6 +127,12 @@ rm -rf %{buildroot}
%{_includedir}/%{_inner_name}/*.h
%changelog
* Mon Jun 19 2023 laokz <zhangkai@iscas.ac.cn> - 2.1.1-7
- Type:enhancement
- CVE:NA
- SUG:NA
- DESC:remove redundant arch protection macros and provides
* Thu May 11 2023 zhangxiaoyu<zhangxiaoyu58@huawei.com> - 2.1.1-6
- Type:enhancement
- CVE:NA