Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1953340 - Review Request: dovecot-fts-xapian - Xapian plugin for Dovecot
Summary: Review Request: dovecot-fts-xapian - Xapian plugin for Dovecot
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-NEEDSPONSOR
TreeView+ depends on / blocked
 
Reported: 2021-04-25 15:17 UTC by Joan Moreau
Modified: 2021-07-03 20:09 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
zebob.m: fedora-review+


Attachments (Terms of Use)

Description Joan Moreau 2021-04-25 15:17:32 UTC
Spec URL: https://github.com/grosjo/fts-xapian/blob/master/PACKAGES/RPM/fts-xapian.spec
SRPM URL: https://github.com/grosjo/fts-xapian/blob/master/PACKAGES/RPM/dovecot-fts-xapian-1.4.9b-1.fc34.src.rpm
Description: This project intends to provide a straightforward, simple and maintenance free, way to configure FTS plugin for Dovecot, leveraging the efforts by the Xapian.org team.

This effort came after Dovecot team decided to deprecate "fts_squat" included in the dovecot core, and due to the complexity of the Solr plugin capabilitles, un-needed for most users.

This is my first package, and I am seeking a sponsor.

Fedora Account System Username: grosjo

Blocks : FE-NEEDSPONSOR

Comment 1 Robert-André Mauchin 🐧 2021-05-08 18:43:57 UTC
 - You must include a license file and should include any documentation:

%files
%license COPYING
%doc AUTHORS README.md
%{_libdir}/dovecot/lib21_fts_xapian_plugin.so

 - Please include a valid changelog entry with your name and stuff:

%changelog
* Tue Apr  6 2021 Joan Moreau <jom> - 1.49b-1
- Initial RPM

 - The SPEC filename, the SPEC name, and the bug report name must be the same. Please change the filename of the spec to match the rest.

 - The Source0 is 404:

Downloading: https://github.com/grosjo/fts-xapian/archive/refs/tags/fts-xapian-1.4.9b.tar.gz
Download failed:
404 Client Error: Not Found for url: https://codeload.github.com/grosjo/fts-xapian/tar.gz/refs/tags/fts-xapian-1.4.9b
-   0.0 B Elapsed Time: 0:00:00   

 Please use instead:

Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz

 - Typo in description:

 spelling-error %description -l en_US capabilitles -> capabilities, capability


 - [!]: Package should not use obsolete m4 macros
     Note: Some obsoleted macros found, see the attachment.
     See: https://fedorahosted.org/FedoraReview/wiki/AutoTools

AutoTools: Obsoleted m4s found
------------------------------
  AC_PROG_LIBTOOL found in: fts-xapian-1.4.9b/configure.ac:22


AC_PROG_LIBTOOL should be replaced with LT_INIT.

See https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html




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

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



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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Development (unversioned) .so files in -devel subpackage, if present.
     Note: Unversioned so-files in private %_libdir subdirectory (see
     attachment). Verify they are not in ld path.
[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]: 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: "Unknown or generated", "GNU Lesser General Public License,
     Version 2.1". 17 files have unknown license. Detailed output of
     licensecheck in /home/bob/packaging/review/dovecot-fts-xapian/review-
     dovecot-fts-xapian/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.
[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]: Package requires other packages for directories it uses.
[x]: Package does not own files or directories owned by other packages.
[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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[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).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: 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.
[-]: %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]: Fully versioned dependency in subpackages if applicable.
[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:
[!]: Package should not use obsolete m4 macros
     Note: Some obsoleted macros found, see the attachment.
     See: https://fedorahosted.org/FedoraReview/wiki/AutoTools
[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]: 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: dovecot-fts-xapian-1.4.9b-1.fc35.x86_64.rpm
          dovecot-fts-xapian-debuginfo-1.4.9b-1.fc35.x86_64.rpm
          dovecot-fts-xapian-debugsource-1.4.9b-1.fc35.x86_64.rpm
          dovecot-fts-xapian-1.4.9b-1.fc35.src.rpm
dovecot-fts-xapian.x86_64: W: spelling-error %description -l en_US capabilitles -> capabilities, capability
dovecot-fts-xapian.x86_64: W: spelling-error %description -l en_US un -> UN, nu, in
dovecot-fts-xapian.x86_64: W: incoherent-version-in-changelog apian ['1.4.9b-1.fc35', '1.4.9b-1']
dovecot-fts-xapian.x86_64: W: no-documentation
dovecot-fts-xapian.src: W: spelling-error %description -l en_US capabilitles -> capabilities, capability
dovecot-fts-xapian.src: W: spelling-error %description -l en_US un -> UN, nu, in
4 packages and 0 specfiles checked; 0 errors, 6 warnings.

Comment 2 Joan Moreau 2021-06-26 18:07:32 UTC
Can you check updates ?

https://github.com/grosjo/fts-xapian/tree/1.4.10/PACKAGES/RPM

Thank you

Comment 3 Joan Moreau 2021-06-26 18:41:07 UTC
Uploading srpm: ./dovecot-fts-xapian-1.4.10-1.fc34.src.rpm
[====================================] 100% 00:00:11 999.95 KiB  86.34 KiB/sec
Created task: 70868316
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=70868316
Watching tasks (this may be safely interrupted)...
70868316 build (f34, dovecot-fts-xapian-1.4.10-1.fc34.src.rpm): free
70868316 build (f34, dovecot-fts-xapian-1.4.10-1.fc34.src.rpm): free -> open (buildvm-x86-09.iad2.fedoraproject.org)
  70868321 rebuildSRPM (noarch): free
  70868321 rebuildSRPM (noarch): free -> open (buildvm-x86-17.iad2.fedoraproject.org)
  70868403 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, i686): free
  70868405 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, x86_64): free
  70868410 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, s390x): open (buildvm-s390x-22.s390.fedoraproject.org)
  70868402 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, armv7hl): open (buildvm-a32-12.iad2.fedoraproject.org)
  70868407 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, aarch64): open (buildvm-a64-26.iad2.fedoraproject.org)
  70868408 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, ppc64le): open (buildvm-ppc64le-04.iad2.fedoraproject.org)
  70868321 rebuildSRPM (noarch): open (buildvm-x86-17.iad2.fedoraproject.org) -> closed
  2 free  5 open  1 done  0 failed
  70868403 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, i686): free -> open (buildvm-x86-07.iad2.fedoraproject.org)
  70868405 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, x86_64): free -> open (buildvm-x86-03.iad2.fedoraproject.org)
  70868410 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, s390x): open (buildvm-s390x-22.s390.fedoraproject.org) -> closed
  0 free  6 open  2 done  0 failed
  70868403 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, i686): open (buildvm-x86-07.iad2.fedoraproject.org) -> closed
  0 free  5 open  3 done  0 failed
  70868405 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, x86_64): open (buildvm-x86-03.iad2.fedoraproject.org) -> closed
  0 free  4 open  4 done  0 failed
  70868408 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, ppc64le): open (buildvm-ppc64le-04.iad2.fedoraproject.org) -> closed
  0 free  3 open  5 done  0 failed
  70868407 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, aarch64): open (buildvm-a64-26.iad2.fedoraproject.org) -> closed
  0 free  2 open  6 done  0 failed
  70868402 buildArch (dovecot-fts-xapian-1.4.10-1.fc34.src.rpm, armv7hl): open (buildvm-a32-12.iad2.fedoraproject.org) -> closed
  0 free  1 open  7 done  0 failed

70868316 build (f34, dovecot-fts-xapian-1.4.10-1.fc34.src.rpm): open (buildvm-x86-09.iad2.fedoraproject.org) -> closed
  0 free  0 open  8 done  0 failed

70868316 build (f34, dovecot-fts-xapian-1.4.10-1.fc34.src.rpm) completed succes

Comment 5 Robert-André Mauchin 🐧 2021-06-27 12:41:16 UTC
Sorry I seem to have missed this bug in my mail. Don't hesitate to use Needinfo in this casd.


The package is approved. However you still nedd to find a sponsor to be aloozed into the packager group, https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group

Comment 6 Joan Moreau 2021-07-02 20:32:29 UTC
In practical terms, how to move forward ("get a sponsor" is just a foggy stuff -> I am just willing to resolve a request (https://github.com/grosjo/fts-xapian/issues/82 ), not planning to "show my expertise" 

What is "needinfo" ?

Can you help with moving this forward ?

Or how can I sponsor myself ?

Comment 7 Robert-André Mauchin 🐧 2021-07-02 20:52:40 UTC
(In reply to Joan Moreau from comment #6)
> In practical terms, how to move forward ("get a sponsor" is just a foggy
> stuff -> I am just willing to resolve a request
> (https://github.com/grosjo/fts-xapian/issues/82 ), not planning to "show my
> expertise" 
> 

We don't just allow anybody into the packager group, you need to be vetted, by showing you understand the packaging guidelines,

> What is "needinfo" ?

Below the reply text area, there is a check box with "Need additional information from"

> 
> Can you help with moving this forward ?
> 

I've sent you a mail regarding sponsorship but I haven't heard back from you.

Comment 9 Joan Moreau 2021-07-03 20:09:07 UTC
I don't really plan to "show my worth" but just willing to maintain this small and usefull package


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