[Bug 2382327] Review Request: mass-prebuild - A tool to massively rebuild reverse dependencies

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

 



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



--- Comment #5 from Miro Hrončok <mhroncok@xxxxxxxxxx> ---
Please use raw links to spec+srpm, not to HTML pages with them. That allows
automatic checks via Fedora Review. Thanks.



Spec file sanity:


> %global pyname mass_prebuild

This macro is only used once. Consider replacing that usage with mass_prebuild
verbatim.


> Release:        3%{?dist}

%autorelese is the preferred way in Fedora.
https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_release_tag


> Summary:        A set of tools to massively pre-build reverse dependencies for a package

Consider saying this is for RPM packages.


> Patch:          drop-setuptools_scm.patch

This patch only includes an explanation within the patch itself. However, each
patch reason should be explained in the specfile.
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_patch_guidelines


> Patch:          0001-docs-license-Update-GPL-to-latest-version.patch

Same here + please don't change licenses downstream.


> # The pyproject.toml file needs to be updated upstream to had more of these.
> BuildRequires:  python3-copr
> ...

Consider explaining what those are. Are those upstream-undeclared runtime
dependencies? Or test dependencies? Or actual build dependencies?


> install -d %{buildroot}%{_sysconfdir}/bash_completion.d

Please use %{bash_completions_dir}.
https://docs.fedoraproject.org/en-US/packaging-guidelines/ShellCompletions/

Note that this also has a different value (/usr/share-based rather than
/etc-based), which is the correct location to install bash completions from RPM
packages.



> %config(noreplace) %{_sysconfdir}/bash_completion.d/mpb*

If, for some reason, you actually need the bash completions in /etc, do you
expect users to modify them themselves? The %config(noreplace) notation seems
to be abused here.


> %license LICENSE

You use `%pyproject_save_files -l` hence manually listing a %license file
should not be necessary.


-- 
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=2382327

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

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