mirror of
https://abf.rosa.ru/djam/kernel-5.13.git
synced 2025-02-25 16:12:50 +00:00
Do not build Perf GUI based on GTK2
GTK2 is very old and support for it in ROSA may break at any moment. Perf is mostly used from command line anyway. Let us not build the GUI. Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com>
This commit is contained in:
parent
e572abbe33
commit
3c06415f88
1 changed files with 2 additions and 4 deletions
|
@ -264,7 +264,6 @@ BuildRequires: elfutils-devel
|
|||
BuildRequires: libunwind-devel
|
||||
BuildRequires: newt-devel
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: zlib-devel
|
||||
|
@ -1055,8 +1054,8 @@ LC_ALL=C perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{rpmrel}/" Makefile
|
|||
%define perf_is_x64 0
|
||||
%endif
|
||||
|
||||
%smake -C tools/perf -s IS_X86_64=%{perf_is_x64} HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} all
|
||||
%smake -C tools/perf -s prefix=%{_prefix} man
|
||||
%smake -C tools/perf -s IS_X86_64=%{perf_is_x64} HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} NO_GTK2=1 all
|
||||
%smake -C tools/perf -s prefix=%{_prefix} NO_GTK2=1 man
|
||||
%endif
|
||||
|
||||
%if %{build_cpupower}
|
||||
|
@ -1278,7 +1277,6 @@ rm -rf %{buildroot}
|
|||
%dir %{_prefix}/libexec/perf-core
|
||||
%dir %{_libdir}/traceevent
|
||||
%dir %{_libdir}/traceevent/plugins
|
||||
%{_libdir}/libperf-gtk.so
|
||||
%{_libdir}/traceevent/plugins/*
|
||||
%{_prefix}/libexec/perf-core/*
|
||||
%{_mandir}/man[1-8]/perf*
|
||||
|
|
Loading…
Add table
Reference in a new issue