Bug 1957929 - Review Request: lorax-templates-rhel - RHEL build templates for lorax and livemedia-creator
Summary: Review Request: lorax-templates-rhel - RHEL build templates for lorax and liv...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-06 18:59 UTC by Stephen Gallagher
Modified: 2022-05-24 12:21 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-24 12:21:38 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)

Comment 2 Neal Gompa 2021-05-06 20:58:51 UTC
Taking this review.

Comment 3 Neal Gompa 2021-05-10 13:29:27 UTC
So there are a couple of issues:

> URL:            https://github.com/weldr/lorax
> [..]
> Source0:        lorax-templates-rhel-9.0-14.tar.gz

The URL doesn't point to the actual project, and the Source0 does not point to a proper upstream SourceURL.

We generally want to avoid packages in Fedora like this, since the upstream relationship is nonexistent. 

Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/

> rm -rf $RPM_BUILD_ROOT

This can be removed, as RPM does this automatically.

Comment 4 Stephen Gallagher 2021-05-10 15:14:33 UTC
(In reply to Neal Gompa from comment #3)
> So there are a couple of issues:
> 
> > URL:            https://github.com/weldr/lorax
> > [..]
> > Source0:        lorax-templates-rhel-9.0-14.tar.gz
> 
> The URL doesn't point to the actual project, and the Source0 does not point
> to a proper upstream SourceURL.
> 

This package provides only data files to support the lorax project. The URL is correct.

This dist-git repository will be its own upstream. The tarball is generated by a Makefile included with the sources. I have added a comment to this effect into the specfile to avoid confusion in the future.


> > rm -rf $RPM_BUILD_ROOT
> 
> This can be removed, as RPM does this automatically.

Done.

I also updated the version to 10.0 since ELN is currently tracking towards that release.

Spec URL: https://copr-be.cloud.fedoraproject.org/results/sgallagh/lorax-templates-rhel/fedora-eln-x86_64/02175846-lorax-templates-rhel/lorax-templates-rhel.spec

SRPM URL: https://copr-be.cloud.fedoraproject.org/results/sgallagh/lorax-templates-rhel/fedora-eln-x86_64/02175846-lorax-templates-rhel/lorax-templates-rhel-10.0-1.el110.src.rpm

Comment 5 Neal Gompa 2021-05-10 15:19:48 UTC
I strongly suggest that you make it so that the tarball isn't needed in the future. But for now, it looks good to me.

PACKAGE APPROVED.

Comment 6 Stephen Gallagher 2021-05-10 15:28:05 UTC
(In reply to Neal Gompa from comment #5)
> I strongly suggest that you make it so that the tarball isn't needed in the
> future. But for now, it looks good to me.
> 
> PACKAGE APPROVED.

We discussed this on IRC. The tarball is actually generated from files in the dist-git repository. It's done with a tarball for simplicity, since having 90 files listed in Sources would be unwieldy.

Comment 7 Gwyn Ciesla 2021-05-10 16:06:42 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/lorax-templates-rhel

Comment 8 Package Review 2022-05-24 12:21:38 UTC
Package is available in repositories, closing.


Note You need to log in before you can comment on or make changes to this bug.