diff --git a/resource-agents.spec b/resource-agents.spec index 82722fe..90309d0 100644 --- a/resource-agents.spec +++ b/resource-agents.spec @@ -52,7 +52,7 @@ Name: resource-agents Summary: Open Source HA Reusable Cluster Resource Scripts Version: 4.12.0 -Release: 2%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist} +Release: 3%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist} License: GPL-2.0-or-later AND LGPL-2.1-or-later URL: https://github.com/ClusterLabs/resource-agents Source0: %{upstream_prefix}-%{upstream_version}.tar.gz @@ -240,13 +240,7 @@ export CFLAGS --with-pkg-name=%{name} \ --with-ras-set=%{rasset} -%if %{defined jobs} -JFLAGS="$(echo '-j%{jobs}')" -%else -JFLAGS="$(echo '%{_smp_mflags}')" -%endif - -make $JFLAGS +make %{_smp_mflags} %install rm -rf %{buildroot} @@ -395,6 +389,9 @@ ccs_update_schema > /dev/null 2>&1 ||: %endif %changelog +* Mon Jun 12 2023 Oyvind Albrigtsen - 4.12.0-3 +- spec: remove JFLAGS logic and use %{_smp_mflags} like we do in other projects + * Tue Jun 06 2023 Jan Friesse - 4.12.0-2 - migrated to SPDX license