[Bug 960771] Review Request: polkit-pkla-compat - polkit rules for compatibility with pklocalauthority

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

 



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

--- Comment #5 from Alex G. <mr.nuke.me@xxxxxxxxx> ---

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

Status: NEEDSWORK

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


[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "Apache (v2.0)", "GPL (v2 or later)", "LGPL (v2 or later) (with incorrect
     FSF address)". 3 files have unknown license. Detailed output of
     licensecheck in /home/mrnuke/960771-polkit-pkla-compat/licensecheck.txt

> License:	LGPLv2+

The file identified as GPLv2 is ltmain.sh. That's part of the autotools build
system, so it's not a distributed with the binary rpm. The Apache licensed
files
are also just part of the testsuite, and not included in the binary rpm. Please
consider putting a comment above the License tag explaining this.

===== ISSUES =====

> polkit-pkla-compat.x86_64: W: spelling-error Summary(en_US) pklocalauthority -> authoritarianism
False positive. Spelling OK.

> polkit-pkla-compat.x86_64: W: summary-not-capitalized C polkit rules for compatibility with pklocalauthority
"Rules for polkit compatibility with pklocalauthority"
"Legacy polkit rules for compatibility with pklocalauthority"
would silence this one.

> polkit-pkla-compat.x86_64: W: non-standard-gid /var/lib/polkit-1 polkitd
> polkit-pkla-compat.x86_64: W: non-standard-gid /etc/polkit-1/localauthority polkitd
> %dir %attr(0750,root,polkitd) %dir %{_sysconfdir}/polkit-1/localauthority
> %dir %attr(0750,root,polkitd) %{_localstatedir}/lib/polkit-1
Did you mean polkituser?

> polkit-pkla-compat.x86_64: E: non-standard-dir-perm /var/lib/polkit-1 0750L
> polkit-pkla-compat.x86_64: E: non-standard-dir-perm /etc/polkit-1/localauthority 0750L
As rpmlint explains, "A standard directory should have permission set to 0755."

> polkit-pkla-compat.x86_64: E: incorrect-fsf-address /usr/share/doc/polkit-pkla-compat-0.1/COPYING
This file contains an older address for FSF. Please contact upstream to fix
this, but do NOT patch the license file yourself.


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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[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.
[x]: Package is not known to require ExcludeArch.
[ ]: 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:
     "Apache (v2.0)", "GPL (v2 or later)", "LGPL (v2 or later) (with incorrect
     FSF address)". 3 files have unknown license. Detailed output of
     licensecheck in /home/mrnuke/960771-polkit-pkla-compat/licensecheck.txt
[x]: Package consistently uses macro is (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]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[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]: Useful -debuginfo package or justification otherwise.
[x]: Large documentation must go in a -doc subpackage.
     Note: Documentation size is 40960 bytes in 4 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]: %config files are marked noreplace or the reason is justified.
[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]: Fully versioned dependency in subpackages, if present.
[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]: No %config files under /usr.
[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:
[-]: 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).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: 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.
[x]: %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.
[x]: Spec use %global instead of %define.

===== 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: polkit-pkla-compat-0.1-1.fc20.x86_64.rpm
polkit-pkla-compat.x86_64: W: spelling-error Summary(en_US) pklocalauthority ->
authoritarianism
polkit-pkla-compat.x86_64: W: summary-not-capitalized C polkit rules for
compatibility with pklocalauthority
polkit-pkla-compat.x86_64: W: non-standard-gid /var/lib/polkit-1 polkitd
polkit-pkla-compat.x86_64: E: non-standard-dir-perm /var/lib/polkit-1 0750L
polkit-pkla-compat.x86_64: E: incorrect-fsf-address
/usr/share/doc/polkit-pkla-compat-0.1/COPYING
polkit-pkla-compat.x86_64: W: non-standard-gid /etc/polkit-1/localauthority
polkitd
polkit-pkla-compat.x86_64: E: non-standard-dir-perm
/etc/polkit-1/localauthority 0750L
1 packages and 0 specfiles checked; 3 errors, 4 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint polkit-pkla-compat
polkit-pkla-compat.x86_64: W: spelling-error Summary(en_US) pklocalauthority ->
authoritarianism
polkit-pkla-compat.x86_64: W: summary-not-capitalized C polkit rules for
compatibility with pklocalauthority
polkit-pkla-compat.x86_64: W: non-standard-gid /var/lib/polkit-1 polkitd
polkit-pkla-compat.x86_64: E: non-standard-dir-perm /var/lib/polkit-1 0750L
polkit-pkla-compat.x86_64: E: incorrect-fsf-address
/usr/share/doc/polkit-pkla-compat-0.1/COPYING
polkit-pkla-compat.x86_64: W: non-standard-gid /etc/polkit-1/localauthority
polkitd
polkit-pkla-compat.x86_64: E: non-standard-dir-perm
/etc/polkit-1/localauthority 0750L
1 packages and 0 specfiles checked; 3 errors, 4 warnings.
# echo 'rpmlint-done:'



Requires
--------
polkit-pkla-compat (rpmlib, GLIBC filtered):
    config(polkit-pkla-compat)
    libc.so.6()(64bit)
    libgio-2.0.so.0()(64bit)
    libglib-2.0.so.0()(64bit)
    libgobject-2.0.so.0()(64bit)
    libpolkit-gobject-1.so.0()(64bit)
    libpthread.so.0()(64bit)
    polkit
    rtld(GNU_HASH)



Provides
--------
polkit-pkla-compat:
    config(polkit-pkla-compat)
    polkit-pkla-compat
    polkit-pkla-compat(x86-64)



MD5-sum check
-------------
https://fedorahosted.org/releases/p/o/polkit-pkla-compat/polkit-pkla-compat-0.1.tar.xz
:
  CHECKSUM(SHA256) this package     :
cbf804dfc235b40f2f7ea694c37d577f1cb5d3042d53063de1753016a46c39af
  CHECKSUM(SHA256) upstream package :
cbf804dfc235b40f2f7ea694c37d577f1cb5d3042d53063de1753016a46c39af


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

-- 
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=nlCFs5rbvU&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]