!228 删除冗余架构宏和Provides
* remove redundant arch protection macros and provides
This commit is contained in:
parent
885dc109cf
commit
ac67fae4ca
26
lcr.spec
26
lcr.spec
@ -1,5 +1,5 @@
|
|||||||
%global _version 2.1.1
|
%global _version 2.1.1
|
||||||
%global _release 6
|
%global _release 7
|
||||||
%global _inner_name isula_libutils
|
%global _inner_name isula_libutils
|
||||||
|
|
||||||
Name: lcr
|
Name: lcr
|
||||||
@ -37,21 +37,6 @@ BuildRequires: lxc-devel > %{lxcver_lower} lxc-devel < %{lxcver_upper}
|
|||||||
BuildRequires: zlib-devel yajl-devel gtest-devel
|
BuildRequires: zlib-devel yajl-devel gtest-devel
|
||||||
Requires: lxc > %{lxcver_lower} lxc < %{lxcver_upper} yajl zlib
|
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
|
%description
|
||||||
Containers are insulated areas inside a system, which have their own namespace
|
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
|
for filesystem, network, PID, IPC, CPU and memory allocation and which can be
|
||||||
@ -64,18 +49,15 @@ lxc-based containers.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Huawei container runtime headers for developing programs
|
Summary: Huawei container runtime headers for developing programs
|
||||||
Group: Libraries
|
Group: Libraries
|
||||||
ExclusiveArch: x86_64 aarch64 sw_64 loongarch64
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%package -n libisula
|
%package -n libisula
|
||||||
Summary: Huawei container json, log and utils C Library
|
Summary: Huawei container json, log and utils C Library
|
||||||
Group: Libraries
|
Group: Libraries
|
||||||
ExclusiveArch: x86_64 aarch64 sw_64 loongarch64
|
|
||||||
|
|
||||||
%package -n libisula-devel
|
%package -n libisula-devel
|
||||||
Summary: Huawei container json, log and utils C headers
|
Summary: Huawei container json, log and utils C headers
|
||||||
Group: Libraries
|
Group: Libraries
|
||||||
ExclusiveArch: x86_64 aarch64 sw_64 loongarch64
|
|
||||||
Requires: libisula = %{version}-%{release}
|
Requires: libisula = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -145,6 +127,12 @@ rm -rf %{buildroot}
|
|||||||
%{_includedir}/%{_inner_name}/*.h
|
%{_includedir}/%{_inner_name}/*.h
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu May 11 2023 zhangxiaoyu<zhangxiaoyu58@huawei.com> - 2.1.1-6
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user