Bug 2161371

Summary: seqan: Use %_fortify_level instead of twiddling with optflags
Product: [Fedora] Fedora Reporter: Siddhesh Poyarekar <sipoyare>
Component: seqanAssignee: Antonio T. sagitter <trpost>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jaruga, trpost
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: seqan-1.4.2-51.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-21 01:49:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2158232    

Description Siddhesh Poyarekar 2023-01-16 18:24:25 UTC
Description of problem:
There is now a canonical way to disable fortification, see "Fortification level" in the build flags guide:

https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md#source-fortification

This way, one doesn't need to mess with RPM_OPT_FLAGS anymore to do this. The current sed approach will also not work since the flag has now changed to -Wp,-D_FORTIFY_SOURCE=3.

Also since this is conditional for the arm32 architecture, maybe the whole block can be dropped given that Fedora doesn't support arm anymore?

Comment 1 Fedora Update System 2023-01-20 23:05:59 UTC
FEDORA-2023-271925bf5f has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-271925bf5f

Comment 2 Fedora Update System 2023-01-21 01:49:03 UTC
FEDORA-2023-271925bf5f has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.