Bug 1298238 - Review Request: python-babelfish - Python library to work with countries and languages
Summary: Review Request: python-babelfish - Python library to work with countries and ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Julien Enselme
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-13 15:15 UTC by Juan Orti
Modified: 2016-08-29 07:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-29 07:44:56 UTC
Type: ---
Embargoed:
jujens: fedora-review+


Attachments (Terms of Use)

Description Juan Orti 2016-01-13 15:15:20 UTC
Spec URL: https://jorti.fedorapeople.org/subliminal/python-babelfish.spec
SRPM URL: https://jorti.fedorapeople.org/subliminal/python-babelfish-0.5.5-1.fc23.src.rpm
Description: Babelfish makes it easy to work with countries, languages, scripts, ISO codes and IETF codes from Python. It has converters between all different data can be extended to use custom converters and data.
Fedora Account System Username: jorti

Comment 1 Julien Enselme 2016-03-06 20:29:34 UTC
Issues:

- Install license with doc package
- Please correct rpmlint's non-executable-script error



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 (3 clause)", "Unknown or generated". 20 files have unknown
     license. Detailed output of licensecheck in /tmp/1298238-python-
     babelfish/licensecheck.txt
[!]: License file installed when any subpackage combination is installed.
Please install License in doc package.

[X]: Package requires other packages for directories it uses.
[X]: Package must own all directories that it creates.
[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.
[X]: 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.
[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 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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[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).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     python2-babelfish , python3-babelfish , python-babelfish-doc
[?]: 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.
[?]: 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]: 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:
[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-babelfish-0.5.5-1.fc25.noarch.rpm
          python3-babelfish-0.5.5-1.fc25.noarch.rpm
          python-babelfish-doc-0.5.5-1.fc25.noarch.rpm
          python-babelfish-0.5.5-1.fc25.src.rpm
python2-babelfish.noarch: W: no-documentation
python2-babelfish.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/babelfish/tests.py 644 /usr/bin/env
python3-babelfish.noarch: W: no-documentation
python3-babelfish.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/babelfish/tests.py 644 /usr/bin/env
4 packages and 0 specfiles checked; 2 errors, 2 warnings.




Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:


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

python2-babelfish (rpmlib, GLIBC filtered):
    python(abi)

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



Provides
--------
python-babelfish-doc:
    python-babelfish-doc

python2-babelfish:
    python-babelfish
    python2-babelfish

python3-babelfish:
    python3-babelfish



Source checksums
----------------
https://github.com/Diaoul/babelfish/archive/0.5.5.tar.gz :
  CHECKSUM(SHA256) this package     : 81de5e57990d55195583f279f4be64d93609db9781407df77ddc905b319d6ce3
  CHECKSUM(SHA256) upstream package : 81de5e57990d55195583f279f4be64d93609db9781407df77ddc905b319d6ce3


Generated by fedora-review 0.6.0 (3c5c9d7) last change: 2015-05-20
Command line :/usr/bin/fedora-review -m fedora-rawhide-x86_64 -b 1298238
Buildroot used: fedora-rawhide-x86_64
Active plugins: Python, Generic, Shell-api
Disabled plugins: Java, C/C++, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 2 Juan Orti 2016-03-12 14:51:22 UTC
Thanks for taking this review. Here is an updated version:

Spec URL: https://jorti.fedorapeople.org/subliminal/python-babelfish.spec
SRPM URL: https://jorti.fedorapeople.org/subliminal/python-babelfish-0.5.5-2.fc23.src.rpm

Comment 3 Julien Enselme 2016-03-12 17:01:09 UTC
Looks good. Approved!

Comment 4 Gwyn Ciesla 2016-03-14 13:12:42 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/python-babelfish

Comment 5 Fedora Update System 2016-03-14 13:42:35 UTC
python-babelfish-0.5.5-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9943a37645

Comment 6 Fedora Update System 2016-03-14 13:44:06 UTC
python-babelfish-0.5.5-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-014ffb55aa

Comment 7 Fedora Update System 2016-03-14 13:44:57 UTC
python-babelfish-0.5.5-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1b19ab357f

Comment 8 Fedora Update System 2016-03-15 21:31:41 UTC
python-babelfish-0.5.5-2.fc24 has been pushed to the Fedora 24 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-2016-014ffb55aa

Comment 9 Fedora Update System 2016-03-16 15:21:05 UTC
python-babelfish-0.5.5-2.fc22 has been pushed to the Fedora 22 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-2016-9943a37645

Comment 10 Fedora Update System 2016-03-16 15:23:59 UTC
python-babelfish-0.5.5-2.fc23 has been pushed to the Fedora 23 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-2016-1b19ab357f

Comment 11 Fedora Update System 2016-03-23 22:27:14 UTC
python-babelfish-0.5.5-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2016-03-24 00:01:27 UTC
python-babelfish-0.5.5-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2016-03-26 18:08:56 UTC
python-babelfish-0.5.5-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Julien Enselme 2016-08-29 07:44:56 UTC
The package is in the repo now. Closing this.


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