Bug 1135673

Summary: Patch to build gambas3-gb-geom sub-package
Product: [Fedora] Fedora Reporter: Joshua Rich <joshua.rich>
Component: gambas3Assignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 20CC: joshua.rich, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-02 17:57:09 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:
Attachments:
Description Flags
patch to gambas3.spec to build gambas-gb-geom none

Description Joshua Rich 2014-08-30 07:18:29 UTC
Created attachment 932875 [details]
patch to gambas3.spec to build gambas-gb-geom

The attached patch to the gambas3 spec file allows building of the gambas3-gb-geom sub-package.  This is based off the spec file in openSUSE. I'm not sure why this sub-package isn't included in Fedora, is there a distribution issue?  If all okay, is it possible to integrate this patch so that we can get gambas-gb-geom on Fedora?

Comment 1 Tom "spot" Callaway 2014-09-02 17:57:09 UTC
It's not included in Fedora because the upstream Gambas maintainer doesn't want it done that way. He has a very specific set of rules about what subpackages are created and which files go inside of them:

http://gambaswiki.org/wiki/howto/package

He specifically calls out the geom files as a "hidden component" that must go in the gambas3-runtime package:

* The gb.geom hidden component: gb.geom.info, gb.geom.list, gb.geom.so.*, gb.geom.la.

****

That's where he wants those files, so that's where we put them. And they're in the gambas3-runtime package in all versions of Fedora (I doublechecked).

[spot@localhost master]$ repoquery -ql gambas3-runtime |grep geom
/usr/lib64/gambas3/gb.geom.la
/usr/lib64/gambas3/gb.geom.so
/usr/lib64/gambas3/gb.geom.so.0
/usr/lib64/gambas3/gb.geom.so.0.0.0

If anything, this is a bug in opensuse's packaging, for not following the upstream gambas3 standard.

Comment 2 Joshua Rich 2014-09-02 22:01:53 UTC
Apologies, I did not realize the packaging standards for gambas. I was trying to package for Fedora a program I found on openSUSE that uses gambas and basing the changes off that. 

I'll look into submitting a bug to openSUSE and point them at the upstream docs and this bug. 

Thanks and regards.

(In reply to Tom "spot" Callaway from comment #1)
> It's not included in Fedora because the upstream Gambas maintainer doesn't
> want it done that way. He has a very specific set of rules about what
> subpackages are created and which files go inside of them:
> 
> http://gambaswiki.org/wiki/howto/package
> 
> He specifically calls out the geom files as a "hidden component" that must
> go in the gambas3-runtime package:
> 
> * The gb.geom hidden component: gb.geom.info, gb.geom.list, gb.geom.so.*,
> gb.geom.la.
> 
> ****
> 
> That's where he wants those files, so that's where we put them. And they're
> in the gambas3-runtime package in all versions of Fedora (I doublechecked).
> 
> [spot@localhost master]$ repoquery -ql gambas3-runtime |grep geom
> /usr/lib64/gambas3/gb.geom.la
> /usr/lib64/gambas3/gb.geom.so
> /usr/lib64/gambas3/gb.geom.so.0
> /usr/lib64/gambas3/gb.geom.so.0.0.0
> 
> If anything, this is a bug in opensuse's packaging, for not following the
> upstream gambas3 standard.