From d8e2b5f0ddc9a8ede87a02f1926cb36e8ee8a720 Mon Sep 17 00:00:00 2001 From: wxiat Date: Fri, 30 Jun 2023 10:47:22 +0800 Subject: [PATCH] add sw Signed-off-by: wxiat --- libcgroup.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libcgroup.spec b/libcgroup.spec index 545e317..3e6c608 100644 --- a/libcgroup.spec +++ b/libcgroup.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + %global soversion_major 1 %global soversion 1.0.41 %global _hardened_build 1 @@ -5,7 +7,7 @@ Summary: Library to control and monitor control groups Name: libcgroup Version: 0.41 -Release: 19%{?dist} +Release: 19%{anolis_release}%{?dist} License: LGPLv2+ Group: Development/Libraries URL: http://libcg.sourceforge.net/ @@ -97,7 +99,11 @@ provide scripts to manage that configuration. %configure --enable-pam-module-dir=%{_libdir}/security \ --enable-opaque-hierarchy="name=systemd" \ --disable-daemon +%ifarch sw_64 +make +%else make %{?_smp_mflags} +%endif %install make DESTDIR=$RPM_BUILD_ROOT install @@ -192,6 +198,9 @@ getent group cgred >/dev/null || groupadd -r cgred %{_libdir}/pkgconfig/libcgroup.pc %changelog +* Fri Jun 30 2023 wxiat - 0.41-19.0.1 +- add sw arch + * Mon Oct 15 2018 Nikola Forró - 0.41-19 - resolves: #1606973 fix important Covscan defects -- Gitee