[Bug 1369708] Review Request: tpm2-tss - TPM2.0 Software Stack

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

 



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



--- Comment #50 from Yunying Sun <yunying.sun@xxxxxxxxx> ---
(running fedora-review on this package myself)

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

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


Issues:
=======
- All build dependencies are listed in BuildRequires, except for any that
  are listed in the exceptions section of Packaging Guidelines.
  Note: These BR are not needed: gcc gcc-c++
  See: http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions_2


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

C/C++:
[ ]: Package does not contain kernel modules.
[ ]: Package contains no static executables.
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig called in %post and %postun if required.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.
[x]: Development (unversioned) .so files in -devel subpackage, if present.

Generic:
[ ]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[ ]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "BSD (2 clause)", "Unknown or generated". 23 files have unknown
     license. Detailed output of licensecheck in
     /home/test/yunyings/rpmreview/1369708_tpm2-tss/review-
     tpm2-tss/licensecheck.txt
[ ]: 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.
[ ]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr, /usr/include,
     /usr/lib64, /usr/share/licenses, /usr/lib64/pkgconfig, /usr/share,
     /usr/sbin, /usr/share/doc
[ ]: %build honors applicable compiler flags or justifies otherwise.
[ ]: Package contains no bundled libraries without FPC exception.
[ ]: Changelog in prescribed format.
[ ]: 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
[ ]: Package uses nothing in %doc for runtime.
[ ]: Package consistently uses macros (instead of hard-coded directory
     names).
[ ]: Package is named according to the Package Naming Guidelines.
[ ]: Package does not generate any conflict.
[ ]: Package obeys FHS, except libexecdir and /usr/target.
[ ]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[ ]: Requires correct, justified where necessary.
[ ]: Spec file is legible and written in American English.
[ ]: Package contains systemd file(s) if in need.
[ ]: Useful -debuginfo package or justification otherwise.
[ ]: 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 40960 bytes in 2 files.
[ ]: 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 %license.
[x]: Package requires other packages for directories it uses.
[x]: Package does not own files or directories owned by other packages.
[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]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[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 does not use a name that already exists.
[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:
[ ]: 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).
[ ]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in tpm2
     -tss-devel
[ ]: Package functions as described.
[ ]: Latest version is packaged.
[ ]: Package does not include license text files separate from upstream.
[ ]: Scriptlets must be sane, if used.
[ ]: 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.
[ ]: Packages should try to preserve timestamps of original installed
     files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[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]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

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

Generic:
[x]: Rpmlint is run on debuginfo package(s).
     Note: There are rpmlint messages (see attachment).
[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: tpm2-tss-1.0-1.el7.centos.x86_64.rpm
          tpm2-tss-devel-1.0-1.el7.centos.x86_64.rpm
          tpm2-tss-1.0-1.el7.centos.src.rpm
tpm2-tss.x86_64: W: incoherent-version-in-changelog 1.0-1 ['1.0-1.el7.centos',
'1.0-1.centos']
tpm2-tss.x86_64: W: invalid-license TCGL
tpm2-tss.x86_64: W: no-manual-page-for-binary resourcemgr
tpm2-tss-devel.x86_64: W: invalid-license TCGL
tpm2-tss-devel.x86_64: W: no-documentation
tpm2-tss.src: W: invalid-license TCGL
tpm2-tss.src: W: strange-permission tpm2-tss.spec 0775L
tpm2-tss.src:6: W: mixed-use-of-spaces-and-tabs (spaces: line 1, tab: line 6)
3 packages and 0 specfiles checked; 0 errors, 8 warnings.




Rpmlint (debuginfo)
-------------------
Checking: tpm2-tss-debuginfo-1.0-1.el7.centos.x86_64.rpm
tpm2-tss-debuginfo.x86_64: W: invalid-license TCGL
1 packages and 0 specfiles checked; 0 errors, 1 warnings.





Rpmlint (installed packages)
----------------------------
tpm2-tss.x86_64: W: incoherent-version-in-changelog 1.0-1 ['1.0-1.el7.centos',
'1.0-1.centos']
tpm2-tss.x86_64: W: invalid-license TCGL
tpm2-tss.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libtcti-socket.so.0.0.0 /lib64/libstdc++.so.6
tpm2-tss.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libtcti-socket.so.0.0.0 /lib64/libm.so.6
tpm2-tss.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libtcti-socket.so.0.0.0 /lib64/libgcc_s.so.1
tpm2-tss.x86_64: W: no-manual-page-for-binary resourcemgr
tpm2-tss-debuginfo.x86_64: W: invalid-license TCGL
tpm2-tss-debuginfo.x86_64: W: only-non-binary-in-usr-lib
tpm2-tss-devel.x86_64: W: invalid-license TCGL
tpm2-tss-devel.x86_64: W: no-documentation
3 packages and 0 specfiles checked; 0 errors, 10 warnings.



Requires
--------
tpm2-tss (rpmlib, GLIBC filtered):
    /sbin/ldconfig
    libc.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libm.so.6()(64bit)
    libpthread.so.0()(64bit)
    libsapi.so.0()(64bit)
    libstdc++.so.6()(64bit)
    libtcti-device.so.0()(64bit)
    libtcti-socket.so.0()(64bit)
    rtld(GNU_HASH)

tpm2-tss-devel (rpmlib, GLIBC filtered):
    /usr/bin/pkg-config
    libsapi.so.0()(64bit)
    libtcti-device.so.0()(64bit)
    libtcti-socket.so.0()(64bit)
    pkgconfig(sapi)
    tpm2-tss(x86-64)



Provides
--------
tpm2-tss:
    libsapi.so.0()(64bit)
    libtcti-device.so.0()(64bit)
    libtcti-socket.so.0()(64bit)
    tpm2-tss
    tpm2-tss(x86-64)

tpm2-tss-devel:
    pkgconfig(sapi)
    pkgconfig(tcti-device)
    pkgconfig(tcti-socket)
    tpm2-tss-devel
    tpm2-tss-devel(x86-64)



Source checksums
----------------
https://github.com/01org/TPM2.0-TSS/archive/1.0.tar.gz#/TPM2.0-TSS-1.0.tar.gz :
  CHECKSUM(SHA256) this package     :
b5697cfe7f4fd44d6ae1ec03cddb6b44d5cf5cd13e134c7238049551d1615488
  CHECKSUM(SHA256) upstream package :
b5697cfe7f4fd44d6ae1ec03cddb6b44d5cf5cd13e134c7238049551d1615488


Generated by fedora-review 0.5.3 (bcf15e3) last change: 2015-05-04
Command line :/usr/bin/fedora-review -n tpm2-tss
Buildroot used: epel-7-x86_64
Active plugins: Generic, Shell-api, C/C++
Disabled plugins: Java, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R,
PHP, Ruby
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

-- 
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
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




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