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

Anusha Srivatsa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?([email protected] |
                   |om)                         |



--- Comment #2 from Anusha Srivatsa <[email protected]> ---
@jexpo(In reply to José Expósito from comment #1)
> Hey @[email protected], can you have a look to this package? 
> 
> https://docs.fedoraproject.org/en-US/packaging-guidelines/ReviewGuidelines/
> 
> At some point, the "Fedora Review Service" bot should post additional
> information :)

Hey! yes took a look at this.

- Built the source RPM in mock (mock -r fedora-44-x86_64
venus-protocol-1.1.3-1.fc44.src.rpm) — builds successfully
- Ran rpmlint on source and binary RPMs
- Verified source tarball matches upstream Source0 URL
- Inspected the spec file
- Checked installed file list from the built RPM
- Verified license headers in source files against the License field in the
spec
- Checked for bundled libraries
- Inspected the pkgconfig file contents

What looks good (MUST items — all pass)

- Naming: Package name and spec filename follow guidelines
- License: MIT AND (Apache-2.0 OR MIT) is accurate. The project's own files
(meson.build, generated protocol headers) are MIT. Bundled Vulkan headers used
at build time carry Apache-2.0 OR MIT SPDX identifiers
- No bundling issue: Source includes Vulkan headers under include/vulkan/ and
include/vk_video/, but these are only used at build time for code generation.
The built RPM only installs venus-protocol-specific headers under
/usr/include/venus-protocol/ — no overlap with vulkan-headers
- Builds successfully: Compiles and produces binary RPMs on x86_64
- BuildRequires: All build dependencies are listed (gcc, git-core, meson >=
0.54.0, python3-mako). meson.build has no external dependency() or
find_program() calls beyond these
- No ExcludeArch: No architectures excluded, none needed
- File ownership: All files under /usr/include/venus-protocol/ (owned by this
package), pkgconfig file under /usr/lib64/pkgconfig/
- No .la files, no duplicate files
- debug_package %{nil}: Correctly set since no compiled binaries are produced
- %check: Runs %meson_test
- Spec legibility: Clean, uses macros consistently (%autorelease,
%autochangelog, %meson, %autosetup)
- Summary and description: Written in American English, clear and useful
- pkgconfig file in -devel: Correct placement
- Provides %{name}-static: Appropriate for a headers-only package

One minor issue I noticed is the spelling error for rpmlint output

venus-protocol.src: E: spelling-error ('virglrenderer', '%description -l en_US
virglrenderer -> philanderer')
venus-protocol-devel.x86_64: E: spelling-error ('virglrenderer', '%description
-l en_US virglrenderer -> philanderer')
2 packages and 0 specfiles checked; 2 errors, 0 warnings

These are false positives — "virglrenderer" is the name of an upstream project.

Can this can be suppressed? 


What needs to change

SHOULD — Add BuildArch: noarch

The package only installs header files and a pkgconfig file. The .pc file
contains no arch-specific paths:

prefix=/usr
includedir=${prefix}/include
Name: venus-protocol
Description: Venus Vulkan protocol
Version: 1.1.3
Cflags: -I${includedir}/venus-protocol

The package can have BuildArch: noarch and install the .pc file under
%{_datadir}/pkgconfig/ instead of %{_libdir}/pkgconfig/.

SHOULD — Add a LICENSE file

From the Review list: "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 must be included in %license" 

The source does not include a standalone license text file. License information
is only present as SPDX headers in individual source files. Per the guidelines,
the %license directive is only required when such a file exists, so this is not
a blocker, however, the review doc says:

"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. See
Licensing Guidelines:
:https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2566940

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202566940%23c2

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to