Bug 2132014 - Review Request: indi - INDI Core Library
Summary: Review Request: indi - INDI Core Library
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2131498
TreeView+ depends on / blocked
 
Reported: 2022-10-04 13:23 UTC by Gwyn Ciesla
Modified: 2022-10-04 16:16 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-10-04 16:15:45 UTC
Type: Bug
Embargoed:
dan: fedora-review?


Attachments (Terms of Use)

Description Gwyn Ciesla 2022-10-04 13:23:48 UTC
SRPM: https://fedorapeople.org/~limb/review/indi/indi-1.9.8-1.fc37.src.rpm
SPEC: https://fedorapeople.org/~limb/review/indi/indi.spec

Description: INDI is a standard for astronomical instrumentation control. INDI Library is an
Open Source POSIX implementation of the Instrument-Neutral-Device-Interface
protocol.

Comment 1 Mattia Verga 2022-10-04 16:12:37 UTC
INDI is already packaged as "libindi" https://src.fedoraproject.org/rpms/libindi

Comment 2 Gwyn Ciesla 2022-10-04 16:15:45 UTC
Oh, fantastic, thank you! I can't believe I missed it. :)

Comment 3 Dan Horák 2022-10-04 16:16:03 UTC
formal review is here, see the notes explaining OK* and BAD statuses below:

OK	source files match upstream:
	    9fecacb362cc501faf87b89167fd8e859fd058f4  indi-1.9.8.tar.gz
OK	package meets naming and versioning guidelines.
OK*	specfile is properly named, is cleanly written and uses macros consistently.
OK	dist tag is present.
BAD	license field matches the actual license.
OK	license is open source-compatible. License text included in package.
OK	latest version is being packaged.
OK	BuildRequires are proper.
Ok	compiler flags are appropriate.
OK	package builds in mock (Rawhide/ppc64le).
OK	debuginfo package looks complete.
OK*	rpmlint is silent.
OK	final provides and requires look sane.
OK*	%check is present and all tests pass.
OK	shared libraries are correctly added to the regular linker search paths.
OK	owns the directories it creates.
OK	doesn't own any directories it shouldn't.
OK	no duplicates in %files.
OK	file permissions are appropriate.
OK	no scriptlets present.
OK	code, not content.
OK	documentation is small, so no -docs subpackage is necessary.
OK	%docs are not necessary for the proper functioning of the package.
OK	headers in devel subpackage
OK	pkgconfig file in devel subpackage
OK	no libtool .la droppings.
OK	not a GUI app.

- Source0 could be simplified to %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
- you can use %{_udevrulesdir} instead of /lib/udev/rules.d
- I believe the sources are mix of GPL/LGPL and per the updated guidelines all should be listed in the License tag (https://docs.fedoraproject.org/en-US/legal/license-field/#_conjunctive_and_licensing)
- rpmlint complains about missing man pages (can be ignored) and some code issues (worth reporting upstream I think)
    indi.ppc64le: W: no-manual-page-for-binary indi*
    indi.ppc64le: E: missing-call-to-setgroups-before-setuid /usr/lib64/libindidriver.so.1.9.8
    indi.ppc64le: W: binary-or-shlib-calls-gethostbyname /usr/bin/indi_*
- there is a call with ctest, but it says "No tests were found!!!"

Comment 4 Dan Horák 2022-10-04 16:16:52 UTC
Oh, no :-) I will take something else then :-)


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