Bug 1578103 - Review Request: python-hyperlink - A featureful, immutable, and correct URL for Python
Summary: Review Request: python-hyperlink - A featureful, immutable, and correct URL f...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-14 19:46 UTC by Robert-André Mauchin 🐧
Modified: 2018-06-22 15:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-22 14:09:15 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)

Description Robert-André Mauchin 🐧 2018-05-14 19:46:57 UTC
Spec URL: https://copr-be.cloud.fedoraproject.org/results/eclipseo/python-twisted/fedora-rawhide-x86_64/00753925-python-hyperlink/python-hyperlink.spec
SRPM URL: https://copr-be.cloud.fedoraproject.org/results/eclipseo/python-twisted/fedora-rawhide-x86_64/00753925-python-hyperlink/python-hyperlink-18.0.0-1.fc29.src.rpm

Description:
The humble, but powerful, URL runs everything around us. Chances are you've
used several just to read this text. Hyperlink is a featureful, pure-Python
implementation of the URL, with an emphasis on correctness.

Fedora Account System Username: eclipseo

Comment 2 Fabio Valentini 2018-06-05 19:08:24 UTC
Taking over this review as per Robert-André's request.


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

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


===== ISSUES =========

- Package bundles fonts: "/usr/share/doc/%{name}/html/_static/fonts/":
  - fontawesome-4.7.0
  - Inconsolata
  - Lato
  - RobotoSlab

- Package bundles JavaScript libraries: "/usr/share/doc/%{name}/html/_static/":
  - jquery-3.2.1
  - underscore-1.3.1
  - modernizr-2.6.2 

- Some shipped JavaScript code is BSD-licensed, not MIT-licensed.


 -> Un-bundle the fonts and JavaScript libraries (remove the vendored ones and
    replace them with symlinks to fedora-packaged versions), if possible.

 -> Update the License tag to also reflect any left-over bundled BSD-licensed
    code.

 -> Easiest solution: Don't build and ship offline documentation.


===== 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.
[x]: License file installed when any subpackage combination is installed.
[!]: 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.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[-]: 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.
[ ]: 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 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:
[!]: 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.
[x]: Final provides and requires are sane (see attachments).
[-]: 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.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, 7 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>
3 packages and 0 specfiles checked; 0 errors, 8 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

Comment 4 Fabio Valentini 2018-06-06 15:35:27 UTC
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

Comment 5 Robert-André Mauchin 🐧 2018-06-06 20:25:40 UTC
(In reply to Fabio Valentini from comment #4)
> ISSUES
> ======
> 
> 1) The "%package -n python-%{pypi_name}-doc" can just be "%package doc". Same
>    goes for "%description" and %files" stanzas.
> 

Ok.


> 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
> 

Ooops you're right.


> 3) Since you're bundling inconsolata, you'll also need to add this to the
> "-doc"
>    subpackage:
> 
> Provides:       bundled(levien-inconsolata-fonts)

Ok.

> 
> 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.
> 

I actually did send a PR to update Inconsolata but the maintainer is Kevin Fenzi and he is a very busy man.
https://src.fedoraproject.org/rpms/levien-inconsolata-fonts/pull-request/1

> 
> With those 3 issues fixed, I'll approve the package. (Detailed review below.)
> 

Spec URL: https://copr-be.cloud.fedoraproject.org/results/eclipseo/python-twisted/fedora-rawhide-x86_64/00763687-python-hyperlink/python-hyperlink.spec
SRPM URL: https://copr-be.cloud.fedoraproject.org/results/eclipseo/python-twisted/fedora-rawhide-x86_64/00763687-python-hyperlink/python-hyperlink-18.0.0-1.fc29.src.rpm

Comment 6 Fabio Valentini 2018-06-06 21:02:15 UTC
> I actually did send a PR to update Inconsolata but the maintainer is Kevin Fenzi and he is a very busy man.

Good! So once the inconsolata package is updated (whenever that may be), you can unbundle that font, too.


Typo alarm:
-----------

You made a small mistake when you "refactored" the -doc subpackage (you missed to drop the -n flag), so the doc (sub)package is now really named only "doc" - which is probably not what you wanted

You can just drop the "-n" flag for the "doc" subpackage in the %package, %description, and %files stanzas before importing the package - I won't block the review on that.


Otherwise:
Package approved

Comment 7 Gwyn Ciesla 2018-06-06 22:31:40 UTC
(fedrepo-req-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/python-hyperlink

Comment 8 Fedora Update System 2018-06-07 15:21:19 UTC
python-hyperlink-18.0.0-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5251a80496

Comment 9 Fedora Update System 2018-06-07 15:27:18 UTC
python-hyperlink-18.0.0-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5ad25743b1

Comment 10 Fedora Update System 2018-06-08 12:58:47 UTC
python-hyperlink-18.0.0-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5251a80496

Comment 11 Fedora Update System 2018-06-08 19:47:48 UTC
python-hyperlink-18.0.0-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5ad25743b1

Comment 12 Fedora Update System 2018-06-22 14:09:15 UTC
python-hyperlink-18.0.0-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2018-06-22 15:04:32 UTC
python-hyperlink-18.0.0-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.