modify BuildRequies from gtk2-devel to gtk3-devel

Signed-off-by: yangl777 <yanglu72@h-partners.com>
(cherry picked from commit 5b771655d5895960033e7877d8ff68279d416c70)
This commit is contained in:
yangl777 2024-08-29 08:47:12 +00:00 committed by openeuler-sync-bot
parent 3d35c1ff81
commit 49b605762e

View File

@ -2,7 +2,7 @@
Name: mtr Name: mtr
Version: 0.95 Version: 0.95
Release: 2 Release: 3
Epoch: 2 Epoch: 2
Summary: Ping and Traceroute Network Diagnostic Tool Summary: Ping and Traceroute Network Diagnostic Tool
License: GPLv2 and BSD License: GPLv2 and BSD
@ -10,7 +10,7 @@ URL: https://www.bitwizard.nl/mtr/
Source0: https://github.com/traviscross/mtr/archive/v%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/traviscross/mtr/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: net-x%{name}.desktop Source1: net-x%{name}.desktop
Source2: mtr-gtk-pkexec-wrapper.sh Source2: mtr-gtk-pkexec-wrapper.sh
BuildRequires: git autoconf automake libtool ncurses-devel gtk2-devel desktop-file-utils BuildRequires: git autoconf automake libtool ncurses-devel gtk3-devel desktop-file-utils
%if %{?openEuler:1}0 %if %{?openEuler:1}0
Provides: %{name}-gtk = %{epoch}:%{version}-%{release} Provides: %{name}-gtk = %{epoch}:%{version}-%{release}
@ -25,14 +25,14 @@ and percentage for all network hops between the systems.
%if %{!?openEuler:1}0 %if %{!?openEuler:1}0
%package gtk %package gtk
Summary: GTK+ interface for MTR Summary: GTK interface for MTR
Group: Applications/Internet Group: Applications/Internet
Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name} = %{epoch}:%{version}-%{release}
%description gtk %description gtk
MTR combines the functionality of the 'traceroute' and 'ping' programs MTR combines the functionality of the 'traceroute' and 'ping' programs
in a single network diagnostic tool. The mtr-gtk package provides the in a single network diagnostic tool. The mtr-gtk package provides the
GTK+ interface for MTR. GTK interface for MTR.
%endif %endif
%package_help %package_help
@ -89,6 +89,12 @@ make test
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %changelog
* Thu Aug 29 2024 yanglu <yanglu72@h-partners.com> - 2:0.95-3
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:modify BuildRequies from gtk2-devel to gtk3-devel
* Mon Oct 24 2022 xingwei <xingwei14@h-partners.com> - 2:0.95-2 * Mon Oct 24 2022 xingwei <xingwei14@h-partners.com> - 2:0.95-2
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA