- spec: remove JFLAGS logic and use %{_smp_mflags} like we do in other projects
This commit is contained in:
parent
60b4205f16
commit
6a2a70daac
@ -52,7 +52,7 @@
|
|||||||
Name: resource-agents
|
Name: resource-agents
|
||||||
Summary: Open Source HA Reusable Cluster Resource Scripts
|
Summary: Open Source HA Reusable Cluster Resource Scripts
|
||||||
Version: 4.12.0
|
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
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||||
URL: https://github.com/ClusterLabs/resource-agents
|
URL: https://github.com/ClusterLabs/resource-agents
|
||||||
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
|
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
|
||||||
@ -240,13 +240,7 @@ export CFLAGS
|
|||||||
--with-pkg-name=%{name} \
|
--with-pkg-name=%{name} \
|
||||||
--with-ras-set=%{rasset}
|
--with-ras-set=%{rasset}
|
||||||
|
|
||||||
%if %{defined jobs}
|
make %{_smp_mflags}
|
||||||
JFLAGS="$(echo '-j%{jobs}')"
|
|
||||||
%else
|
|
||||||
JFLAGS="$(echo '%{_smp_mflags}')"
|
|
||||||
%endif
|
|
||||||
|
|
||||||
make $JFLAGS
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -395,6 +389,9 @@ ccs_update_schema > /dev/null 2>&1 ||:
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 12 2023 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.12.0-3
|
||||||
|
- spec: remove JFLAGS logic and use %{_smp_mflags} like we do in other projects
|
||||||
|
|
||||||
* Tue Jun 06 2023 Jan Friesse <jfriesse@redhat.com> - 4.12.0-2
|
* Tue Jun 06 2023 Jan Friesse <jfriesse@redhat.com> - 4.12.0-2
|
||||||
- migrated to SPDX license
|
- migrated to SPDX license
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user