parent
6b0e9ae5c4
commit
be24752376
10
mtr.spec
10
mtr.spec
@ -1,7 +1,9 @@
|
||||
%global _hardened_build 1
|
||||
|
||||
Summary: A network diagnostic tool
|
||||
Name: mtr
|
||||
Version: 0.85
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Epoch: 2
|
||||
Group: Applications/Internet
|
||||
License: GPLv2+
|
||||
@ -46,6 +48,9 @@ diagnostic tool.
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fPIE"
|
||||
export LDFLAGS="-z now -pie"
|
||||
|
||||
%configure --enable-gtk2
|
||||
make %{?_smp_mflags} && mv mtr xmtr && make distclean
|
||||
%configure --without-gtk
|
||||
@ -97,6 +102,9 @@ desktop-file-install \
|
||||
%{_datadir}/pixmaps/mtr_icon.xpm
|
||||
|
||||
%changelog
|
||||
* Sat Sep 14 2013 Michal Sekletar <msekleta@redhat.com> - 2:0.85-3
|
||||
- enable hardened build
|
||||
|
||||
* Mon Aug 05 2013 Michal Sekletar <msekleta@redhat.com> - 2:0.85-2
|
||||
- add generate-tarball.sh script
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user