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



--- Comment #2 from William Moreno <williamjmore...@gmail.com> ---
Package Review
==============

Issues:
=======
- Package installs properly.
  Note: Installation errors (see attachment)
  See: https://fedoraproject.org/wiki/Packaging:Guidelines

- The spec from the url is not the same of the src.rpm.

- You should own these directories:
[!]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/share/lxqt/translations/lxqt-sudo
[!]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/share/lxqt/translations
     /lxqt-sudo

===== MUST items =====
C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Header files in -devel subpackage, if present.
[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]: License field in the package spec file matches the actual license.
[x]: License file installed when any subpackage combination is installed.
[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 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.
[x]: 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]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of 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]: 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 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]: 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.
[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]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[x]: 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]: 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]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====
Generic:
[!]: Rpmlint is run on all installed packages.
     Note: Mock build failed
     See: http://fedoraproject.org/wiki/Packaging/Guidelines#rpmlint
[!]: Spec file according to URL is the same as in SRPM.
     Note: Spec file as given by url is not the same as in SRPM (see
     attached diff).
     See: (this test has no URL)
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.

Installation errors
-------------------
INFO: mock.py version 1.2.14 starting (python version = 3.5.1)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled dnf cache
Start: cleaning dnf metadata
Finish: cleaning dnf metadata
INFO: enabled ccache
Mock Version: 1.2.14
INFO: Mock Version: 1.2.14
Finish: chroot init
INFO: installing package(s):
/home/wmoreno/1293156-lxqt-sudo/results/lxqt-sudo-0.10.0-1.fc24.x86_64.rpm
/home/wmoreno/1293156-lxqt-sudo/results/lxqt-sudo-debuginfo-0.10.0-1.fc24.x86_64.rpm
/home/wmoreno/1293156-lxqt-sudo/results/lxqt-sudo-debuginfo-0.10.0-1.fc24.x86_64.rpm
ERROR: Command failed. See logs for output.
 # /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/
--releasever 24 --setopt=deltarpm=false install
/home/wmoreno/1293156-lxqt-sudo/results/lxqt-sudo-0.10.0-1.fc24.x86_64.rpm
/home/wmoreno/1293156-lxqt-sudo/results/lxqt-sudo-debuginfo-0.10.0-1.fc24.x86_64.rpm
/home/wmoreno/1293156-lxqt-sudo/results/lxqt-sudo-debuginfo-0.10.0-1.fc24.x86_64.rpm
--setopt=tsflags=nocontexts


Rpmlint
-------
Checking: lxqt-sudo-0.10.0-1.fc24.x86_64.rpm
          lxqt-sudo-debuginfo-0.10.0-1.fc24.x86_64.rpm
          lxqt-sudo-0.10.0-1.fc24.src.rpm
lxqt-sudo.x86_64: W: spelling-error Summary(en_US) frontend -> fronted, front
end, front-end
lxqt-sudo.x86_64: W: spelling-error Summary(en_US) su -> sew, us, s
lxqt-sudo.x86_64: W: spelling-error %description -l en_US frontend -> fronted,
front end, front-end
lxqt-sudo.x86_64: W: spelling-error %description -l en_US su -> sew, us, s
lxqt-sudo.src: W: spelling-error Summary(en_US) frontend -> fronted, front end,
front-end
lxqt-sudo.src: W: spelling-error Summary(en_US) su -> sew, us, s
lxqt-sudo.src: W: spelling-error %description -l en_US frontend -> fronted,
front end, front-end
lxqt-sudo.src: W: spelling-error %description -l en_US su -> sew, us, s
lxqt-sudo.src:14: W: macro-in-comment %{name}
lxqt-sudo.src: E: specfile-error warning: Macro expanded in comment on line 14:
#P.atch3:        
https://github.com/smart2128/%{name}/commit/af22cf7cb66ec85c618779d34ee9c3c80ad4cd9b.patch
lxqt-sudo.src: E: specfile-error 
3 packages and 0 specfiles checked; 2 errors, 9 warnings.

Diff spec file in url and in SRPM
---------------------------------
--- /home/wmoreno/1293156-lxqt-sudo/srpm/lxqt-sudo.spec    2016-01-08
13:47:46.692634694 -0600
+++ /home/wmoreno/1293156-lxqt-sudo/srpm-unpacked/lxqt-sudo.spec    2015-12-20
14:06:35.000000000 -0600
@@ -12,5 +12,5 @@
 Patch2:        
https://github.com/f2404/%{name}/commit/84a5377b7619490ee4a137b7b5af5be2c866bd1d.patch
 # italian translation update
-#Patch3:        
https://github.com/smart2128/%{name}/commit/af22cf7cb66ec85c618779d34ee9c3c80ad4cd9b.patch
+#P.atch3:        
https://github.com/smart2128/%{name}/commit/af22cf7cb66ec85c618779d34ee9c3c80ad4cd9b.patch
 # hr
 Patch4:        
https://github.com/zvacet/%{name}/commit/581081397e7732d6ad6bb99ff2c484e89e123ade.patch

Requires
--------
lxqt-sudo (rpmlib, GLIBC filtered):
    libKF5WindowSystem.so.5()(64bit)
    libQt5Core.so.5()(64bit)
    libQt5Core.so.5(Qt_5)(64bit)
    libQt5Core.so.5(Qt_5.6)(64bit)
    libQt5DBus.so.5()(64bit)
    libQt5Gui.so.5()(64bit)
    libQt5Gui.so.5(Qt_5)(64bit)
    libQt5Widgets.so.5()(64bit)
    libQt5Widgets.so.5(Qt_5)(64bit)
    libQt5X11Extras.so.5()(64bit)
    libQt5Xdg.so.1()(64bit)
    libQt5Xml.so.5()(64bit)
    libc.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    liblxqt.so.0()(64bit)
    libm.so.6()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    libutil.so.1()(64bit)
    rtld(GNU_HASH)
    sudo

lxqt-sudo-debuginfo (rpmlib, GLIBC filtered):

Provides
--------
lxqt-sudo:
    lxqt-sudo
    lxqt-sudo(x86-64)

lxqt-sudo-debuginfo:
    lxqt-sudo-debuginfo
    lxqt-sudo-debuginfo(x86-64)

Source checksums
----------------
https://github.com/lxde/lxqt-sudo/archive/0.10.0.tar.gz#/lxqt-sudo-0.10.0.tar.gz
:
  CHECKSUM(SHA256) this package     :
9c53838c36bef860dcbfec56a475057c7a1180c2aaa9843071dffbe2f07be99a
  CHECKSUM(SHA256) upstream package :
9c53838c36bef860dcbfec56a475057c7a1180c2aaa9843071dffbe2f07be99a

-- 
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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to