Disable parallel build

Signed-off-by: Ziqian SUN(Zamir) <zsun@redhat.com>
This commit is contained in:
Ziqian SUN(Zamir) 2022-04-15 16:51:41 +08:00
parent 3fe2b8a925
commit ddd951cc7e

View File

@ -11,7 +11,7 @@
Name: libtracefs Name: libtracefs
Version: 1.3.1 Version: 1.3.1
Release: 1%{?dist} Release: 2%{?dist}
License: LGPLv2+ and GPLv2+ License: LGPLv2+ and GPLv2+
Summary: Library for access kernel tracefs Summary: Library for access kernel tracefs
@ -25,7 +25,7 @@ URL: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/
Source0: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-%{version}.tar.gz Source0: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-%{version}.tar.gz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make BuildRequires: make
BuildRequires: pkgconfig(libtraceevent) >= 1.2 BuildRequires: pkgconfig(libtraceevent) >= 1.5.3
# The libtracefs is meant to be used by perf, trace-cmd etc. in the future, before it's ready in perf, let's add a conflict # The libtracefs is meant to be used by perf, trace-cmd etc. in the future, before it's ready in perf, let's add a conflict
Conflicts: trace-cmd < 2.9.1-6 Conflicts: trace-cmd < 2.9.1-6
@ -44,7 +44,8 @@ Development headers of %{name}
%build %build
%set_build_flags %set_build_flags
%make_build prefix=%{_prefix} libdir=%{_libdir} all # parallel compiling don't always work
make -O -j1 V=1 VERBOSE=1 prefix=%{_prefix} libdir=%{_libdir} all
%install %install
%make_install prefix=%{_prefix} libdir=%{_libdir} %make_install prefix=%{_prefix} libdir=%{_libdir}
@ -62,6 +63,9 @@ rm -rf %{buildroot}/%{_libdir}/libtracefs.a
%{_libdir}/%{name}.so %{_libdir}/%{name}.so
%changelog %changelog
* Fri Apr 15 2022 Zamir SUN <sztsian@gmail.com> - 1.3.1-2
- Update with newer libtracefs
* Wed Apr 13 2022 Zamir SUN <sztsian@gmail.com> - 1.3.1-1 * Wed Apr 13 2022 Zamir SUN <sztsian@gmail.com> - 1.3.1-1
- Update to 1.3.1 - Update to 1.3.1