Paralell build fix
Signed-off-by: liuxu <liuxu156@huawei.com>
This commit is contained in:
parent
3b6f416966
commit
20c0d74db3
42
0006-Paralell-build-fix-7.patch
Normal file
42
0006-Paralell-build-fix-7.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
From f3932c268e3fd599866560f4f037df1fab50d581 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Koji Builder <koji@dummy.lan>
|
||||||
|
Date: Sat, 11 Jul 2020 16:22:48 +0100
|
||||||
|
Subject: [PATCH] Paralell build fix #7
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
All source soce files which first needs to be generated needs to be listed in
|
||||||
|
BUILT_SOURCES.
|
||||||
|
This patch adds to that automake variable parse.c and parse.h because they are
|
||||||
|
listed below in libcgroup_la_SOURCES.
|
||||||
|
|
||||||
|
Documentetion of the BUILT_SOURCES is on:
|
||||||
|
https://www.gnu.org/software/automake/manual/html_node/Sources.html
|
||||||
|
|
||||||
|
Conflict:No
|
||||||
|
Reference:https://github.com/libcgroup/libcgroup/commit/f3932c268e3fd599866560f4f037df1fab50d581
|
||||||
|
|
||||||
|
https://github.com/libcgroup/libcgroup/issues/7
|
||||||
|
|
||||||
|
Reported-by: Tomasz Kłoczko <kloczek@giithub.com>
|
||||||
|
Signed-off-by: Tomasz Kłoczko <kloczek@giithub.com>
|
||||||
|
---
|
||||||
|
src/Makefile.am | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||||
|
index 9fc965b..9de4822 100644
|
||||||
|
--- a/src/Makefile.am
|
||||||
|
+++ b/src/Makefile.am
|
||||||
|
@@ -1,5 +1,7 @@
|
||||||
|
@CODE_COVERAGE_RULES@
|
||||||
|
|
||||||
|
+BUILT_SOURCES = parse.c parse.h
|
||||||
|
+
|
||||||
|
if WITH_BINDINGS
|
||||||
|
BINDINGS_SUBDIR = bindings
|
||||||
|
endif
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
||||||
@ -5,7 +5,7 @@
|
|||||||
Summary: Libcgroup is a library that abstracts the control group file system in Linux
|
Summary: Libcgroup is a library that abstracts the control group file system in Linux
|
||||||
Name: libcgroup
|
Name: libcgroup
|
||||||
Version: 0.42.2
|
Version: 0.42.2
|
||||||
Release: 4
|
Release: 5
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://libcg.sourceforge.net/
|
URL: http://libcg.sourceforge.net/
|
||||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-v%{version}.tar.gz
|
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-v%{version}.tar.gz
|
||||||
@ -19,6 +19,7 @@ Patch2: libcgroup-0.40.rc1-coverity.patch
|
|||||||
Patch3: libcgroup-0.40.rc1-fread.patch
|
Patch3: libcgroup-0.40.rc1-fread.patch
|
||||||
Patch4: libcgroup-0.40.rc1-templates-fix.patch
|
Patch4: libcgroup-0.40.rc1-templates-fix.patch
|
||||||
Patch5: pam-cgroup-cgflags-no-usecache.patch
|
Patch5: pam-cgroup-cgflags-no-usecache.patch
|
||||||
|
Patch6: 0006-Paralell-build-fix-7.patch
|
||||||
|
|
||||||
BuildRequires: autoconf, automake, libtool
|
BuildRequires: autoconf, automake, libtool
|
||||||
BuildRequires: gcc,gcc-c++,byacc
|
BuildRequires: gcc,gcc-c++,byacc
|
||||||
@ -52,6 +53,7 @@ It provides helpful information for libcgroup-pam,libcgroup-devel,libcgroup-tool
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -vif
|
autoreconf -vif
|
||||||
@ -142,6 +144,12 @@ getent group cgred >/dev/null || groupadd -r cgred
|
|||||||
%attr(0644, root, root) %{_mandir}/man8/*
|
%attr(0644, root, root) %{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 04 2024 liuxu <liuxu156@huawei.com> - 0.42.2-5
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:Paralell build fix
|
||||||
|
|
||||||
* Tue Oct 24 2023 wanfeng<wanfeng@kylinos.cn> - 0.42.2-4
|
* Tue Oct 24 2023 wanfeng<wanfeng@kylinos.cn> - 0.42.2-4
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user