https://bugzilla.redhat.com/show_bug.cgi?id=1578103 --- Comment #4 from Fabio Valentini <decathorpe@xxxxxxxxx> --- ISSUES ====== 1) The "%package -n python-%{pypi_name}-doc" can just be "%package doc". Same goes for "%description" and %files" stanzas. 2) You'll also need to add these to the "-doc" subpackage, otherwise the installed package will only have broken symlinks (see rpmlint messages): Requires: fontawesome-fonts Requires: fontawesome-fonts-web Requires: lato-fonts Requires: google-roboto-slab-fonts Requires: js-underscore Requires: js-jquery 3) Since you're bundling inconsolata, you'll also need to add this to the "-doc" subpackage: Provides: bundled(levien-inconsolata-fonts) It would be nice if you could ping the maintainer of the inconsolata fonts in fedora to update the package so you could unbundle those in a future version of this package, but that's probably out of the scope of this review. With those 3 issues fixed, I'll approve the package. (Detailed review below.) Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed ===== 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. Note: Checking patched sources after %prep for licenses. Licenses [x]: License file installed when any subpackage combination is installed. [x]: If the package is under multiple licenses, the licensing breakdown must be documented in the spec. [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. [!]: 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. [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]: Package installs properly. [x]: Rpmlint is run on all rpms the build produces. [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 must own all directories that it creates. [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 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: [x]: Avoid bundling fonts in non-fonts packages. [-]: 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). [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. [-]: 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]: 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: [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: python2-hyperlink-18.0.0-1.fc29.noarch.rpm python3-hyperlink-18.0.0-1.fc29.noarch.rpm python-hyperlink-doc-18.0.0-1.fc29.noarch.rpm python-hyperlink-18.0.0-1.fc29.src.rpm python2-hyperlink.noarch: W: spelling-error Summary(en_US) featureful -> feature python2-hyperlink.noarch: W: spelling-error %description -l en_US featureful -> feature python3-hyperlink.noarch: W: spelling-error Summary(en_US) featureful -> feature python3-hyperlink.noarch: W: spelling-error %description -l en_US featureful -> feature python-hyperlink-doc.noarch: W: spelling-error %description -l en_US featureful -> feature python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/Lato-Bold.ttf /usr/share/fonts/lato/Lato-Bold.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/Lato-BoldItalic.ttf /usr/share/fonts/lato/Lato-BoldItalic.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/Lato-Italic.ttf /usr/share/fonts/lato/Lato-Italic.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/Lato-Regular.ttf /usr/share/fonts/lato/Lato-Regular.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/RobotoSlab-Bold.ttf /usr/share/fonts/google-roboto-slab/RobotoSlab-Bold.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/RobotoSlab-Regular.ttf /usr/share/fonts/google-roboto-slab/RobotoSlab-Regular.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/fontawesome-webfont.eot /usr/share/fonts/fontawesome/fontawesome-webfont.eot python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/fontawesome-webfont.svg /usr/share/fonts/fontawesome/fontawesome-webfont.svg python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/fontawesome-webfont.ttf /usr/share/fonts/fontawesome/fontawesome-webfont.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/fontawesome-webfont.woff /usr/share/fonts/fontawesome/fontawesome-webfont.woff python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/fontawesome-webfont.woff2 /usr/share/fonts/fontawesome/fontawesome-webfont.woff2 python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/jquery-3.2.1.js /usr/share/javascript/jquery/3.2.1/jquery.js python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/jquery.js /usr/share/javascript/jquery/3.2.1/jquery.min.js python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/underscore-1.3.1.js /usr/share/javascript/underscore/underscore.js python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/underscore.js /usr/share/javascript/underscore/underscore-min.js python-hyperlink.src: W: spelling-error Summary(en_US) featureful -> feature python-hyperlink.src: W: spelling-error %description -l en_US featureful -> feature 4 packages and 0 specfiles checked; 0 errors, 22 warnings. Rpmlint (installed packages) ---------------------------- python2-hyperlink.noarch: W: spelling-error Summary(en_US) featureful -> feature python2-hyperlink.noarch: W: spelling-error %description -l en_US featureful -> feature python2-hyperlink.noarch: W: invalid-url URL: https://github.com/python-hyper/hyperlink <urlopen error [Errno -2] Name or service not known> python3-hyperlink.noarch: W: spelling-error Summary(en_US) featureful -> feature python3-hyperlink.noarch: W: spelling-error %description -l en_US featureful -> feature python3-hyperlink.noarch: W: invalid-url URL: https://github.com/python-hyper/hyperlink <urlopen error [Errno -2] Name or service not known> python-hyperlink-doc.noarch: W: spelling-error %description -l en_US featureful -> feature python-hyperlink-doc.noarch: W: invalid-url URL: https://github.com/python-hyper/hyperlink <urlopen error [Errno -2] Name or service not known> python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/Lato-Bold.ttf /usr/share/fonts/lato/Lato-Bold.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/Lato-BoldItalic.ttf /usr/share/fonts/lato/Lato-BoldItalic.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/Lato-Italic.ttf /usr/share/fonts/lato/Lato-Italic.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/Lato-Regular.ttf /usr/share/fonts/lato/Lato-Regular.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/RobotoSlab-Bold.ttf /usr/share/fonts/google-roboto-slab/RobotoSlab-Bold.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/RobotoSlab-Regular.ttf /usr/share/fonts/google-roboto-slab/RobotoSlab-Regular.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/fontawesome-webfont.eot /usr/share/fonts/fontawesome/fontawesome-webfont.eot python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/fontawesome-webfont.svg /usr/share/fonts/fontawesome/fontawesome-webfont.svg python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/fontawesome-webfont.ttf /usr/share/fonts/fontawesome/fontawesome-webfont.ttf python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/fontawesome-webfont.woff /usr/share/fonts/fontawesome/fontawesome-webfont.woff python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/fonts/fontawesome-webfont.woff2 /usr/share/fonts/fontawesome/fontawesome-webfont.woff2 python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/jquery-3.2.1.js /usr/share/javascript/jquery/3.2.1/jquery.js python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/jquery.js /usr/share/javascript/jquery/3.2.1/jquery.min.js python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/underscore-1.3.1.js /usr/share/javascript/underscore/underscore.js python-hyperlink-doc.noarch: W: dangling-symlink /usr/share/doc/python-hyperlink-doc/html/_static/underscore.js /usr/share/javascript/underscore/underscore-min.js 3 packages and 0 specfiles checked; 0 errors, 23 warnings. Requires -------- python2-hyperlink (rpmlib, GLIBC filtered): python(abi) python2.7dist(idna) python3-hyperlink (rpmlib, GLIBC filtered): python(abi) python3.6dist(idna) python-hyperlink-doc (rpmlib, GLIBC filtered): Provides -------- python2-hyperlink: python-hyperlink python2-hyperlink python2.7dist(hyperlink) python2dist(hyperlink) python3-hyperlink: python3-hyperlink python3.6dist(hyperlink) python3dist(hyperlink) python-hyperlink-doc: python-hyperlink-doc Source checksums ---------------- https://files.pythonhosted.org/packages/source/h/hyperlink/hyperlink-18.0.0.tar.gz : CHECKSUM(SHA256) this package : f01b4ff744f14bc5d0a22a6b9f1525ab7d6312cb0ff967f59414bbac52f0a306 CHECKSUM(SHA256) upstream package : f01b4ff744f14bc5d0a22a6b9f1525ab7d6312cb0ff967f59414bbac52f0a306 Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02 Command line :/usr/bin/fedora-review -m fedora-rawhide-x86_64 -b 1578103 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 Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx/message/TWZIFIRJ5U2KRAYFPUVM7N4PK7TGXGWY/