Switch python2 plugin to python3
Signed-off-by: Zamir SUN <sztsian@gmail.com>
This commit is contained in:
parent
904693ec7e
commit
8b530dd0d5
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: trace-cmd
|
Name: trace-cmd
|
||||||
Version: 2.7
|
Version: 2.7
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: GPLv2 and LGPLv2
|
License: GPLv2 and LGPLv2
|
||||||
Summary: A user interface to Ftrace
|
Summary: A user interface to Ftrace
|
||||||
|
|
||||||
@ -40,13 +40,13 @@ Requires: trace-cmd%{_isa} = %{version}-%{release}
|
|||||||
Kernelshark is the GUI frontend for analyzing data produced by
|
Kernelshark is the GUI frontend for analyzing data produced by
|
||||||
'trace-cmd extract'
|
'trace-cmd extract'
|
||||||
|
|
||||||
%package python2
|
%package python3
|
||||||
Summary: Python plugin support for trace-cmd
|
Summary: Python plugin support for trace-cmd
|
||||||
Requires: trace-cmd%{_isa} = %{version}-%{release}
|
Requires: trace-cmd%{_isa} = %{version}-%{release}
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
%description python2
|
%description python3
|
||||||
Python plugin support for trace-cmd
|
Python plugin support for trace-cmd
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -58,7 +58,8 @@ Python plugin support for trace-cmd
|
|||||||
# MANPAGE_DOCBOOK_XSL define is hack to avoid using locate
|
# MANPAGE_DOCBOOK_XSL define is hack to avoid using locate
|
||||||
MANPAGE_DOCBOOK_XSL=`rpm -ql docbook-style-xsl | grep manpages/docbook.xsl`
|
MANPAGE_DOCBOOK_XSL=`rpm -ql docbook-style-xsl | grep manpages/docbook.xsl`
|
||||||
make V=1 CFLAGS="%{optflags} -D_GNU_SOURCE" LDFLAGS="%{build_ldflags}" \
|
make V=1 CFLAGS="%{optflags} -D_GNU_SOURCE" LDFLAGS="%{build_ldflags}" \
|
||||||
MANPAGE_DOCBOOK_XSL=$MANPAGE_DOCBOOK_XSL prefix=%{_prefix} all doc gui python-plugin
|
MANPAGE_DOCBOOK_XSL=$MANPAGE_DOCBOOK_XSL prefix=%{_prefix} \
|
||||||
|
PYTHON_VERS=python3 all doc gui python-plugin
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -98,7 +99,7 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/kernelshark.desktop
|
|||||||
%{_datadir}/applications/kernelshark.desktop
|
%{_datadir}/applications/kernelshark.desktop
|
||||||
%{_sysconfdir}/bash_completion.d/trace-cmd.bash
|
%{_sysconfdir}/bash_completion.d/trace-cmd.bash
|
||||||
|
|
||||||
%files python2
|
%files python3
|
||||||
%doc Documentation/README.PythonPlugin
|
%doc Documentation/README.PythonPlugin
|
||||||
%{_libdir}/%{name}/plugins/plugin_python.so
|
%{_libdir}/%{name}/plugins/plugin_python.so
|
||||||
%{_libdir}/%{name}/python/
|
%{_libdir}/%{name}/python/
|
||||||
@ -106,6 +107,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/kernelshark.desktop
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 03 2019 Zamir SUN <sztsian@gmail.com> - 2.7-6
|
||||||
|
- Switch the python plugin to python3
|
||||||
|
|
||||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-5
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user