[Bug 912152] Review Request: lua-event - This is a binding of libevent to Lua

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=912152

Greg Bailey <gbailey@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |gbailey@xxxxxxxxx
              Flags|                            |fedora-review?

--- Comment #3 from Greg Bailey <gbailey@xxxxxxxxx> ---
Things to address:


[!]: Package must own all directories that it creates.

This package creates the directory:

/usr/lib64/lua/5.1/luaevent

which is not owned by the RPM:

$ rpm -qf /usr/lib64/lua/5.1/luaevent
file /usr/lib64/lua/5.1/luaevent is not owned by any package


Other items:

The lua-event-doc RPM includes all documentation under the "html/"
subdirectory.  You might consider removing the "html/" level as it's the
only element in there.  i.e. lua-event-doc could contain:

/usr/share/doc/lua-event-doc-0.4.3/api.html

instead of:

/usr/share/doc/lua-event-doc-0.4.3/html/api.html


The build on EPEL doesn't include any documentation, either in the base
"lua-event" nor the "lua-event-doc" RPM.  It could be helpful to at least
include the markdown documentation for EPEL builds by having something like:

%doc CHANGELOG README doc/*

(You could have the markdown stuff included as %doc in the base RPM for both
EPEL and Fedora builds, and just leave the ikiwiki generated HTML stuff for the
-doc package)


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

Key:
[x] = Pass
[!] = Fail
[-] = Not applicable
[?] = Not evaluated
[ ] = Manual review needed



===== MUST items =====

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[ ]: Development (unversioned) .so files in -devel subpackage, if present.
     Note: Unversioned so-files in private %_libdir subdirectory (see
     attachment). Verify they are not in ld path.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package requires other packages for directories it uses.
[x]: Package uses nothing in %doc for runtime.
[ ]: Package is not known to require ExcludeArch.
[ ]: Fully versioned dependency in subpackages, if present.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in lua-event-
     doc
[ ]: Package complies to the Packaging Guidelines
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "Unknown or generated". 1 files have unknown license. Detailed output of
     licensecheck in /home/gbailey/912152-lua-event/licensecheck.txt
[ ]: License file installed when any subpackage combination is installed.
[ ]: Package consistently uses macro is (instead of hard-coded directory
     names).
[ ]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[!]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[ ]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[-]: Useful -debuginfo package or justification otherwise.
[ ]: Large documentation must go in a -doc subpackage.
     Note: Documentation size is 40960 bytes in 3 files.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Each %files section contains %defattr if rpm < 4.4
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Spec file lacks Packager, Vendor, PreReq tags.
[x]: 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]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).

===== SHOULD items =====

Generic:
[!]: Spec use %global instead of %define.
     Note: %define luaver 5.1 %define lualibdir %{_libdir}/lua/%{luaver}
     %define luapkgdir %{_datadir}/lua/%{luaver}
[-]: If the source package does not include license text(s) as a separate file
     from upstream, the packager SHOULD query upstream to include it.
[ ]: Final provides and requires are sane (see attachments).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[ ]: Patches link to upstream bugs/comments/lists or are otherwise justified.
[ ]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[?]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: Dist tag is present.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Uses parallel make.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX is a working URL.

===== EXTRA items =====

Generic:
[x]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: lua-event-0.4.3-1.fc18.x86_64.rpm
          lua-event-doc-0.4.3-1.fc18.x86_64.rpm
lua-event.x86_64: W: spelling-error Summary(en_US) libevent -> lib event,
lib-event, benevolent
lua-event.x86_64: W: spelling-error %description -l en_US libevent -> lib
event, lib-event, benevolent
2 packages and 0 specfiles checked; 0 errors, 2 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint lua-event lua-event-doc
lua-event.x86_64: W: spelling-error Summary(en_US) libevent -> lib event,
lib-event, benevolent
lua-event.x86_64: W: spelling-error %description -l en_US libevent -> lib
event, lib-event, benevolent
2 packages and 0 specfiles checked; 0 errors, 2 warnings.
# echo 'rpmlint-done:'



Requires
--------
lua-event (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    libevent-2.0.so.5()(64bit)
    lua(abi)
    lua-socket
    rtld(GNU_HASH)

lua-event-doc (rpmlib, GLIBC filtered):



Provides
--------
lua-event:
    core.so()(64bit)
    lua-event
    lua-event(x86-64)

lua-event-doc:
    lua-event-doc
    lua-event-doc(x86-64)



Unversioned so-files
--------------------
lua-event: /usr/lib64/lua/5.1/luaevent/core.so

MD5-sum check
-------------
https://github.com/harningt/luaevent/archive/v0.4.3.tar.gz :
  CHECKSUM(SHA256) this package     :
9a3ea7671caa95af2763a7125818991b3742168db75b3025d04af5241349d9c5
  CHECKSUM(SHA256) upstream package :
9a3ea7671caa95af2763a7125818991b3742168db75b3025d04af5241349d9c5


Generated by fedora-review 0.4.0 (660ce56) last change: 2013-01-29
Buildroot used: fedora-18-x86_64
Command line :/usr/bin/fedora-review -b 912152

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=YVcWZExaY1&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]