Bug 2127982

Summary: Fix macro definition for SWIG 4.1.0
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: libsedmlAssignee: Antonio T. sagitter <trpost>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: trpost
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libsedml-2.0.32-4.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-03 14:23:55 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: 2117176    

Description Jitka Plesnikova 2022-09-19 14:13:56 UTC
Swig is preparing release of new version 4.1.0. I was testing the rebuild of the package with the version and it failed.

The reason is this change https://github.com/swig/swig/issues/2193

 #2193 -DFOO on the SWIG command line now sets FOO to 1 for
 consistency with C/C++ compiler preprocessors.  Previously
 SWIG set FOO to an empty value.

 Existing invocations of SWIG with `-DFOO` where the empty value
 matters can be updated to `-DFOO=` which should work with both
 old and new releases of SWIG.

 *** POTENTIAL INCOMPATIBILITY ***

The issue was reported to upstream and it was fixed.

Comment 1 Jitka Plesnikova 2022-10-20 13:29:59 UTC
Could you please backport the upstream fix?

New swig should be release soon.