Bug 1172724 - Review Request: pyotherside - Asynchronous Python 3 Bindings for Qt 5
Summary: Review Request: pyotherside - Asynchronous Python 3 Bindings for Qt 5
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-10 15:43 UTC by Martin Kolman
Modified: 2015-08-31 08:45 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-08-31 08:45:06 UTC
Type: ---
Embargoed:
mhlavink: fedora-review+
puiterwijk: fedora-cvs+


Attachments (Terms of Use)

Comment 1 Martin Kolman 2014-12-10 15:50:47 UTC
Oops, looks like the template got mangled somehow. :P Let's try again:

Spec URL: http://modrana.org/packages/fedora/main_repository/pyotherside/pyotherside.spec
SRPM URL: http://modrana.org/packages/fedora/main_repository/pyotherside/pyotherside-1.3.0-1.src.rpm
Description: A QML Plugin that provides access to a Python 3 interpreter from QML.
Fedora Account System Username: m4rtink

Comment 2 Michal Hlavinka 2014-12-21 18:14:07 UTC
Package Review
==============

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

===== MUST items =====

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Development (unversioned) .so files in -devel subpackage, if present.
     Note: Unversioned so-files in private %_libdir subdirectory (see
     attachment). Verify they are not in ld path.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

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.
[!]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/lib64/qt5/qml/io/thp,
     /usr/lib64/qt5/qml/io/thp/pyotherside, /usr/lib64/qt5/qml/io

FAIL

[!]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/lib64/qt5/qml/io/thp,
     /usr/lib64/qt5/qml/io, /usr/lib64/qt5/qml/io/thp/pyotherside
     
FAIL
     
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.

FAIL: changelog is missing

[x]: Sources contain only permissible code or content.
[x]: Each %files section contains %defattr if rpm < 4.4
[-]: 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]: Useful -debuginfo package or justification otherwise.
[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.
[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 %doc.
[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]: 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 do not use a name that already exist
[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

===== SHOULD items =====

Generic:
[!]: Dist tag is present (not strictly required in GL).

SHOULD: Please include dist tag:
Release: 1%{?dist}

[-]: 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]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: 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.
[!]: %check is present and all tests pass.

SHOULD: Please include %check section and run ./tests/tests as described in the README file

[x]: Packages should try to preserve timestamps of original installed files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[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]: Uses parallel make %{?_smp_mflags} macro.
[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]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: pyotherside-1.3.0-1.x86_64.rpm
          pyotherside-1.3.0-1.src.rpm


pyotherside.src: E: no-changelogname-tag
pyotherside.x86_64: E: no-changelogname-tag -- already mentioned above

pyotherside.x86_64: W: one-line-command-in-%post /sbin/ldconfig
pyotherside.x86_64: W: one-line-command-in-%postun /sbin/ldconfig

if ldconfig is the only thing executed in the section, this is preffered way

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

pyotherside.src: W: invalid-url Source0: pyotherside-1.3.0.tar.gz

Source0 should be in a form of url
Source0: http://thp.io/2011/pyotherside/%{name}-%{version}.tar.gz

2 packages and 0 specfiles checked; 2 errors, 3 warnings.

Comment 3 Martin Kolman 2015-04-02 15:43:17 UTC
I think I've fixed the issues noted in comment 2 and I've also switched the base PyOtherSide version from 1.3.0 to 1.4.0, which contains important compatibility and stability fixes and some new features:

Spec URL: http://modrana.org/packages/fedora/main_repository/pyotherside/pyotherside.spec
SRPM URL: http://modrana.org/packages/fedora/main_repository/pyotherside/pyotherside-1.4.0-2.fc21.src.rpm

Changes:
* update PyOtherSide to 1.4.0
* added a proper %changelog
* call ldconfig correctly
* run the test suite in %check
* directory ownership should also be fine now (at least fedora-review does not complain about it anymore when run on F21)

Comment 4 Michal Hlavinka 2015-04-10 10:18:33 UTC
There is still one issue that must be fixed:

[!]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/lib64/qt5/qml/io/thp,
     /usr/lib64/qt5/qml/io/thp/pyotherside, /usr/lib64/qt5/qml/io

FAIL

[!]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/lib64/qt5/qml/io/thp,
     /usr/lib64/qt5/qml/io, /usr/lib64/qt5/qml/io/thp/pyotherside
     
FAIL

Comment 5 Martin Kolman 2015-04-10 10:33:14 UTC
This should be fixed now, thanks! :) Updated spec & SRPM are below:

Spec URL: http://modrana.org/packages/fedora/main_repository/pyotherside/pyotherside.spec
SRPM URL: http://modrana.org/packages/fedora/main_repository/pyotherside/pyotherside-1.4.0-3.fc21.src.rpm

Comment 6 Michal Hlavinka 2015-04-10 10:46:09 UTC
Latest version is ok

Comment 7 Martin Kolman 2015-04-10 11:09:20 UTC
New Package SCM Request
=======================
Package Name: pyotherside
Short Description: Asynchronous Python 3 Bindings for Qt 5
Upstream URL: http://thp.io/2011/pyotherside/
Owners: m4rtink
Branches: f20 f21 f22
InitialCC:

Comment 8 Patrick Uiterwijk 2015-04-10 11:46:25 UTC
Git done (by process-git-requests).


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