Bug 603224

Summary: wireshark 1.2.9: specfile cleaning - LDFLAGS
Product: [Fedora] Fedora Reporter: Jose Pedro Oliveira <jose.p.oliveira.oss>
Component: wiresharkAssignee: Jan Safranek <jsafrane>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: jlayton, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: wireshark-1.2.9-3.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-22 08:19:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jose Pedro Oliveira 2010-06-11 23:30:43 UTC
Description of problem:
There are several libraries being added to the linking process through the LDFLAGS environment variable. At least two of them appear to be redundant as of wireshark 1.2.9.

Version-Release number of selected component (if applicable):

Additional info:
The -lm library problem has been recently fixed upstream
(see https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4815).

--- wireshark.spec.129_1        2010-06-11 13:47:06.000000000 +0100
+++ wireshark.spec      2010-06-11 15:52:24.299094498 +0100
@@ -136,7 +136,7 @@
 export RPM_OPT_FLAGS=${RPM_OPT_FLAGS//-fstack-protector/-fstack-protector-all}
-export LDFLAGS="$LDFLAGS -lm -lcrypto -pie"
+export LDFLAGS="$LDFLAGS -pie"
 %if %{svn_version}