[Bug 1022317] Review Request: mingw-hidapi - Library for communicating with USB and Bluetooth HID devices

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 5 09:15:23 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=1022317

František Dvořák <valtri at civ.zcu.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|fedora-review?              |fedora-review+



--- Comment #3 from František Dvořák <valtri at civ.zcu.cz> ---
(In reply to Scott Talbert from comment #2)
> > - just a tip: the %{summary} macro could be used in mingw32-hidapi and
> > mingw64-hidapi subpackages
> 
> What does the summary macro do?  (I could not find any documentation on it.)
> Enable you to just repeat the summary line from above to avoid having
> duplicate information?
> 

Yes, exactly. It contains the Summary tag content from the "main" package.

> Thanks for the feedback.
> 
> New SPEC: http://www.techie.net/~talbert/hidapi/mingw-hidapi.spec
> NEW SRPM:
> http://www.techie.net/~talbert/hidapi/mingw-hidapi-0.7.0-2.a88c724.fc19.src.
> rpm

Package APPROVED.

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

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated

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

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]: License field in the package spec file matches the actual license.
[x]: License file installed when any subpackage combination is installed.
[-]: If the package is under multiple licenses, the licensing breakdown must
     be documented in the spec.
[x]: Package must own all directories that it creates.
[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 uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory names).
[x]: 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.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 122880 bytes in 12 files.
[x]: Package complies to the Packaging Guidelines
[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).
[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 requires other packages for directories it uses.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[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]: 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

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

Generic:
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Uses parallel make %{?_smp_mflags} macro.
[-]: 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]: Final provides and requires are sane (see attachments).
[x]: Fully versioned dependency in subpackages if applicable.
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: The placement of pkgconfig(.pc) files are correct.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: 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 (not strictly required in GL).
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

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

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


Rpmlint
-------
Checking: mingw32-hidapi-0.7.0-2.a88c724.fc21.noarch.rpm
          mingw32-hidapi-static-0.7.0-2.a88c724.fc21.noarch.rpm
          mingw64-hidapi-0.7.0-2.a88c724.fc21.noarch.rpm
          mingw64-hidapi-static-0.7.0-2.a88c724.fc21.noarch.rpm
          mingw-hidapi-0.7.0-2.a88c724.fc21.src.rpm
mingw32-hidapi.noarch: W: spelling-error %description -l en_US multi -> mulch,
mufti
mingw32-hidapi.noarch: W: spelling-error %description -l en_US hidraw -> hi
draw, hi-draw, hid raw
mingw32-hidapi.noarch: W: spelling-error %description -l en_US libusb ->
libelous
mingw32-hidapi-static.noarch: W: no-documentation
mingw64-hidapi.noarch: W: spelling-error %description -l en_US multi -> mulch,
mufti
mingw64-hidapi.noarch: W: spelling-error %description -l en_US hidraw -> hi
draw, hi-draw, hid raw
mingw64-hidapi.noarch: W: spelling-error %description -l en_US libusb ->
libelous
mingw64-hidapi-static.noarch: W: no-documentation
mingw-hidapi.src: W: spelling-error %description -l en_US multi -> mulch, mufti
mingw-hidapi.src: W: spelling-error %description -l en_US hidraw -> hi draw,
hi-draw, hid raw
mingw-hidapi.src: W: spelling-error %description -l en_US libusb -> libelous
5 packages and 0 specfiles checked; 0 errors, 11 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint mingw64-hidapi-static mingw32-hidapi-static mingw32-hid 
api mingw64-hidapi
mingw64-hidapi-static.noarch: W: no-documentation
mingw32-hidapi-static.noarch: W: no-documentation
mingw32-hidapi.noarch: W: spelling-error %description -l en_US multi -> mulch,
mufti
mingw32-hidapi.noarch: W: spelling-error %description -l en_US hidraw -> hi
draw, hi-draw, hid raw
mingw32-hidapi.noarch: W: spelling-error %description -l en_US libusb ->
libelous
mingw64-hidapi.noarch: W: spelling-error %description -l en_US multi -> mulch,
mufti
mingw64-hidapi.noarch: W: spelling-error %description -l en_US hidraw -> hi
draw, hi-draw, hid raw
mingw64-hidapi.noarch: W: spelling-error %description -l en_US libusb ->
libelous
4 packages and 0 specfiles checked; 0 errors, 8 warnings.
# echo 'rpmlint-done:'



Requires
--------
mingw64-hidapi-static (rpmlib, GLIBC filtered):
    mingw64-hidapi

mingw32-hidapi-static (rpmlib, GLIBC filtered):
    mingw32-hidapi

mingw32-hidapi (rpmlib, GLIBC filtered):
    mingw32(kernel32.dll)
    mingw32(msvcrt.dll)
    mingw32(setupapi.dll)
    mingw32-crt
    mingw32-filesystem
    mingw32-pkg-config

mingw64-hidapi (rpmlib, GLIBC filtered):
    mingw64(kernel32.dll)
    mingw64(msvcrt.dll)
    mingw64(setupapi.dll)
    mingw64-crt
    mingw64-filesystem
    mingw64-pkg-config



Provides
--------
mingw64-hidapi-static:
    mingw64-hidapi-static

mingw32-hidapi-static:
    mingw32-hidapi-static

mingw32-hidapi:
    mingw32(libhidapi-0.dll)
    mingw32-hidapi

mingw64-hidapi:
    mingw64(libhidapi-0.dll)
    mingw64-hidapi



Source checksums
----------------
https://github.com/signal11/hidapi/archive/a88c7244d632ed238b829968be9b765605b53c34/hidapi-0.7.0-a88c724.tar.gz
:
  CHECKSUM(SHA256) this package     :
be735b21aa9482a8dacea1004998cdf858717a25d751bb29a7027d0798213c3e
  CHECKSUM(SHA256) upstream package :
be735b21aa9482a8dacea1004998cdf858717a25d751bb29a7027d0798213c3e


Generated by fedora-review 0.5.0 (920221d) last change: 2013-08-30
Command line :/usr/bin/fedora-review -b 1022317 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, Python, SugarActivity, Perl, R, PHP, Ruby
Disabled flags: EPEL5, EXARCH, DISTTAG

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component


More information about the package-review mailing list