Bug 831705 - Review Request: jj - A FIFO and file-system based Jabber/XMPP client
Summary: Review Request: jj - A FIFO and file-system based Jabber/XMPP client
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-13 15:45 UTC by Petr Šabata
Modified: 2012-07-20 01:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-20 01:55:54 UTC
Type: ---
Embargoed:
dcallagh: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Petr Šabata 2012-06-13 15:45:41 UTC
Spec URL: http://psabata.fedorapeople.org/pkgs/jj/jj.spec
SRPM URL: http://psabata.fedorapeople.org/pkgs/jj/jj-1-1.fc16.src.rpm
Description:
jj is more tool than traditional instant messenger client.  It can
be easily extended with normal UNIX tools. It is perfect for bots and
notifications.  Interaction is done by writing and reading files from
the server directory which jj creates.
Fedora Account System Username: psabata

Comment 1 Dan Callaghan 2012-07-01 00:19:28 UTC
Sounds useful!

Comment 2 Dan Callaghan 2012-07-01 02:05:05 UTC
Review checklist follows, there is only one small issue at the bottom to be addressed.


Package Review
==============

Key:
- = N/A
x = Pass
! = Fail
? = Not evaluated



==== C/C++ ====
[x]: MUST Package does not contain any libtool archives (.la)
[x]: MUST Package does not contain kernel modules.
[x]: MUST Package contains no static executables.
[x]: MUST Rpath absent or only used for internal libs.
[x]: MUST Package is not relocatable.


==== Generic ====
[x]: MUST Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: MUST Package successfully compiles and builds into binary rpms on at
     least one supported primary architecture.
[x]: MUST %build honors applicable compiler flags or justifies otherwise.
[x]: MUST All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: MUST Buildroot is not present
     Note: Unless packager wants to package for EPEL5 this is fine
[x]: MUST Package contains no bundled libraries.
[x]: MUST Changelog in prescribed format.
[x]: MUST Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: Clean would be needed if support for EPEL is required
[x]: MUST Sources contain only permissible code or content.
[x]: MUST Each %files section contains %defattr if rpm < 4.4
     Note: Note: defattr macros not found. They would be needed for EPEL5
[x]: MUST Macros in Summary, %description expandable at SRPM build time.
[x]: MUST Package requires other packages for directories it uses.
[x]: MUST Package uses nothing in %doc for runtime.
[x]: MUST Package is not known to require ExcludeArch.
[x]: MUST Permissions on files are set properly.
[x]: MUST Package does not contain duplicates in %files.
[x]: MUST Spec file lacks Packager, Vendor, PreReq tags.
[x]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf would be needed if support for EPEL5 is required
[-]: MUST Large documentation files are in a -doc subpackage, if required.
[x]: MUST If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %doc.
[x]: MUST License field in the package spec file matches the actual license.
[x]: MUST Package consistently uses macros (instead of hard-coded directory
     names).
[x]: MUST Package is named according to the Package Naming Guidelines.
[x]: MUST Package does not generate any conflict.
[x]: MUST Package obeys FHS, except libexecdir and /usr/target.
[x]: MUST Package must own all directories that it creates.
[x]: MUST Package does not own files or directories owned by other packages.
[x]: MUST Package installs properly.
[-]: MUST Requires correct, justified where necessary.
[x]: MUST Rpmlint output is silent.
Warning about missing man page is waived as upstream does not supply one.

rpmlint jj-1-1.fc18.i686.rpm

jj.i686: W: no-manual-page-for-binary jj
1 packages and 0 specfiles checked; 0 errors, 1 warnings.


rpmlint jj-debuginfo-1-1.fc18.i686.rpm

1 packages and 0 specfiles checked; 0 errors, 0 warnings.


rpmlint jj-1-1.fc18.src.rpm

1 packages and 0 specfiles checked; 0 errors, 0 warnings.


[x]: MUST Sources used to build the package match the upstream source, as
     provided in the spec URL.
/home/dan/fedora/reviews/jj/831705/jj-1.tar.gz :
  MD5SUM this package     : 1a0d8c60d0bd4333a7aeb7d8d58b88bf
  MD5SUM upstream package : 1a0d8c60d0bd4333a7aeb7d8d58b88bf

[x]: MUST Spec file is legible and written in American English.
[x]: MUST Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[-]: MUST Package contains a SysV-style init script if in need of one.
[x]: MUST File names are valid UTF-8.
[x]: MUST Useful -debuginfo package or justification otherwise.
[x]: SHOULD Reviewer should test that the package builds in mock.
[-]: SHOULD If the source package does not include license text(s) as a
     separate file from upstream, the packager SHOULD query upstream to
     include it.
[x]: SHOULD Dist tag is present.
[x]: SHOULD No file requires outside of /etc, /bin, /sbin, /usr/bin,
     /usr/sbin.
[x]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
/usr/bin/jj is overlinked:

    $ ldd -u -r /usr/bin/jj
    Unused direct dependencies:
        /lib64/libidn.so.11

however in this case it is loudmouth's fault (wrong pkgconfig Libs) so it is waived.

[x]: SHOULD Package functions as described.
[x]: SHOULD Latest version is packaged.
[x]: SHOULD Package does not include license text files separate from
     upstream.
[!]: SHOULD Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[x]: SHOULD SourceX / PatchY prefixed with %{name}.
[x]: SHOULD SourceX is a working URL.
[-]: SHOULD Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: SHOULD Package should compile and build into binary rpms on all supported
     architectures.
[-]: SHOULD %check is present and all tests pass.
No upstream test suite.
[-]: SHOULD Packages should try to preserve timestamps of original installed
     files.
[x]: SHOULD Spec use %global instead of %define.

Issues:
[!]: SHOULD Patches link to upstream bugs/comments/lists or are otherwise
     justified.

The jj-1-optflags.patch references $RPM_OPT_FLAGS so it is not upstreamable.
Please change the patch to use the standard $CFLAGS environment variable, and
then submit this upstream and add a link in the spec to where you have
submitted it. (You will of course have to adjust the spec to pass make
CFLAGS="$RPM_OPT_FLAGS" as well.)


Generated by fedora-review 0.1.3
External plugins:

Comment 3 Dan Callaghan 2012-07-01 02:32:46 UTC
(In reply to comment #2)
> [x]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm
> -q
>      --requires).
> /usr/bin/jj is overlinked:
> 
>     $ ldd -u -r /usr/bin/jj
>     Unused direct dependencies:
>         /lib64/libidn.so.11
> 
> however in this case it is loudmouth's fault (wrong pkgconfig Libs) so it is
> waived.

I filed bug 836761 against loudmouth for this.

Comment 4 Petr Šabata 2012-07-03 13:17:19 UTC
(In reply to comment #2)
> Issues:
> [!]: SHOULD Patches link to upstream bugs/comments/lists or are otherwise
>      justified.
> 
> The jj-1-optflags.patch references $RPM_OPT_FLAGS so it is not upstreamable.
> Please change the patch to use the standard $CFLAGS environment variable, and
> then submit this upstream and add a link in the spec to where you have
> submitted it. (You will of course have to adjust the spec to pass make
> CFLAGS="$RPM_OPT_FLAGS" as well.)

Thanks for the comments.
The updated package is here:
http://psabata.fedorapeople.org/pkgs/jj/jj.spec
http://psabata.fedorapeople.org/pkgs/jj/jj-1-2.fc16.src.rpm
And here's the upstream Github pull request:
https://github.com/Petteri/jj/pull/2

Comment 5 Dan Callaghan 2012-07-03 22:37:42 UTC
Looks good, Petr!

This package is APPROVED.

Comment 6 Petr Šabata 2012-07-10 13:41:46 UTC
(In reply to comment #5)
> Looks good, Petr!
> 
> This package is APPROVED.

Thanks, Dan!

Comment 7 Petr Šabata 2012-07-10 13:42:31 UTC
New Package SCM Request
=======================
Package Name: jj
Short Description: A FIFO and file-system based Jabber/XMPP client
Owners: psabata
Branches: f16 f17
InitialCC:

Comment 8 Kevin Fenzi 2012-07-10 22:34:53 UTC
Git done (by process-git-requests).

Comment 9 Fedora Update System 2012-07-11 08:24:52 UTC
jj-1-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/jj-1-2.fc17

Comment 10 Fedora Update System 2012-07-11 08:25:32 UTC
jj-1-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/jj-1-2.fc16

Comment 11 Petr Šabata 2012-07-11 08:25:52 UTC
Thanks, guys :)

Comment 12 Fedora Update System 2012-07-11 23:49:06 UTC
jj-1-2.fc17 has been pushed to the Fedora 17 testing repository.

Comment 13 Fedora Update System 2012-07-20 01:55:54 UTC
jj-1-2.fc16 has been pushed to the Fedora 16 stable repository.

Comment 14 Fedora Update System 2012-07-20 01:57:07 UTC
jj-1-2.fc17 has been pushed to the Fedora 17 stable repository.


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