From 086886ed5465fc55e4301c9d5e2d9719b26f0cbe Mon Sep 17 00:00:00 2001 From: wzx Date: Thu, 3 Nov 2022 19:29:49 +0800 Subject: [PATCH] Add sw64 architecture Signed-off-by: wzx (cherry picked from commit 252d2e95b95913eae28170d9dbf77d727944aeaa) --- libcgroup.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/libcgroup.spec b/libcgroup.spec index db4f850..7ff57c4 100644 --- a/libcgroup.spec +++ b/libcgroup.spec @@ -5,7 +5,7 @@ Summary: Libcgroup is a library that abstracts the control group file system in Linux Name: libcgroup Version: 0.42.2 -Release: 2 +Release: 3 License: LGPLv2+ URL: http://libcg.sourceforge.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-v%{version}.tar.gz @@ -54,7 +54,11 @@ It provides helpful information for libcgroup-pam,libcgroup-devel,libcgroup-tool %build autoreconf -vif %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 @@ -134,6 +138,12 @@ getent group cgred >/dev/null || groupadd -r cgred %attr(0644, root, root) %{_mandir}/man8/* %changelog +* Thu Nov 3 wuzx - 0.42.2-3 +- Type:feature +- CVE:NA +- SUG:NA +- DESC:Add sw64 architecture + * Thu May 5 2022 wangfengtu - 0.42.2-2 - Type: upgrade - Id:NA -- Gitee