Bug 2179594

Summary: Package has a new upstream
Product: [Fedora] Fedora Reporter: Emmanuel Seyman <emmanuel>
Component: gcstarAssignee: Emmanuel Seyman <emmanuel>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: emmanuel, kerenoc01, tian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Emmanuel Seyman 2023-03-18 23:28:47 UTC
I've learnt recently that gcstar has a new upstream: https://gitlab.com/GCstar/GCstar

This upstream has already made a number of releases. We should update to the current one (1.7.4 at time of writing).

Comment 1 Kerenoc 2023-06-09 08:08:32 UTC
I'm the upstream maintainer of GCstar. The lastest version is 1.8.0 (https://gitlab.com/GCstar/GCstar/-/releases). In https://gitlab.com/GCstar/GCstar/-/tree/main/gcstar/packages/fedora , there is a recipe to build a RPM package but the dependencies need to be fixed.

Comment 2 Emmanuel Seyman 2023-06-09 09:57:23 UTC
Looks like the gang's all here. :-)

I remember trying out the upstream spec and having rpmlint errors and warnings.
I decided to take a shot at fixing them and then never got around to it.

Looks like it's time to give it another shot.

Comment 3 Kerenoc 2023-06-12 16:30:21 UTC
I modified the Gitlab CI recipes to create a generic RPM package https://gitlab.com/GCstar/GCstar/-/packages/13986875 (using gcstar/packages/rpm/gcstar.spec). It can be used to install the new version of GCstar until it's updated as an official Fedora package. The Fedora recipe (gcstar/packages/fedora/gcstar.spec) is similar but relocate the libraries from /usr/lib/gcstar to /usr/share/gcstar : I don't know if it's a hard constraint.

Some Perl dependencies are missing on Fedora : MP3::Tag, Net::FreeDB, Ogg::Vorbis::Header::PurePerl. They should be installable with cpan but I don't know how it can be integrated in the RPM package.

Hope this helps.

Comment 4 Emmanuel Seyman 2023-06-12 20:11:51 UTC
(In reply to Kerenoc from comment #3)
> The Fedora
> recipe (gcstar/packages/fedora/gcstar.spec) is similar but relocate the
> libraries from /usr/lib/gcstar to /usr/share/gcstar : I don't know if it's a
> hard constraint.

We try to conform to the Filesystem Hierarchy Standard (FHS) to minimize differences between distributions. The FHS states that /usr/lib is for libraries for the binaries in /usr/bin and /usr/sbin while /usr/share is for architecture-independent shared data. Honestly, /usr/share seems the way to go.

> Some Perl dependencies are missing on Fedora : MP3::Tag, Net::FreeDB,
> Ogg::Vorbis::Header::PurePerl. They should be installable with cpan but I
> don't know how it can be integrated in the RPM package.

This, I can probably help with.

Comment 5 Kerenoc 2023-06-13 15:35:29 UTC
Thanks for the info on the FHS. The next version of GCstar will be compliant to avoid patches for packaging.

Comment 6 Fedora Release Engineering 2023-08-16 07:11:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.