Bug 1036319 - Review Request: libnftables - Library for low-level interaction with nftables Netlink's API over libmnl
Summary: Review Request: libnftables - Library for low-level interaction with nftables...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael Schwendt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1036320
TreeView+ depends on / blocked
 
Reported: 2013-11-30 21:52 UTC by Kevin Fenzi
Modified: 2014-01-09 08:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-09 08:56:55 UTC
Type: ---
Embargoed:
bugs.michael: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Kevin Fenzi 2013-11-30 21:52:26 UTC
Spec URL: http://www.scrye.com/~kevin/fedora/review/libnftables/libnftables.spec
SRPM URL: http://www.scrye.com/~kevin/fedora/review/libnftables/libnftables-0.0-0.1.20131130git.fc21.src.rpm
Description: 
A library for low-level interaction with nftables Netlink's API over libmnl

Fedora Account System Username: kevin

Note that nftables is not currently enabled in Fedora kernels, but I've asked for it to be.

Comment 1 Michael Schwendt 2013-12-02 02:32:15 UTC
* Both configure.ac and libnftables.pc contain version 1.0.0 already, symbol versioning uses 1.0. If you're afraid of making this a 1.0.0 pre-release, use Version "0", not "0.0". The extra .0 doesn't serve any purpose at all.


* Reproducing the git checkout resulted in a 2KB diff, updates to file xt_LOG.h and nft-expr_target-test.c


* Build output is non-verbose. One cannot examine compiler flags'n'friends that way. Add option  --disable-silent-rules  to the %configure call. That works with the regenerated Autotools files.


* Relevant rpmlint output:

libnftables.x86_64: W: incoherent-version-in-changelog 0.0-0.1 ['0.0-0.1.2013113
0git.fc20', '0.0-0.1.20131130git']
libnftables.x86_64: E: incorrect-fsf-address /usr/share/doc/libnftables/COPYING

https://fedoraproject.org/wiki/Common_Rpmlint_issues#incorrect-fsf-address


* Directory "tests" contains stuff compiled by Make target "check" and run by tests/test-script.sh. It could be worthwhile building that stuff in the %check section. Here everything builds, and all test programs print "OK".


> %package        devel
> Group:          Development/Libraries

Either drop the Group tag here, or add one also to the base package (System Environment/Libraries there).


> %install
> rm -rf $RPM_BUILD_ROOT

https://fedoraproject.org/wiki/Packaging:Guidelines#BuildRoot_tag



* No real blockers during review. I highly recommend changing version to 0 and enabling verbose build, at least. That could be done when importing into dist git, however. So:

APPROVED

Comment 2 Kevin Fenzi 2013-12-02 17:05:21 UTC
Thanks for the review!

(In reply to Michael Schwendt from comment #1)
> * Both configure.ac and libnftables.pc contain version 1.0.0 already, symbol
> versioning uses 1.0. If you're afraid of making this a 1.0.0 pre-release,
> use Version "0", not "0.0". The extra .0 doesn't serve any purpose at all.

Fair enough. Changing to 0. 
 
> * Reproducing the git checkout resulted in a 2KB diff, updates to file
> xt_LOG.h and nft-expr_target-test.c

Will look. Possibly commits that happened after my checkout. 

> * Build output is non-verbose. One cannot examine compiler flags'n'friends
> that way. Add option  --disable-silent-rules  to the %configure call. That
> works with the regenerated Autotools files.

Will add. 
 
> * Relevant rpmlint output:
> 
> libnftables.x86_64: W: incoherent-version-in-changelog 0.0-0.1
> ['0.0-0.1.2013113
> 0git.fc20', '0.0-0.1.20131130git']
> libnftables.x86_64: E: incorrect-fsf-address
> /usr/share/doc/libnftables/COPYING
> 
> https://fedoraproject.org/wiki/Common_Rpmlint_issues#incorrect-fsf-address

Will ask upstream to fix. 
  
> * Directory "tests" contains stuff compiled by Make target "check" and run
> by tests/test-script.sh. It could be worthwhile building that stuff in the
> %check section. Here everything builds, and all test programs print "OK".

Will add. 
  
> > %package        devel
> > Group:          Development/Libraries
> 
> Either drop the Group tag here, or add one also to the base package (System
> Environment/Libraries there).

Poor copy and paste on my part, removing.
  
> > %install
> > rm -rf $RPM_BUILD_ROOT
> 
> https://fedoraproject.org/wiki/Packaging:Guidelines#BuildRoot_tag

Would be nice if rpmdev-newspec didn't add this (as thats what I used here). 
Removed. 
  
> * No real blockers during review. I highly recommend changing version to 0
> and enabling verbose build, at least. That could be done when importing into
> dist git, however. So:
> 
> APPROVED

Thanks. Will do above cleanups.

Comment 3 Kevin Fenzi 2013-12-02 17:07:09 UTC
New Package SCM Request
=======================
Package Name: libnftables
Short Description: Library for low-level interaction with nftables Netlink's API over libmnl
Owners: kevin
Branches: devel
InitialCC:

Comment 4 Gwyn Ciesla 2013-12-02 17:59:33 UTC
Git done (by process-git-requests).


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