Bug 1070936

Summary: Add Mono assembly path macros for RPM packaging
Product: [Fedora] Fedora Reporter: Will Benton <willb>
Component: redhat-rpm-configAssignee: Panu Matilainen <pmatilai>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jonathan, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1070937 (view as bug list) Environment:
Last Closed: 2014-04-08 10:36:46 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: 1070937, 1070938    

Description Will Benton 2014-02-27 18:58:31 UTC
Description of problem:

The current Mono packaging guidelines recommend using hard-coded paths; this is ugly, against broader guidelines, and leads to rpmlint errors.  (See https://fedorahosted.org/fpc/ticket/395 for more information.)

After discussing this in today's FPC meeting, the preferred solution is to provide macros for Mono assembly paths in /etc/rpm/macros.mono-srpm as follows:

%global _monodir %{_prefix}/lib/mono
%global _monogacdir %{_monodir}/gac

Once these are available in redhat-rpm-config, the Mono packaging guidelines can be updated.

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

redhat-rpm-config-9.1.0-46 (for F19)
redhat-rpm-config-9.1.0-54 (for F20)
redhat-rpm-config-9.1.0-57 (for rawhide)

Comment 1 Panu Matilainen 2014-04-08 10:36:46 UTC
Added in redhat-rpm-config-14-1.fc21.