Bug 1224565

Summary: mono-cecil-debuginfo-0.9.6-1 is empty
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: mono-cecilAssignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: claudiorodrigo, mhroncok
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mono-cecil-0.9.6-2.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-26 18:20:36 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: 496968    

Description Ville Skyttä 2015-05-24 19:23:28 UTC
mono-cecil-debuginfo-0.9.6-1 is empty. If the package needs to stay arch specific but there's nothing to extract -debuginfo from, it should be explicitly disabled.

Comment 1 Miro Hrončok 2015-05-24 22:53:52 UTC
Last time I've touched this, it was noarch.

Last change by Claudio Rodrigo Pereyra Diaz introduced this instead:

ExclusiveArch:  %mono_arches

Claudio, why that happens?

Comment 2 Claudio Rodrigo Pereyra DIaz 2015-05-26 14:05:28 UTC
(In reply to Ville Skyttä from comment #0)
> mono-cecil-debuginfo-0.9.6-1 is empty. If the package needs to stay arch
> specific but there's nothing to extract -debuginfo from, it should be
> explicitly disabled.

Yes -debuginfo should be explicitly disabled. I missing up this when I was fixed for build with mono 4 in github https://github.com/elsupergomez/lbs-mono-fedora/tree/master/mono-cecil for testing in corp repo https://copr.fedoraproject.org/coprs/tpokorra/mono/. Later pbrobinson apply that changes into fedora git to accomplish with https://fedoraproject.org/wiki/Changes/Mono_4.

I you are the package maintainer, please disable debuginfo with:

%global debug_package %{nil}

on top of the spec file.

(In reply to Miro Hrončok from comment #1)
> Last time I've touched this, it was noarch.
> 
> Last change by Claudio Rodrigo Pereyra Diaz introduced this instead:
> 
> ExclusiveArch:  %mono_arches
> 
> Claudio, why that happens?

Mono guideline https://fedoraproject.org/wiki/Packaging:Mono#File_Locations

"Also, even though we consider mono packages to be architecture independent, they must not be marked as "noarch". Although the assemblies are the same, the files may differ due to strings referring to the build architecture."