[Bug 2114603] Review Request: python-kgb - Intercept and record calls to functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #8 from Miro Hrončok <mhroncok@xxxxxxxxxx> ---
> The spec file indeed looks a ton cleaner now.

Awesome, indeed it does.



A few more tiny nit-picks:

-----------

> BuildRequires:  python3-setuptools

vs.

> BuildRequires:  python3dist(pytest)

This is not consistent. Let's use python3dist(setuptools) and
python3dist(pytest), or python3-setuptools and python3-pytest?

-----------

> install -m 644 %{SOURCE1} LICENSE

This is part of %install, but it does not install the LICENSE file to the
package, it merely copies the file to $PWD. Semantically, this belongs to
%prep. I'd probably use `cp -a` instead of `install` myself, but that's just my
personal opinion.


-----------

> %dir %{python3_sitelib}/kgb
> %{python3_sitelib}/kgb/*

This does not look like a namespace package. I'd use simpler:

%{python3_sitelib}/kgb/


-----------

> %{python3_sitelib}/kgb-%{version}.dist-info*

Does this work:

%{python3_sitelib}/kgb-%{version}.dist-info/

?

It is more explicit. Also easy to spot that it is a directory.


-----------


Approximatelly half of the pacakge is occupied by
/usr/lib/python3.10/site-packages/kgb/tests/ -- consider either not packaging
those at all, or moving them to a python3-kgb-tests subpackage.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2114603
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux