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



--- Comment #4 from Anusha Srivatsa <[email protected]> ---
(In reply to José Expósito from comment #3)
> Hi Anusha, 
> 
> Thanks a lot for your review!
> 
> > These are false positives — "virglrenderer" is the name of an upstream 
> > project.
> >
> > Can this can be suppressed? 
> 
> Yes, I added a `venus-protocol.rpmlintrc` file suppressing this warning:
> https://jexposit.fedorapeople.org/new-packages/venus-protocol/venus-protocol.
> rpmlintrc
> 
> To test it, I ran:
> 
> ```
> $ rpmbuild -bs --define "_sourcedir $(pwd)" --define "_srcrpmdir $(pwd)"
> venus-protocol.spec
> $ mock -r fedora-44-x86_64 --rebuild venus-protocol-*.src.rpm
> $ rpmlint -r venus-protocol.rpmlintrc venus-protocol.spec
> venus-protocol-*.src.rpm /var/lib/mock/fedora-44-x86_64/result/*.rpm
> ```
> 
> And it build/lints cleanly.
> 
> > SHOULD — Add BuildArch: noarch
> 
> True! I changed the package to be noarch.
> 
> > The package can have BuildArch: noarch and install the .pc file under 
> > %{_datadir}/pkgconfig/ instead of %{_libdir}/pkgconfig/.
> 
> Also moved the .pc file to `%{_datadir}`:
> 
> ```
> %install
> %meson_install
> 
> # Move the .pc file to /usr/share/pkgconfig/, which is arch-independent and
> the
> # correct path for a header-only package
> mkdir -p %{buildroot}%{_datadir}/pkgconfig
> mv %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
> %{buildroot}%{_datadir}/pkgconfig/
> ```
> 
> > 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" 
> 
> I opened a ticket here:
> https://gitlab.freedesktop.org/virgl/venus-protocol/-/work_items/16
> 
> This is not a blocker, but once the license is available upstream we can add
> it.

Perfect. Thanks for the updates.
With the changes above, everything looks good.


Approved!


-- 
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%23c4

-- 
_______________________________________________
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