| |
@@ -2,8 +2,8 @@
|
| |
|
| |
Summary: Network diagnostic tool combining 'traceroute' and 'ping'
|
| |
Name: mtr
|
| |
- Version: 0.92
|
| |
- Release: 7%{?dist}
|
| |
+ Version: 0.94
|
| |
+ Release: 1%{?dist}
|
| |
Epoch: 2
|
| |
License: GPLv2
|
| |
URL: https://www.bitwizard.nl/mtr/
|
| |
@@ -12,7 +12,8 @@
|
| |
Source2: mtr-gtk-pkexec-wrapper.sh
|
| |
Source3: org.fedoraproject.mtr.policy
|
| |
|
| |
- BuildRequires: ncurses-devel gtk2-devel desktop-file-utils
|
| |
+ BuildRequires: ncurses-devel gtk3-devel desktop-file-utils
|
| |
+ BuildRequires: jansson-devel libasan libubsan libcap-devel
|
| |
BuildRequires: autoconf automake libtool git
|
| |
|
| |
%description
|
| |
@@ -31,7 +32,7 @@
|
| |
in the mtr-gtk package).
|
| |
|
| |
%package gtk
|
| |
- Summary: GTK+ interface for MTR
|
| |
+ Summary: GTK interface for MTR
|
| |
Requires: %{name} = %{epoch}:%{version}-%{release}
|
| |
|
| |
%description gtk
|
| |
@@ -50,23 +51,16 @@
|
| |
%setup -q
|
| |
|
| |
%build
|
| |
- export CFLAGS="%{optflags} -fPIE"
|
| |
- export LDFLAGS="-z now -pie"
|
| |
-
|
| |
- # Upstream forgot to ship .tarball-version
|
| |
- echo "%{version}" > .tarball-version
|
| |
|
| |
./bootstrap.sh
|
| |
- %configure --with-gtk
|
| |
- %make_build && mv -f mtr xmtr.bin && make distclean
|
| |
- %configure --without-gtk
|
| |
+ %configure --with-gtk --with-libasan
|
| |
+ %make_build && mv -f mtr xmtr && make distclean
|
| |
+ %configure --without-gtk --with-libasan
|
| |
%make_build
|
| |
|
| |
%install
|
| |
install -D -p -m 0755 mtr %{buildroot}%{_sbindir}/mtr
|
| |
- install -D -p -m 0755 xmtr.bin %{buildroot}%{_bindir}/xmtr.bin
|
| |
- install -D -p -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/xmtr
|
| |
- install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/polkit-1/actions/org.fedoraproject.mtr.policy
|
| |
+ install -D -p -m 0755 xmtr %{buildroot}%{_bindir}/xmtr
|
| |
install -D -p -m 0644 img/mtr_icon.xpm %{buildroot}%{_datadir}/pixmaps/mtr_icon.xpm
|
| |
%make_install
|
| |
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
| |
@@ -74,7 +68,7 @@
|
| |
%files
|
| |
%{!?_licensedir:%global license %%doc}
|
| |
%license COPYING
|
| |
- %doc AUTHORS FORMATS NEWS README SECURITY
|
| |
+ %doc AUTHORS FORMATS NEWS README.md SECURITY
|
| |
%{_sbindir}/%{name}
|
| |
%caps(cap_net_raw=pe) %{_sbindir}/%{name}-packet
|
| |
%{_mandir}/man8/*
|
| |
@@ -84,12 +78,13 @@
|
| |
|
| |
%files gtk
|
| |
%{_bindir}/xmtr
|
| |
- %{_bindir}/xmtr.bin
|
| |
%{_datadir}/pixmaps/mtr_icon.xpm
|
| |
- %{_datadir}/polkit-1/actions/org.fedoraproject.mtr.policy
|
| |
%{_datadir}/applications/net-x%{name}.desktop
|
| |
|
| |
%changelog
|
| |
+ * Fri Nov 06 2020 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2:0.94-1
|
| |
+ - Update to 0.94
|
| |
+
|
| |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.92-7
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
| |
|
| |