Bug 1780941 - Review Request: sharedmeataxe - Matrix representations over finite fields
Summary: Review Request: sharedmeataxe - Matrix representations over finite fields
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-08 16:20 UTC by Jerry James
Modified: 2019-12-11 15:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-11 15:13:49 UTC
Type: ---
Embargoed:
sanjay.ankur: fedora-review+


Attachments (Terms of Use)

Description Jerry James 2019-12-08 16:20:51 UTC
Spec URL: https://jjames.fedorapeople.org/sharedmeataxe/sharedmeataxe.spec
SRPM URL: https://jjames.fedorapeople.org/sharedmeataxe/sharedmeataxe-1.0-1.fc32.src.rpm
Fedora Account System Username: jjames
Description: The SharedMeatAxe is a dynamic (shared) library together with a set of programs for working with matrices over finite fields.  It is a fork of the C MeatAxe, and differs from it mainly by the implementation of asymptotically fast matrix multiplication and by providing a dynamic (as opposed to static) library and an autotoolized build system.

MeatAxe's primary purpose is the calculation of modular character tables, although it can be used for other purposes, such as investigating subgroup structure, module structure etc.  Indeed, there is a set of programs to compute automatically the submodule lattice of a given module.

The primitive objects are of two types: matrices and permutations.  Permutation objects can be handled, but not as smoothly as you might expect.  For example, it is hoped that programs such as split (zsp) and multiply (zmu) will be able to work with mixed types, but at present ZSP is restricted to matrices only, and ZMU can multiply a matrix by a permutation, but not vice versa.

NOTE: This package is a replacement for the meataxe package currently in Fedora.  Once this package is approved, I will retire meataxe prior to building this package.

Comment 1 Ankur Sinha (FranciscoD) 2019-12-09 11:29:58 UTC
Looks good. One or two issue to consider but you can tweak those before the
import. XXX APPROVED XXX


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

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


Issues:
=======
- Large documentation must go in a -doc subpackage. Large could be size
  (~1MB) or number of files.
  Note: Documentation size is 2426880 bytes in 253 files.
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/#_documentation

^ Autogenerated: could be moved to a different sub-package, but I leave that up
to you to decide.

- Does it makes sense to add "conflict: meataxe" to ensure that both meataxe
  and sharedmeataxe modules are not activated together?

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

C/C++:
[-]: Provides: bundled(gnulib) in place as required.
     Note: Sources not installed
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig not called in %post and %postun for Fedora 28 and later.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.
[x]: Development (unversioned) .so files in -devel subpackage, if present.

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.
[x]: License file installed when any subpackage combination is installed.
[x]: Package does not own files or directories owned by other packages.
[x]: %build honors applicable compiler flags or justifies otherwise.
[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]: Useful -debuginfo package or justification otherwise.
[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 requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[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 must not depend on deprecated() packages.
[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

===== 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).
[x]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     sharedmeataxe-devel , sharedmeataxe-libs
^
This looks OK. The main and devel packages require -libs.

[?]: Package functions as described.
^
Not tested this.

[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[-]: 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.
[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:
[?]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
     Note: Arch-ed rpms have a total of 2580480 bytes in /usr/share
^
This is because of the doc files, pointed out above already.

[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[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: sharedmeataxe-1.0-1.fc32.x86_64.rpm
          sharedmeataxe-devel-1.0-1.fc32.x86_64.rpm
          sharedmeataxe-libs-1.0-1.fc32.x86_64.rpm
          sharedmeataxe-debuginfo-1.0-1.fc32.x86_64.rpm
          sharedmeataxe-debugsource-1.0-1.fc32.x86_64.rpm
          sharedmeataxe-1.0-1.fc32.src.rpm
sharedmeataxe.x86_64: W: spelling-error %description -l en_US autotoolized -> automatized
sharedmeataxe.x86_64: W: spelling-error %description -l en_US submodule -> sub module, sub-module, module
sharedmeataxe.x86_64: W: spelling-error %description -l en_US versa -> avers, verse, verso
sharedmeataxe-libs.x86_64: W: shared-lib-calls-exit /usr/lib64/libmtx.so.0.0.0 exit.5
sharedmeataxe.src: W: spelling-error %description -l en_US autotoolized -> automatized
sharedmeataxe.src: W: spelling-error %description -l en_US submodule -> sub module, sub-module, module
sharedmeataxe.src: W: spelling-error %description -l en_US zsp -> zap, esp, zip
sharedmeataxe.src: W: spelling-error %description -l en_US zmu -> mu, emu, z mu
sharedmeataxe.src: W: spelling-error %description -l en_US versa -> avers, verse, verso
6 packages and 0 specfiles checked; 0 errors, 9 warnings.




Rpmlint (debuginfo)
-------------------
Checking: sharedmeataxe-debuginfo-1.0-1.fc32.x86_64.rpm
          sharedmeataxe-libs-debuginfo-1.0-1.fc32.x86_64.rpm
2 packages and 0 specfiles checked; 0 errors, 0 warnings.





Rpmlint (installed packages)
----------------------------
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "C.UTF-8",
	LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "C.UTF-8",
	LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
sharedmeataxe-debugsource.x86_64: W: invalid-url URL: https://users.fmi.uni-jena.de/~king/SharedMeatAxe/ <urlopen error [Errno -2] Name or service not known>
sharedmeataxe.x86_64: W: spelling-error %description -l en_US autotoolized -> automatized
sharedmeataxe.x86_64: W: spelling-error %description -l en_US submodule -> sub module, sub-module, module
sharedmeataxe.x86_64: W: spelling-error %description -l en_US versa -> avers, verse, verso
sharedmeataxe.x86_64: W: invalid-url URL: https://users.fmi.uni-jena.de/~king/SharedMeatAxe/ <urlopen error [Errno -2] Name or service not known>
sharedmeataxe-libs.x86_64: W: invalid-url URL: https://users.fmi.uni-jena.de/~king/SharedMeatAxe/ <urlopen error [Errno -2] Name or service not known>
sharedmeataxe-libs.x86_64: W: shared-lib-calls-exit /usr/lib64/libmtx.so.0.0.0 exit.5
sharedmeataxe-libs-debuginfo.x86_64: W: invalid-url URL: https://users.fmi.uni-jena.de/~king/SharedMeatAxe/ <urlopen error [Errno -2] Name or service not known>
sharedmeataxe-debuginfo.x86_64: W: invalid-url URL: https://users.fmi.uni-jena.de/~king/SharedMeatAxe/ <urlopen error [Errno -2] Name or service not known>
sharedmeataxe-devel.x86_64: W: invalid-url URL: https://users.fmi.uni-jena.de/~king/SharedMeatAxe/ <urlopen error [Errno -2] Name or service not known>
6 packages and 0 specfiles checked; 0 errors, 10 warnings.



Source checksums
----------------
http://users.minet.uni-jena.de/~king/SharedMeatAxe/shared_meataxe-1.0.tar.gz :
  CHECKSUM(SHA256) this package     : e45b0dc325f841d5c160c1eb03daa6587506220ad6ee5823397b4bf2fbd8fdb9
  CHECKSUM(SHA256) upstream package : e45b0dc325f841d5c160c1eb03daa6587506220ad6ee5823397b4bf2fbd8fdb9


Requires
--------
sharedmeataxe (rpmlib, GLIBC filtered):
    environment(modules)
    libc.so.6()(64bit)
    libmtx.so.0()(64bit)
    rtld(GNU_HASH)
    sharedmeataxe-libs(x86-64)

sharedmeataxe-devel (rpmlib, GLIBC filtered):
    libmtx.so.0()(64bit)
    sharedmeataxe-libs(x86-64)

sharedmeataxe-libs (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    rtld(GNU_HASH)

sharedmeataxe-debuginfo (rpmlib, GLIBC filtered):

sharedmeataxe-debugsource (rpmlib, GLIBC filtered):



Provides
--------
sharedmeataxe:
    sharedmeataxe
    sharedmeataxe(x86-64)

sharedmeataxe-devel:
    sharedmeataxe-devel
    sharedmeataxe-devel(x86-64)

sharedmeataxe-libs:
    libmtx.so.0()(64bit)
    sharedmeataxe-libs
    sharedmeataxe-libs(x86-64)

sharedmeataxe-debuginfo:
    debuginfo(build-id)
    sharedmeataxe-debuginfo
    sharedmeataxe-debuginfo(x86-64)

sharedmeataxe-debugsource:
    sharedmeataxe-debugsource
    sharedmeataxe-debugsource(x86-64)



Generated by fedora-review 0.7.3 (44b83c7) last change: 2019-09-18
Command line :/usr/bin/fedora-review -b 1780941
Buildroot used: fedora-rawhide-{{ target_arch }}
Active plugins: Generic, Shell-api, C/C++
Disabled plugins: Python, PHP, Java, Haskell, SugarActivity, Perl, R, Ocaml, fonts
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 2 Ankur Sinha (FranciscoD) 2019-12-09 11:32:42 UTC
(In reply to Jerry James from comment #0)
<snip>
> 
> NOTE: This package is a replacement for the meataxe package currently in
> Fedora.  Once this package is approved, I will retire meataxe prior to
> building this package.


Ooo, just noticed this! If it is meant to replace the meataxe package, the environment modules don't need a "conflict". However, to maintain the upgrade path, do you think you need to add "Obsoletes" here?

https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages

Comment 3 Jerry James 2019-12-09 22:51:41 UTC
Yes, it absolutely needs an Obsoletes.  I don't know how that escaped my attention.  I will add it.  Thanks for the review!

Comment 4 Gwyn Ciesla 2019-12-09 23:15:53 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/sharedmeataxe

Comment 5 Jerry James 2019-12-11 15:13:49 UTC
Built in Rawhide.


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