Bug 1233168 - Review Request: python-oslo-service - Oslo service library
Summary: Review Request: python-oslo-service - Oslo service library
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Javier Peña
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1233167
Blocks: RDO-LIBERTY-REVIEWS 1243550 1257329
TreeView+ depends on / blocked
 
Reported: 2015-06-18 11:23 UTC by Haïkel Guémar
Modified: 2015-09-16 08:42 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-16 08:42:44 UTC
Type: ---
Embargoed:
jpena: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Haïkel Guémar 2015-06-18 11:23:35 UTC
Spec URL: https://hguemar.fedorapeople.org/reviews/python-oslo-service.spec
SRPM URL: https://hguemar.fedorapeople.org/reviews/python-oslo-service-0.1.0-1.fc22.src.rpm
Description: Oslo service library
Fedora Account System Username: hguemar

Comment 1 Haïkel Guémar 2015-06-18 11:24:34 UTC
Note that we need to upgrade some other oslo libs (namely utils & config) and add python-monotic.

Comment 2 Alan Pevec 2015-06-25 11:15:47 UTC
> Note that we need to upgrade some other oslo libs

Then we cannot import this to Rawhide until f23 is branched, f23 needs to keep Kilo versions, in the current Fedora/RDO setup.
Please hold import until
2015-07-14 	Branch Fedora 23 from Rawhide (Rawhide becomes future F24) 

[*] https://fedoraproject.org/wiki/Releases/23/Schedule

Comment 3 Alan Pevec 2015-07-06 21:32:16 UTC
In the meantime, I've created rpm-liberty-1 branch for early RDO Liberty builds in CBS/CentOS CloudSIG:

https://github.com/openstack-packages/python-oslo-service/commits/rpm-liberty-1

Comment 4 William Moreno 2015-08-10 04:06:57 UTC
Please update the spec to last Python Packaguing Guidelines:
https://fedoraproject.org/wiki/Packaging:Python

Comment 5 Alan Pevec 2015-08-17 21:56:15 UTC
Did you mean software supports python3 => must be packaged for python3 or more?

Comment 6 Chandan Kumar 2015-09-01 14:25:00 UTC
Here is the updated spec with python3 support: https://chandankumar.fedorapeople.org/python-oslo-service.spec

Comment 7 Haïkel Guémar 2015-09-10 14:58:02 UTC
Updated spec

Spec URL: https://hguemar.fedorapeople.org/reviews/python-oslo-service.spec
SRPM URL: https://hguemar.fedorapeople.org/reviews/python-oslo-service-0.9.0-1.fc22.src.rpm
Description: Oslo service library

Comment 8 Javier Peña 2015-09-10 15:22:48 UTC
From our IRC conversation, I understand it is ok for the package not to have a Python3 subpackage, due to the missing dependency.

I have a doubt on the license file for the -doc subpackage. From https://fedoraproject.org/wiki/Packaging:LicensingGuidelines, I understand that it should either depend on the base package or include the license file.

Other than that, it looks ok to me.

Comment 10 Javier Peña 2015-09-15 11:44:30 UTC
There is no %check section but since this is a SHOULD item we can live without it.

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: "Apache (v2.0)", "Unknown or generated", "*No copyright* Apache
     (v2.0)". 1 files have unknown license. Detailed output of licensecheck
     in /tmp/1233168-python-oslo-service/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 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]: Binary eggs must be removed in %prep
     Note: Cannot find any build in BUILD directory (--prebuilt option?)
[x]: Python eggs must not download any dependencies during the build
     process.
[-]: 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

===== 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
     -oslo-service , python-oslo-service-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.
[-]: Package should compile and build into binary rpms on all supported
     architectures.
[!]: %check is present and all tests pass.
[-]: 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-oslo-service-0.9.0-2.fc24.noarch.rpm
          python-oslo-service-doc-0.9.0-2.fc24.noarch.rpm
          python-oslo-service-0.9.0-2.fc24.src.rpm
python-oslo-service-doc.noarch: W: file-not-utf8 /usr/share/doc/python-oslo-service-doc/html/objects.inv
3 packages and 0 specfiles checked; 0 errors, 1 warnings.




Rpmlint (installed packages)
----------------------------
python-oslo-service-doc.noarch: W: file-not-utf8 /usr/share/doc/python-oslo-service-doc/html/objects.inv
2 packages and 0 specfiles checked; 0 errors, 1 warnings.



Requires
--------
python2-oslo-service (rpmlib, GLIBC filtered):
    python(abi)
    python-babel
    python-eventlet
    python-monotonic
    python-oslo-concurrency
    python-oslo-config
    python-oslo-i18n
    python-oslo-log
    python-oslo-utils
    python-paste
    python-paste-deploy
    python-six

python-oslo-service-doc (rpmlib, GLIBC filtered):



Provides
--------
python2-oslo-service:
    python-oslo-service
    python2-oslo-service

python-oslo-service-doc:
    python-oslo-service-doc



Source checksums
----------------
https://pypi.python.org/packages/source/o/oslo.service/oslo.service-0.9.0.tar.gz :
  CHECKSUM(SHA256) this package     : f77753910391a1b2bd7fd9b5b863d7230b1ff727443dd2efcb725ce937ffb566
  CHECKSUM(SHA256) upstream package : f77753910391a1b2bd7fd9b5b863d7230b1ff727443dd2efcb725ce937ffb566


Generated by fedora-review 0.6.0 (3c5c9d7) last change: 2015-05-20
Command line :/usr/bin/fedora-review -b 1233168 -m fedora-rawhide-x86_64
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


The package is APPROVED. Please go ahead and open the SCM request.

Comment 11 Haïkel Guémar 2015-09-15 14:44:24 UTC
New Package SCM Request
=======================
Package Name: python-oslo-service 
Short Description: Oslo service library
Upstream URL: http://launchpad.net/oslo
Owners: hguemar apevec jpena social
Branches:
InitialCC:

Comment 12 Gwyn Ciesla 2015-09-15 16:27:14 UTC
Git done (by process-git-requests).


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