Bug 1226474 - Review Request: carat - Crystallographic AlgoRithms And Tables
Summary: Review Request: carat - Crystallographic AlgoRithms And Tables
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Gerald Cox
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-29 22:51 UTC by Jerry James
Modified: 2015-06-30 00:12 UTC (History)
2 users (show)

Fixed In Version: carat-2.1b1.19.07.2008-2.fc22
Clone Of:
Environment:
Last Closed: 2015-06-30 00:12:53 UTC
Type: ---
Embargoed:
gbcox: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Jerry James 2015-05-29 22:51:50 UTC
Spec URL: https://jjames.fedorapeople.org/carat/carat.spec
SRPM URL: https://jjames.fedorapeople.org/carat/carat-2.1b1.19.07.2008-1.fc23.src.rpm
Fedora Account System Username: jjames
Description: CARAT is a computer package which handles enumeration, construction, recognition, and comparison problems for crystallographic groups up to dimension 6.  The name CARAT itself is an acronym for Crystallographic AlgoRithms And Tables.

Due to its specialized nature and some generically named binaries, this package uses environment-modules to access its binaries.  This should not present a problem as it will be accessed primarily via GAP, rather than directly from the command line.

Comment 1 Gerald Cox 2015-06-13 17:52:27 UTC
(In reply to Jerry James from comment #0)
> Due to its specialized nature and some generically named binaries, this
> package uses environment-modules to access its binaries.  This should not
> present a problem as it will be accessed primarily via GAP, rather than
> directly from the command line.

I agree, and I think you've got this covered.  I haven't been able to find any Fedora guidance on this particular situation, but did find:
https://www.debian.org/doc/debian-policy/ch-opersys.html 
If you could take a look down at item 9.9 - Environment Variables.  I believe that since you will be accessing via GAP as you stated it really isn't an issue.  I'm going through the review form and should have it finished by tomorrow.

Comment 2 Gerald Cox 2015-06-14 16:49:42 UTC
Jerry,
Could you also explain carat.module.in (Source1:) - I having problems figuring out where it is coming from?  I've not had my coffee so maybe that is the problem. ;-)
Also, please just review Comment 1.  

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

ISSUES
======
- Must:  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.  - File in tarball as
  COPYING.
- Must:  License file installed when any subpackage combination is installed.

- Should:  Uses parallel make %{?_smp_mflags} macro.
- Should:  If the source package does not include license text(s) as a separate
  file from upstream, the packager SHOULD query upstream to include it.
- Should:  Fully versioned dependency in subpackages if applicable.
  Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in carat-
  tables , carat-doc
- Should:  SourceX is a working URL.

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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[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.
[!]: 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]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "GPL (v3 or later)", "Unknown or generated". 25 files have
     unknown license. Detailed output of licensecheck in
     /home/gbcox/bugzilla_fedora_review/1226474-carat/licensecheck.txt
[!]: License file installed when any subpackage combination is installed.
[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.
[-]: 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.
     Note: Documentation size is 153600 bytes in 3 files.
[!]: 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: No rpmlint messages.
[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

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

Generic:
[!]: Uses parallel make %{?_smp_mflags} macro.
[!]: 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 carat-
     tables , carat-doc
[?]: 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.
[x]: 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.
[!]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[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: carat-2.1b1.19.07.2008-1.fc23.x86_64.rpm
          carat-tables-2.1b1.19.07.2008-1.fc23.noarch.rpm
          carat-doc-2.1b1.19.07.2008-1.fc23.noarch.rpm
          carat-2.1b1.19.07.2008-1.fc23.src.rpm
4 packages and 0 specfiles checked; 0 errors, 0 warnings.




Rpmlint (debuginfo)
-------------------
Checking: carat-debuginfo-2.1b1.19.07.2008-1.fc23.x86_64.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.





Rpmlint (installed packages)
----------------------------
4 packages and 0 specfiles checked; 0 errors, 0 warnings.



Requires
--------
carat-tables (rpmlib, GLIBC filtered):

carat (rpmlib, GLIBC filtered):
    carat-tables
    environment-modules
    libc.so.6()(64bit)
    libgmp.so.10()(64bit)
    libm.so.6()(64bit)
    rtld(GNU_HASH)

carat-doc (rpmlib, GLIBC filtered):



Provides
--------
carat-tables:
    carat-tables

carat:
    carat
    carat(x86-64)

carat-doc:
    carat-doc



Source checksums
----------------
http://wwwb.math.rwth-aachen.de/carat/carat.tgz :
  CHECKSUM(SHA256) this package     : 15e9515df7f7080377392ad702ba49b190981e90b947c1b254d9c409dd345746
  CHECKSUM(SHA256) upstream package : 15e9515df7f7080377392ad702ba49b190981e90b947c1b254d9c409dd345746


Generated by fedora-review 0.6.0 (3c5c9d7) last change: 2015-05-20
Command line :/usr/bin/fedora-review -b 1226474 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api, C/C++
Disabled plugins: Java, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 3 Jerry James 2015-06-15 02:40:13 UTC
(In reply to Gerald Cox from comment #2)
> Jerry,
> Could you also explain carat.module.in (Source1:) - I having problems
> figuring out where it is coming from?  I've not had my coffee so maybe that
> is the problem. ;-)
> Also, please just review Comment 1.  

Strangely, those are related. :-)  So carat.module.in is the source file for environment-modules.  I wrote it myself.  Consider it part of the Fedora packaging.  It gives a user the ability to inject the directory containing the binaries from this package into PATH.  That way, we avoid poisoning PATH with generically named binaries unless the user really, really wants them in PATH.

> - Must:  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.  - File in tarball as
>   COPYING.
> - Must:  License file installed when any subpackage combination is installed.

Yes, an oversight there.  Corrected.

> - Should:  Uses parallel make %{?_smp_mflags} macro.

Yes, unfortunately upstream's Makefile is broken in that regard.  I haven't yet figured out how to fix it.

> - Should:  If the source package does not include license text(s) as a
> separate
>   file from upstream, the packager SHOULD query upstream to include it.

The source package does the license, I just forgot to include it in the rpm package.

> - Should:  Fully versioned dependency in subpackages if applicable.
>   Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in carat-
>   tables , carat-doc

This is on purpose.  The carat-tables subpackage was separated out because it contains large noarch data, so the main package depends on it.  The carat-doc package does not need anything else, since it contains only documentation.

> - Should:  SourceX is a working URL.

No can do, since upstream doesn't give a hoot about environment-modules.

New URLs:
Spec URL: https://jjames.fedorapeople.org/carat/carat.spec
SRPM URL: https://jjames.fedorapeople.org/carat/carat-2.1b1.19.07.2008-2.fc23.src.rpm

Comment 4 Gerald Cox 2015-06-15 16:51:46 UTC
Approved.  Thanks.  Appreciate you taking the time to explain things on the SHOULD items, even though they are blockers.  Each time I go through this, it's a learning experience. 

Regarding the SourceX - you "could" consider just hosting your module somewhere,
like bitbucket, github, fedorapeople, etc. - but that's entirely up to you.  Just a thought... I try not to be too pedantic.  ;-) 

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

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

ISSUES
======
- Should:  Uses parallel make %{?_smp_mflags} macro.
- Should:  Fully versioned dependency in subpackages if applicable.
  Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in carat-
  tables , carat-doc
- Should:  SourceX is a working URL.

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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[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.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "GPL (v3 or later)", "Unknown or generated". 25 files have
     unknown license. Detailed output of licensecheck in
     /home/gbcox/bugzilla_fedora_review/1226474-carat/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[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.
[-]: 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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 153600 bytes in 3 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: No rpmlint messages.
[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

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

Generic:
[!]: Uses parallel make %{?_smp_mflags} macro.
[x]: 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 carat-
     tables , carat-doc
[?]: 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.
[x]: 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.
[!]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[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: carat-2.1b1.19.07.2008-2.fc23.x86_64.rpm
          carat-tables-2.1b1.19.07.2008-2.fc23.noarch.rpm
          carat-doc-2.1b1.19.07.2008-2.fc23.noarch.rpm
          carat-2.1b1.19.07.2008-2.fc23.src.rpm
4 packages and 0 specfiles checked; 0 errors, 0 warnings.




Rpmlint (debuginfo)
-------------------
Checking: carat-debuginfo-2.1b1.19.07.2008-2.fc23.x86_64.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.





Rpmlint (installed packages)
----------------------------
4 packages and 0 specfiles checked; 0 errors, 0 warnings.



Requires
--------
carat-tables (rpmlib, GLIBC filtered):

carat (rpmlib, GLIBC filtered):
    carat-tables
    environment-modules
    libc.so.6()(64bit)
    libgmp.so.10()(64bit)
    libm.so.6()(64bit)
    rtld(GNU_HASH)

carat-doc (rpmlib, GLIBC filtered):



Provides
--------
carat-tables:
    carat-tables

carat:
    carat
    carat(x86-64)

carat-doc:
    carat-doc



Source checksums
----------------
http://wwwb.math.rwth-aachen.de/carat/carat.tgz :
  CHECKSUM(SHA256) this package     : 15e9515df7f7080377392ad702ba49b190981e90b947c1b254d9c409dd345746
  CHECKSUM(SHA256) upstream package : 15e9515df7f7080377392ad702ba49b190981e90b947c1b254d9c409dd345746


Generated by fedora-review 0.6.0 (3c5c9d7) last change: 2015-05-20
Command line :/usr/bin/fedora-review -b 1226474 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api, C/C++
Disabled plugins: Java, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 5 Gerald Cox 2015-06-15 16:53:36 UTC
(In reply to Gerald Cox from comment #4)
> Approved.  Thanks.  Appreciate you taking the time to explain things on the
> SHOULD items, even though they are blockers.  Each time I go through this,
> it's a learning experience. 
> 
Oops... "even though they are NOT blockers."

You probably figured out what I meant, but wanted to clarify, anyway... ;-)

Comment 6 Jerry James 2015-06-16 04:17:54 UTC
(In reply to Gerald Cox from comment #5)
> Oops... "even though they are NOT blockers."
> 
> You probably figured out what I meant, but wanted to clarify, anyway... ;-)

:-)  Thank you very much for the review.  I suppose I could host that file somewhere, but it is such a simple, tiny little file, it hardly seems worth the effort.

Comment 7 Jerry James 2015-06-16 04:19:35 UTC
New Package SCM Request
=======================
Package Name: carat
Short Description: Crystallographic AlgoRithms And Tables
Upstream URL: http://wwwb.math.rwth-aachen.de/carat/
Owners: jjames
Branches: f22
InitialCC:

Comment 8 Gwyn Ciesla 2015-06-16 13:55:00 UTC
Git done (by process-git-requests).

Comment 9 Fedora Update System 2015-06-17 13:14:40 UTC
carat-2.1b1.19.07.2008-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/carat-2.1b1.19.07.2008-2.fc22

Comment 10 Fedora Update System 2015-06-21 00:28:03 UTC
carat-2.1b1.19.07.2008-2.fc22 has been pushed to the Fedora 22 testing repository.

Comment 11 Fedora Update System 2015-06-30 00:12:53 UTC
carat-2.1b1.19.07.2008-2.fc22 has been pushed to the Fedora 22 stable repository.


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