[packages/iperf3] don't build binary for profiling
atler
atler at pld-linux.org
Mon Sep 5 15:09:28 CEST 2022
commit 54a2eec97bd74d5c87ebc83e7febaae499f5a8b2
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Sep 5 14:33:51 2022 +0200
don't build binary for profiling
non-installed binary with profiling data. also makes nopg patch
obsolete.
iperf3-nopg.patch | 14 --------------
iperf3.spec | 3 ---
2 files changed, 17 deletions(-)
---
diff --git a/iperf3.spec b/iperf3.spec
index 27da595..d60c91e 100644
--- a/iperf3.spec
+++ b/iperf3.spec
@@ -10,7 +10,6 @@ License: BSD-like
Group: Networking/Utilities
Source0: https://downloads.es.net/pub/iperf/%{orgname}-%{version}.tar.gz
# Source0-md5: 7164f877241dce479f6e8f083e5c447d
-Patch0: %{name}-nopg.patch
URL: https://software.es.net/iperf/
BuildRequires: autoconf
BuildRequires: automake
@@ -56,7 +55,6 @@ Pliki nagłówkowe bibliotek iperf3.
%prep
%setup -q -n %{orgname}-%{version}
-%patch0 -p1
%build
%{__libtoolize}
@@ -64,7 +62,6 @@ Pliki nagłówkowe bibliotek iperf3.
%{__autoconf}
%{__automake}
%configure \
- --enable-profiling \
--enable-shared \
--disable-silent-rules
%{__make}
diff --git a/iperf3-nopg.patch b/iperf3-nopg.patch
deleted file mode 100644
index 361c0da..0000000
--- a/iperf3-nopg.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- iperf3/src/Makefile.am.orig 2020-06-23 11:03:22.394451000 +0200
-+++ iperf3/src/Makefile.am 2020-06-23 11:04:20.442451000 +0200
-@@ -58,9 +58,9 @@
- iperf3_profile_SOURCES = main.c \
- $(libiperf_la_SOURCES)
-
--iperf3_profile_CFLAGS = -pg -g
-+iperf3_profile_CFLAGS = -g
- iperf3_profile_LDADD = libiperf.la
--iperf3_profile_LDFLAGS = -pg -g
-+iperf3_profile_LDFLAGS = -g
- endif
-
- # Specify the sources and various flags for the test cases
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/iperf3.git/commitdiff/e0c323313685a0fe58a4ce291b993cd3e64f6804
More information about the pld-cvs-commit
mailing list