Bug 1836617 (rust-pommes) - Review Request: rust-pommes - Project object model model (and parser using serde)
Summary: Review Request: rust-pommes - Project object model model (and parser using se...
Keywords:
Status: CLOSED ERRATA
Alias: rust-pommes
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-17 11:16 UTC by Igor Raits
Modified: 2020-05-18 02:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-18 02:44:07 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)

Description Igor Raits 2020-05-17 11:16:17 UTC
Spec URL: https://ignatenkobrain.fedorapeople.org/for-review/rust-pommes.spec
SRPM URL: https://ignatenkobrain.fedorapeople.org/for-review/rust-pommes-0.0.1-1.fc33.src.rpm
Description:
Project object model model (and parser using serde).
Fedora Account System Username: ignatenkobrain

Comment 1 Fabio Valentini 2020-05-17 11:29:14 UTC
Taking this review (I'm the upstream developer, after all).

I see two issues right now:

- subpackage for the binary is called "pommes", but the binary name is "mvn-genbr", I think those two names should match
- no License tag for the binary subpackage that contains the effective license for the binary

Comment 3 Igor Raits 2020-05-17 11:35:10 UTC
> - subpackage for the binary is called "pommes", but the binary name is "mvn-genbr", I think those two names should match
Not really, I think it is better to call it pommes, because that is how people would theoretically install it via cargo: `cargo install pommes` would give them mvn-genbr.

> - no License tag for the binary subpackage that contains the effective license for the binary
I had this done locally, but seems forgot updating remove spec. Done now.

Comment 4 Fabio Valentini 2020-05-17 11:44:56 UTC
(In reply to Igor Raits from comment #3)
> > - subpackage for the binary is called "pommes", but the binary name is "mvn-genbr", I think those two names should match
> Not really, I think it is better to call it pommes, because that is how
> people would theoretically install it via cargo: `cargo install pommes`
> would give them mvn-genbr.

I was thinking more along the lines of "BuildRequires:  mvn-genbr", which makes a lot more sense than "BuildRequires:  pommes" when you want mvn-genbr for your build.

> > - no License tag for the binary subpackage that contains the effective license for the binary
> I had this done locally, but seems forgot updating remove spec. Done now.

Great, will do the complete review shortly.

Comment 5 Igor Raits 2020-05-17 11:48:24 UTC
(In reply to Fabio Valentini from comment #4)
> (In reply to Igor Raits from comment #3)
> > > - subpackage for the binary is called "pommes", but the binary name is "mvn-genbr", I think those two names should match
> > Not really, I think it is better to call it pommes, because that is how
> > people would theoretically install it via cargo: `cargo install pommes`
> > would give them mvn-genbr.
> 
> I was thinking more along the lines of "BuildRequires:  mvn-genbr", which
> makes a lot more sense than "BuildRequires:  pommes" when you want mvn-genbr
> for your build.

I think the best would be to have BuildRequires: java-packaging / mvn-packaging / whatsoever-more-generic which will pull pommes (and I guess more things like maven) so that user won't have to careabout this at all. also probably it would worth having some macros around that in there.

Comment 6 Fabio Valentini 2020-05-17 12:03:33 UTC
Package was generated through rust2rpm, simplifying the review considerably.

- Conforms to packaging guidelines (rust2rpm generated spec)
- package successfully builds in rawhide
- license correct, and correctly set for the binary subpackage too

PACKAGE APPROVED.

Comment 7 Igor Raits 2020-05-17 12:14:15 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-pommes

Comment 8 Fedora Update System 2020-05-17 13:38:39 UTC
FEDORA-2020-89e7f2e3cd has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-89e7f2e3cd

Comment 9 Fedora Update System 2020-05-18 02:44:07 UTC
FEDORA-2020-89e7f2e3cd has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


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