Bug 1659282 - Review Request: python-string_utils - A python module containing utility functions for strings
Summary: Review Request: python-string_utils - A python module containing utility func...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alfredo Moralejo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1659286
TreeView+ depends on / blocked
 
Reported: 2018-12-14 01:33 UTC by jkim
Modified: 2019-01-29 13:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-29 13:56:11 UTC
Type: ---
Embargoed:
amoralej: fedora-review+


Attachments (Terms of Use)

Description jkim 2018-12-14 01:33:33 UTC
Spec URL: https://raw.githubusercontent.com/johnkim76/rpmbuild_files/master/SPECS/python-string_utils.spec
SRPM URL: https://github.com/johnkim76/rpmbuild_files/raw/master/SRPMS/python-string_utils-0.6.0-2.fc28.src.rpm
Description: A python module containing utility functions for strings
Fedora Account System Username: jkim

Comment 1 Fabio Valentini 2018-12-14 15:57:28 UTC
(just fixing expected review bug title)

Comment 2 Daniel Mellado 2018-12-19 10:59:33 UTC
Submitted Pull Request to fix permission issues upstream: https://github.com/daveoncode/python-string-utils/pull/4

Comment 3 Daniel Mellado 2018-12-19 12:19:42 UTC
(In reply to Daniel Mellado from comment #2)
> Submitted Pull Request to fix permission issues upstream:
> https://github.com/daveoncode/python-string-utils/pull/4

Also sent PR to fix spec and SRPM fedora-review violations:
https://github.com/johnkim76/rpmbuild_files/pull/2

Comment 4 jkim 2018-12-19 18:36:55 UTC
Daniel, thank you for the spec file fix, I've merged and the following are the new links

Spec URL: https://raw.githubusercontent.com/johnkim76/rpmbuild_files/master/SPECS/python-string_utils.spec
SRPM URL: https://github.com/johnkim76/rpmbuild_files/raw/master/SRPMS/python-string_utils-0.6.0-4.fc30.src.rpm

Comment 5 Alfredo Moralejo 2018-12-21 09:21:20 UTC
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
     found: "BSD (unspecified)", "Expat License", "Unknown or generated".
     50 files have unknown license. Detailed output of licensecheck in
     /tmp/1659282-python-string_utils/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[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.
[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 10240 bytes in 1 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]: 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.
     Note: Package contains font files
[-]: 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.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     python3-string_utils , python-string_utils-doc
[x]: 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: python3-string_utils-0.6.0-4.fc29.noarch.rpm
          python-string_utils-doc-0.6.0-4.fc29.noarch.rpm
          python-string_utils-0.6.0-4.fc29.src.rpm
python3-string_utils.noarch: W: spurious-executable-perm /usr/share/doc/python3-string_utils/README.md
python-string_utils-doc.noarch: W: summary-ended-with-dot C Documentation for python-string_utils.
python-string_utils-doc.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/python-string_utils-doc/html/objects.inv
python-string_utils-doc.noarch: W: file-not-utf8 /usr/share/doc/python-string_utils-doc/html/objects.inv
3 packages and 0 specfiles checked; 0 errors, 4 warnings.




Rpmlint (installed packages)
----------------------------
sh: /usr/bin/python: No such file or directory
python-string_utils-doc.noarch: W: summary-ended-with-dot C Documentation for python-string_utils.
python-string_utils-doc.noarch: W: invalid-url URL: https://github.com/daveoncode/python-string-utils <urlopen error [Errno -2] Name or service not known>
python-string_utils-doc.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/python-string_utils-doc/html/objects.inv
python-string_utils-doc.noarch: W: file-not-utf8 /usr/share/doc/python-string_utils-doc/html/objects.inv
python3-string_utils.noarch: W: invalid-url URL: https://github.com/daveoncode/python-string-utils <urlopen error [Errno -2] Name or service not known>
python3-string_utils.noarch: W: spurious-executable-perm /usr/share/doc/python3-string_utils/README.md
2 packages and 0 specfiles checked; 0 errors, 6 warnings.



Requires
--------
python-string_utils-doc (rpmlib, GLIBC filtered):

python3-string_utils (rpmlib, GLIBC filtered):
    python(abi)



Provides
--------
python-string_utils-doc:
    python-string_utils-doc

python3-string_utils:
    python3-string_utils
    python3.7dist(python-string-utils)
    python3dist(python-string-utils)



Source checksums
----------------
https://github.com/daveoncode/python-string-utils/archive/v0.6.0.tar.gz :
  CHECKSUM(SHA256) this package     : 3d25e273404196f6f7d3e7d2ee1373254d712f20289f8c1171b6f273ee877a7a
  CHECKSUM(SHA256) upstream package : 3d25e273404196f6f7d3e7d2ee1373254d712f20289f8c1171b6f273ee877a7a


Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -b 1659282
Buildroot used: fedora-29-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



Package is APPROVED

Comment 6 Daniel Mellado 2018-12-21 10:11:09 UTC
Requested git module and master branch here:

https://pagure.io/releng/fedora-scm-requests/issue/9339

Comment 7 Jason Montleon 2019-01-11 14:13:24 UTC
We got jkim set up yesterday and he requested the repo.

The request was closed as invalid because, "The review is not approved by the assignee of the Bugzilla bug"

https://pagure.io/releng/fedora-scm-requests/issue/9411

Does Daniel need to provide the form in Comment 5 or change Alfredo to the assignee?

Comment 8 Daniel Mellado 2019-01-11 14:38:45 UTC
Hi Jason,

let's change the assignee to Alfredo just in case, I also tried to request the repo and couldn't because of the same issue.

Comment 9 Jason Montleon 2019-01-11 15:03:06 UTC
Trying again, https://pagure.io/releng/fedora-scm-requests/issue/9418

Comment 10 Gwyn Ciesla 2019-01-11 20:01:31 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/python-string_utils


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