Bug 1332052 - Review Request: python-filelock - A platform independent file lock
Summary: Review Request: python-filelock - A platform independent file lock
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: Trivial
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-01 20:21 UTC by Scott K Logan
Modified: 2017-02-05 23:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-09 02:53:56 UTC
Type: ---
Embargoed:
jujens: fedora-review+


Attachments (Terms of Use)

Description Scott K Logan 2016-05-01 20:21:26 UTC
Spec URL: https://cottsay.fedorapeople.org/python-filelock/python-filelock.spec

SRPM URL: https://cottsay.fedorapeople.org/python-filelock/python-filelock-2.0.6-1.fc25.src.rpm

Description:
This package contains a single module, which implements a platform independent
file locking mechanism for Python.

The lock includes a lock counter and is thread safe. This means, when locking
the same lock object twice, it will not block.

Fedora Account System Username: cottsay

koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=13882620

rpmlint output:
4 packages and 1 specfiles checked; 0 errors, 0 warnings.

Thanks,

--scott

Comment 1 Julien Enselme 2016-06-16 15:31:42 UTC
- A man page is included but there is no executable in this package. Is this intended?
- Can you unbundled fonts in doc package (see below)?

Otherwise, there's no blocking items. Approved.

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: "Unknown or generated". 5 files have unknown license. Detailed
     output of licensecheck in /tmp/1332052-python-
     filelock/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.
[X]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 20480 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]: 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]: 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.
     Note: Package contains font files
Some fonts are bundled in the doc package. Can you make the doc package depends on these packages:
- lato-fonts.noarch
- levien-inconsolata-fonts.noarch
- fontawesome-fonts.noarch

and use symlinks to the proper font files in the doc package?

RobotoSlab fonts doesn't look to be packaged. If you choose to create it, please assign me to the review.


[-]: 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 python-
     filelock-doc , python2-filelock , python3-filelock
[?]: 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]: 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: python-filelock-doc-2.0.6-1.fc25.noarch.rpm
          python2-filelock-2.0.6-1.fc25.noarch.rpm
          python3-filelock-2.0.6-1.fc25.noarch.rpm
          python-filelock-2.0.6-1.fc25.src.rpm
python-filelock-doc.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/python-filelock-doc/html/objects.inv
python-filelock-doc.noarch: W: file-not-utf8 /usr/share/doc/python-filelock-doc/html/objects.inv
4 packages and 0 specfiles checked; 0 errors, 2 warnings.




Rpmlint (installed packages)
----------------------------
python-filelock-doc.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/python-filelock-doc/html/objects.inv
python-filelock-doc.noarch: W: file-not-utf8 /usr/share/doc/python-filelock-doc/html/objects.inv
3 packages and 0 specfiles checked; 0 errors, 2 warnings.



Requires
--------
python3-filelock (rpmlib, GLIBC filtered):
    python(abi)

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

python-filelock-doc (rpmlib, GLIBC filtered):



Provides
--------
python3-filelock:
    python3-filelock
    python3.5dist(filelock)

python2-filelock:
    python-filelock
    python2-filelock
    python2.7dist(filelock)

python-filelock-doc:
    python-filelock-doc



Source checksums
----------------
https://github.com/benediktschmitt/py-filelock/archive/fde6c13718dd98ca50a9e3378f972706035b57c6.tar.gz#/filelock-fde6c13.tar.gz :
  CHECKSUM(SHA256) this package     : 1bb52a7b8bf87daefe389b4a5abca36f22b655ef69c11d73a9bb3ab688244c0c
  CHECKSUM(SHA256) upstream package : 1bb52a7b8bf87daefe389b4a5abca36f22b655ef69c11d73a9bb3ab688244c0c


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 1332052
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 2 Scott K Logan 2016-09-19 04:56:15 UTC
The man page which is installed was provided by upstream as a "section 1" man page, so I installed it there. You're right - it really belongs in sections 3 or 7. I'll consider passing that along to upstream for consideration.

I was able to un-bundle most of the fonts.The RobotoSlab fonts are actually provided by google-roboto-slab-fonts, but unfortunately, I can't find any packages which specifically provide Inconsolata-Bold.ttf or Inconsolata-Regular.ttf (levien-inconsolata-fonts did not provide these).

It would be great if there was a better way to handle bundled fonts in generated documentation. The package which actually provided the fonts, python-sphinx_rtd_theme, is actually bundling them as well. A simple "dnf provides" operation shows what a large problem this is...

Thanks for the review!

Comment 3 Gwyn Ciesla 2016-09-19 12:49:42 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/python-filelock

Comment 4 Fedora Update System 2016-09-22 09:56:14 UTC
python-filelock-2.0.6-1.fc25 has been pushed to the Fedora 25 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-330347da44

Comment 5 Fedora Update System 2016-09-23 06:54:27 UTC
python-filelock-2.0.6-1.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-389bd2e5a0

Comment 6 Fedora Update System 2016-09-23 08:01:52 UTC
python-filelock-2.0.6-1.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-343b685e87

Comment 7 Fedora Update System 2016-09-23 10:48:51 UTC
python-filelock-2.0.6-1.el6 has been pushed to the Fedora EPEL 6 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-EPEL-2016-cb33a5937b

Comment 8 Tuomo Soini 2016-09-24 19:55:31 UTC
Epel6 update is broken:

package: python-filelock-doc-2.0.6-1.el6.noarch
  unresolved deps: 
     google-roboto-slab-fonts

Comment 9 Fedora Update System 2016-09-28 16:20:23 UTC
python-filelock-2.0.6-1.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2016-d99061b906

Comment 10 Scott K Logan 2016-10-02 22:09:49 UTC
Thanks, Tuomo. I'll have that fixed ASAP.

--scott

Comment 11 Fedora Update System 2016-10-03 03:50:30 UTC
python-filelock-2.0.6-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2016-10-03 06:20:27 UTC
python-filelock-2.0.6-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2016-10-03 06:48:30 UTC
python-filelock-2.0.6-2.el6 has been pushed to the Fedora EPEL 6 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-EPEL-2016-0fdf697d47

Comment 14 Fedora Update System 2016-10-09 02:53:56 UTC
python-filelock-2.0.6-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2017-01-21 23:21:09 UTC
python-filelock-2.0.6-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2017-02-05 23:17:34 UTC
python-filelock-2.0.6-2.el6 has been pushed to the Fedora EPEL 6 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.