https://bugzilla.redhat.com/show_bug.cgi?id=1481645 Raphael Groner <projects.rg@xxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-review? --- Comment #6 from Raphael Groner <projects.rg@xxxxxxxx> --- Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed Issues: ======= - 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. Note: License file COPYING is not marked as %license See: http://fedoraproject.org/wiki/Packaging/LicensingGuidelines#License_Text => Fix needed. - gtk-update-icon-cache is invoked in %postun and %posttrans if package contains icons. Note: icons in python2-pyobd See: http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache => Ignore, false positive. - Group tags SHOULD get removed, they're obsolet. ===== 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. [!]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "GPL (v2 or later) (with incorrect FSF address)", "GPL (v2 or later)", "*No copyright* CC by-sa (v3.0)", "Unknown or generated", "*No copyright* GPL". 25 files have unknown license. Detailed output of licensecheck in /home/builder/fedora-review/1481645-python- pyobd/licensecheck.txt => Fix needed, see issue about COPYING file noted above. [!]: Package does not own files or directories owned by other packages. Note: Dirs in package are owned also by: /usr/share/icons/hicolor/scalable/apps(hicolor-icon-theme, fedora- logos), /usr/lib/python2.7/site-packages/pyobd(pyobd), /usr/share/icons/hicolor(hicolor-icon-theme, fedora-logos), /usr/share/icons/hicolor/scalable(hicolor-icon-theme, fedora-logos, lxqt-powermanagement) => Fix needed, Requires: hicolor-icon-theme [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [!]: Macros in Summary, %description expandable at SRPM build time. Note: Macros in: python2-pyobd (description) => Fix needed, use proper macro name. [-]: 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. => Must retire pyobd after python-pyobd is imported to repository. [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]: 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 30720 bytes in 2 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]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [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]: Package contains desktop file if it is a GUI application. [x]: Package installs a %{name}.desktop using desktop-file-install or desktop-file-validate if there is such a file. [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 Python: [x]: Python eggs must not download any dependencies during the build process. [x]: A package which is used by another package via an egg interface should provide egg info. [x]: Package meets the Packaging Guidelines::Python [x]: Package contains BR: python2-devel or python3-devel [x]: Binary eggs must be removed in %prep ===== 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. => Assuming correct funcitionality analogously to obsoleted pyobd package. [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. => Please explain more precisely what the patches are for and where from. [-]: 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. [!]: Packages should try to preserve timestamps of original installed files. => Fix needed. Please ensure -p used for all calls to both cp and install. [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]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: Sources can be downloaded from URI in Source: tag [x]: SourceX is a working URL. [x]: Spec use %global instead of %define unless justified. ===== EXTRA items ===== Generic: [!]: 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). => Fixes needed, see below. [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). Rpmlint ------- Checking: python2-pyobd-0.9.3-7.fc28.noarch.rpm python-pyobd-0.9.3-7.fc28.src.rpm python2-pyobd.noarch: W: spelling-error Summary(en_US) scantool -> scan tool, scan-tool, scantly python2-pyobd.noarch: W: unexpanded-macro %description -l C %{description} python2-pyobd.noarch: E: wrong-script-interpreter /usr/bin/pyobd /usr/bin/env python => s:python:%{__python2}:g python2-pyobd.noarch: E: incorrect-fsf-address /usr/bin/pyobd => Poke upstream and tell about new address. python2-pyobd.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/pyobd/debugEvent.py python2-pyobd.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/pyobd/obd2_codes.py python2-pyobd.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/pyobd/obd_io.py python2-pyobd.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/pyobd/obd_sensors.py python2-pyobd.noarch: E: incorrect-fsf-address /usr/share/doc/python2-pyobd/COPYING python2-pyobd.noarch: W: no-manual-page-for-binary pyobd python2-pyobd.noarch: W: desktopfile-without-binary /usr/share/applications/pyobd.desktop python python-pyobd.src: W: spelling-error Summary(en_US) scantool -> scan tool, scan-tool, scantly python-pyobd.src: W: spelling-error %description -l en_US scantool -> scan tool, scan-tool, scantly 2 packages and 0 specfiles checked; 7 errors, 6 warnings. Rpmlint (installed packages) ---------------------------- python2-pyobd.noarch: W: spelling-error Summary(en_US) scantool -> scan tool, scan-tool, scantly python2-pyobd.noarch: W: unexpanded-macro %description -l C %{description} python2-pyobd.noarch: E: wrong-script-interpreter /usr/bin/pyobd /usr/bin/env python python2-pyobd.noarch: E: incorrect-fsf-address /usr/bin/pyobd python2-pyobd.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/pyobd/debugEvent.py python2-pyobd.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/pyobd/obd2_codes.py python2-pyobd.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/pyobd/obd_io.py python2-pyobd.noarch: E: incorrect-fsf-address /usr/lib/python2.7/site-packages/pyobd/obd_sensors.py python2-pyobd.noarch: E: incorrect-fsf-address /usr/share/doc/python2-pyobd/COPYING python2-pyobd.noarch: W: no-manual-page-for-binary pyobd 1 packages and 0 specfiles checked; 7 errors, 3 warnings. Diff spec file in url and in SRPM --------------------------------- --- /home/builder/fedora-review/1481645-python-pyobd/srpm/python-pyobd.spec 2017-09-20 02:08:29.072253087 +0200 +++ /home/builder/fedora-review/1481645-python-pyobd/srpm-unpacked/python-pyobd.spec 2017-08-15 12:16:25.000000000 +0200 @@ -52,6 +52,4 @@ # convert CR/LF to LF dos2unix pyobd.desktop -dos2unix debugEvent.py - # fix encoding settings sed -i '/Encoding=/ s|UTF8|UTF-8|' pyobd.desktop => Fix required, upload a spec file equals to srpm content. Requires -------- python2-pyobd (rpmlib, GLIBC filtered): /usr/bin/env python(abi) Provides -------- python2-pyobd: application() application(pyobd.desktop) pyobd python-pyobd python2-pyobd Source checksums ---------------- http://www.obdtester.com/download/pyobd_0.9.3.tar.gz : CHECKSUM(SHA256) this package : f3004db4000e2bc166aae3b4342c98aa62f74f3372c5829472af0ee56c5e110c CHECKSUM(SHA256) upstream package : f3004db4000e2bc166aae3b4342c98aa62f74f3372c5829472af0ee56c5e110c Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02 Command line :/usr/bin/fedora-review -v -m fedora-rawhide-x86_64 -b 1481645 Buildroot used: fedora-rawhide-x86_64 Active plugins: Python, Generic, Shell-api Disabled plugins: Java, C/C++, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP 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