diff --git a/libcgroup.spec b/libcgroup.spec index 545e317b652edc07af4e4225fc1a9595d395aa12..3e6c60825f9b354db5ab943c694a42f876b17839 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