!3 disable python2
From: @jackie_wu123 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
a400c8cae8
@ -1,31 +1,20 @@
|
|||||||
Name: trace-cmd
|
Name: trace-cmd
|
||||||
Version: 2.7
|
Version: 2.7
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: A front-end for Ftrace
|
Summary: A front-end for Ftrace
|
||||||
License: GPLv2 and LGPLv2
|
License: GPLv2 and LGPLv2
|
||||||
URL: http://git.kernel.org/?p=linux/kernel/git/rostedt/trace-cmd.git;a=summary
|
URL: http://git.kernel.org/?p=linux/kernel/git/rostedt/trace-cmd.git;a=summary
|
||||||
Source0: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git/snapshot/%{name}-v%{version}.tar.gz
|
Source0: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git/snapshot/%{name}-v%{version}.tar.gz
|
||||||
Source1: kernelshark.desktop
|
Source1: kernelshark.desktop
|
||||||
Patch1: 0001-trace-cmd-Figure-out-the-arch-and-install-library-to.patch
|
Patch1: 0001-trace-cmd-Figure-out-the-arch-and-install-library-to.patch
|
||||||
Patch2: 0002-trace-cmd-Fix-the-logic-behind-SWIG_DEFINED-in-the-M.patch
|
Patch2: 0002-trace-cmd-Fix-the-logic-behind-SWIG_DEFINED-in-the-M.patch
|
||||||
|
BuildRequires: gcc xmlto asciidoc mlocate libxml2-devel
|
||||||
BuildRequires: gcc xmlto asciidoc mlocate libxml2-devel
|
BuildRequires: gtk2-devel glib2-devel desktop-file-utils
|
||||||
BuildRequires: gtk2-devel glib2-devel desktop-file-utils
|
Provides: kernelshark
|
||||||
|
Obsoletes: kernelshark
|
||||||
Provides: kernelshark
|
|
||||||
Obsoletes: kernelshark
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package is a user-space front-end command-line tool for Ftrace.
|
This package is a user-space front-end command-line tool for Ftrace.
|
||||||
|
|
||||||
%package python2
|
|
||||||
Summary: Python plugin support for trace-cmd
|
|
||||||
Requires: trace-cmd%{_isa} = %{version}-%{release}
|
|
||||||
BuildRequires: swig python2-devel
|
|
||||||
|
|
||||||
%description python2
|
|
||||||
Python plugin support for trace-cmd.
|
|
||||||
|
|
||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -79,15 +68,14 @@ desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/kernelshark.deskt
|
|||||||
%{_datadir}/applications/kernelshark.desktop
|
%{_datadir}/applications/kernelshark.desktop
|
||||||
%{_sysconfdir}/bash_completion.d/trace-cmd.bash
|
%{_sysconfdir}/bash_completion.d/trace-cmd.bash
|
||||||
|
|
||||||
%files python2
|
|
||||||
%doc Documentation/README.PythonPlugin
|
|
||||||
%{_libdir}/%{name}/plugins/plugin_python.so
|
|
||||||
%{_libdir}/%{name}/python/
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 28 2020 Anan Fu <fuanan3@huawei.com> - 2.7-5
|
||||||
|
- disable python2
|
||||||
|
|
||||||
* Wed Nov 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.7-4
|
* Wed Nov 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.7-4
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user