[Bug 1316186] Review Request: python-librosa - a python package for music and audio analysis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1316186



--- Comment #13 from Miro Hrončok <mhroncok@xxxxxxxxxx> ---
Here comes the formal review. Once you fix the issues, please indicate in your
comment what you
have fixed so I can see if you forget something, or if the fix didn't work as
expected.

Package Review
==============

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


Issues:
=======
- The package installs ogg file with another license
  Note: See
/usr/lib/pythonX.Y/site-packages/librosa/util/example_data/Kevin_MacLeod_-_Vibe_Ace.ogg
  The metadata clearly says:
  http://freemusicarchive.org/music/Kevin_MacLeod/Jazz_Sampler/Vibe_Ace
  Copyright: Creative Commons Attribution:
http://creativecommons.org/licenses/by/3.0/

  This requires you to put ""ISC and CC-BY"" in the license field.

- The version number in Source0 is hardcoded, please use %{version} instead

- Fonts are bundled into the documentation. Those are also probably not ISC
licensed.
     /usr/share/doc/pythonX-librosa/html/_static/fonts/*

- Hidden file in docs, see rpmlint output bellow.

- Large documentation must go in a -doc subpackage. Large could be size
  (~1MB) or number of files.
  Note: Documentation size is 66641920 bytes in 1024 files.
  See:
  http://fedoraproject.org/wiki/Packaging/Guidelines#PackageDocumentation

  I suggest to create python-librosa-doc with the HTML docs and use Suggest: to
bring it with
  both packages (2 and 3), see
https://fedoraproject.org/wiki/Packaging:WeakDependencies

- The docs build still screams about joblib, could you add it as BR, as
suggested before?
  ImportError: No module named 'joblib'

===== 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.
[!]: License field in the package spec file matches the actual license.
[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.
[!]: 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.
[?]: Package complies to the Packaging Guidelines
     Note: Skipping this, because there are other issues
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[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.
[-]: 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:
[!]: 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).
[-]: Fully versioned dependency in subpackages if applicable.
[?]: 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.
[!]: %check is present and all tests pass.
     Note: Reasonable.
[?]: 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.

Rpmlint
-------
Checking: python2-librosa-0.4.2-1.fc23.noarch.rpm
          python3-librosa-0.4.2-1.fc23.noarch.rpm
          python-librosa-0.4.2-1.fc23.src.rpm
python2-librosa.noarch: E: explicit-lib-dependency python2-joblib
False alarm.

python2-librosa.noarch: E: explicit-lib-dependency python2-matplotlib
False alarm.

python2-librosa.noarch: W: hidden-file-or-dir
/usr/share/doc/python2-librosa/html/.buildinfo
Should go away.

python3-librosa.noarch: E: explicit-lib-dependency python3-joblib
False alarm.

python3-librosa.noarch: E: explicit-lib-dependency python3-matplotlib
False alarm.

python3-librosa.noarch: W: hidden-file-or-dir
/usr/share/doc/python3-librosa/html/.buildinfo
Should go away.

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


Requires
--------
python2-librosa (rpmlib, GLIBC filtered):
    python(abi) = 3.5
    python2-audioread
    python2-decorator
    python2-joblib
    python2-matplotlib
    python2-numpy
    python2-scikit-learn
    python2-scipy
    python2-six

python3-librosa (rpmlib, GLIBC filtered):
    python(abi) = 2.7
    python3-audioread
    python3-decorator
    python3-joblib
    python3-matplotlib
    python3-numpy
    python3-scikit-learn
    python3-scipy
    python3-six



Provides
--------
python2-librosa:
    python-librosa
    python2-librosa

python3-librosa:
    python3-librosa



Source checksums
----------------
https://github.com/bmcfee/librosa/archive/0.4.2.tar.gz :
  CHECKSUM(SHA256) this package     :
af3318fa77f7b829d49c7e9719ce0acc4d2252a6f14cfd6bbcaad163144dea0a
  CHECKSUM(SHA256) upstream package :
af3318fa77f7b829d49c7e9719ce0acc4d2252a6f14cfd6bbcaad163144dea0a

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]