Bug 1653634 - Review Request: golang-github-mdlayher-raw - Package raw enables reading and writing data at the device driver level for a network interface
Summary: Review Request: golang-github-mdlayher-raw - Package raw enables reading and ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1653635
TreeView+ depends on / blocked
 
Reported: 2018-11-27 10:27 UTC by Marek Skalický
Modified: 2018-12-03 11:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-12-03 11:36:36 UTC
Type: ---
Embargoed:
eclipseo: fedora-review+


Attachments (Terms of Use)

Description Marek Skalický 2018-11-27 10:27:02 UTC
Spec URL: https://mskalick.fedorapeople.org/reviews/golang-github-mdlayher-raw/golang-github-mdlayher-raw.spec
SRPM URL: https://mskalick.fedorapeople.org/reviews/golang-github-mdlayher-raw/golang-github-mdlayher-raw-0-0.1.20181126gitfa5ef33.fc27.src.rpm
Description: Package raw enables reading and writing data at the device driver level for a network interface
Fedora Account System Username: mskalick

Comment 1 Jan Chaloupka 2018-11-28 16:09:26 UTC
- Missing BuildRequires in the devel package:

BuildRequires: golang(github.com/google/go-cmp/cmp)
BuildRequires: golang(golang.org/x/net/bpf)
BuildRequires: golang(golang.org/x/sys/unix)

- you can remove all the with_bundled pieces unless there is no other way than to built the project from vendored deps

Comment 2 Jan Chaloupka 2018-11-29 09:50:28 UTC
Please provide koji scratch build.

Comment 3 Marek Skalický 2018-11-30 09:25:51 UTC
Spec URL: https://mskalick.fedorapeople.org/reviews/golang-github-mdlayher-raw/golang-github-mdlayher-raw.spec
SRPM URL: https://mskalick.fedorapeople.org/reviews/golang-github-mdlayher-raw/golang-github-mdlayher-raw-0-0.2.20181126gitfa5ef33.fc30.src.rpm
Description: Package raw enables reading and writing data at the device driver level for a network interface
Fedora Account System Username: mskalick


Scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=31192838

Removed %{with_bundled}

(In reply to Jan Chaloupka from comment #1)
> - Missing BuildRequires in the devel package:

Why is this needed?

IMHO BuildRequires: are for the whole spec file, not per sub-package. And I saw them mainly in first part, after SourcesX: ...

Comment 4 Jan Chaloupka 2018-11-30 10:59:03 UTC
> Why is this needed?

BR's in the main package are allocated for building binaries. The list of dependencies for building binaries can be different from the list of dependencies of the devel subpackage. Right now it has the same effect. Thought, it's easy to forget about it once you start building binaries. It's up to you.

Comment 5 Robert-André Mauchin 🐧 2018-11-30 17:33:40 UTC
 - License ok
 - Latest version packaged
 - Builds in mock
 - No rpmlint errors
 - Conforms to Packaging Guidelines


Package approved.


Please assign the package to go-sig too so we can do the upkeep. Don't forget to add it to Koschei too.

Comment 6 Gwyn Ciesla 2018-11-30 20:00:55 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-github-mdlayher-raw

Comment 7 Marek Skalický 2018-12-03 11:36:36 UTC
Thanks for the review.


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