Bug 1803281
Summary: | Review Request: fonts-rpm-macros - rpm automation for fonts packages | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
Component: | Package Review | Assignee: | Gwyn Ciesla <gwync> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | gwync, package-review |
Target Milestone: | --- | Flags: | gwync:
fedora-review+
|
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-02-20 22:17:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nicolas Mailhot
2020-02-14 23:01:45 UTC
? MUST: rpmlint must be run on the source rpm and all binary rpms the build produces. The output should be posted in the review. Most of rpmlint's output can be ignored for this case. %build section is missing, and description is too long. + MUST: The package must be named according to the Package Naming Guidelines + MUST: The spec file name must match the base package %{name}, in the format %{name}.spec unless your package has an exemption. [2] . + MUST: The package must meet the Packaging Guidelines . + MUST: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines . + MUST: The License field in the package spec file must match the actual license. [3] + 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.[4] + MUST: The spec file must be written in American English. [5] ? MUST: The spec file for the package MUST be legible. [6] Changelog lacks versions, and includes emoji. + MUST: The sources used to build the package must match the upstream source, as provided in the spec URL. Reviewers should use sha256sum for this task as it is used by the sources file once imported into git. If no upstream URL can be specified for this package, please see the Source URL Guidelines for how to deal with this. + MUST: The package MUST successfully compile and build into binary rpms on at least one primary architecture. [7] N/A MUST: If the package does not successfully compile, build or work on an architecture, then those architectures should be listed in the spec in ExcludeArch. Each architecture listed in ExcludeArch MUST have a bug filed in bugzilla, describing the reason that the package does not compile/build/work on that architecture. The bug number MUST be placed in a comment, next to the corresponding ExcludeArch line. [8] + MUST: All build dependencies must be listed in BuildRequires. [9] + MUST: The spec file MUST handle locales properly. This is done by using the %find_lang macro. Using %{_datadir}/locale/* is strictly forbidden.[10] + MUST: Packages must NOT bundle copies of system libraries.[11] N/A MUST: If the package is designed to be relocatable, the packager must state this fact in the request for review, along with the rationalization for relocation of that specific package. Without this, use of Prefix: /usr is considered a blocker. [12] + MUST: A package must own all directories that it creates. If it does not create a directory that it uses, then it should require a package which does create that directory. [13] + MUST: A Fedora package must not list a file more than once in the spec file’s %files listings. (Notable exception: license texts in specific situations)[14] + MUST: Permissions on files must be set properly. Executables should be set with executable permissions, for example. [15] + MUST: Each package must consistently use macros. [16] + MUST: The package must contain code, or permissible content. [17] N/A MUST: Large documentation files must go in a -doc subpackage. (The definition of large is left up to the packager’s best judgement, but is not restricted to size. Large can refer to either size or quantity). [18] + MUST: If a package includes something as %doc, it must not affect the runtime of the application. To summarize: If it is in %doc, the program must run properly if it is not present. [19] N/A MUST: Static libraries must be in a -static package. [20] N/A MUST: Development files must be in a -devel package. [21] N/A MUST: In the vast majority of cases, devel packages must require the base package using a fully versioned dependency: Requires: %{name}%{?_isa} = %{version}-%{release} [22] + MUST: Packages must NOT contain any .la libtool archives, these must be removed in the spec if they are built.[23] N/A MUST: Packages containing GUI applications must include a %{name}.desktop file, and that file must be properly installed with desktop-file-install in the %install section. If you feel that your packaged GUI application does not need a .desktop file, you must put a comment in the spec file with your explanation. [24] N/A MUST: Packages must not own files or directories already owned by other packages. The rule of thumb here is that the first package to be installed should own the files or directories that other packages may rely upon. This means, for example, that no package in Fedora should ever share ownership with any of the files or directories owned by the filesystem or man package. If you feel that you have a good reason to own a file or directory that another package owns, then please present that at package review time. [25] + MUST: All filenames in rpm packages must be valid UTF-8. [26] + MUST: Packages being added to the distribution MUST NOT depend on any packages which have been marked as being deprecated. [27] So it's just cosmetic things, really. Thanks for the review! So, to answer: 1. no %build section → this is normal, the package is not transforming source files, only ventilating them on the filesystem. Do you want me to add an empty %build section? I prefer avoiding those, we’ve had cases when buggy debuginfo (or other) macros assumed %build presence meant something happened in build, and specs with empty build sections failed in koji. But, in the absence of such bugs empty build sections are generally harmless 2. description is too long → what would be the correct description length for you? It does not seem especially long to me (way shorter than the description of glibc or systemd, for example) 3. Changelog lacks versions But it does include versions (it was one of the approved changelog formats, back when FPC cared about such things, and rpmbuild & friends have no difficulty parsing it) 4. and includes emoji. It’s valid UTF-8 and I like to make use of the fonts I package for Fedora;). https://docs.fedoraproject.org/en-US/packaging-guidelines/#_spec_file_encoding I can remove it if you feel strongly about it 1. Leave it then. :) 2. Less than 80 chars per line. 3. Ok. 4. No, that's cool. I trust you to correct these things prior to import. APPROVED. Thanks, I fixed the improperly wrapped lines here https://copr.fedorainfracloud.org/coprs/nim/fonts-rpm-macros/build/1246667/ now I will proceed to fedpkg import (fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/fonts-rpm-macros And it is built for f33 & 32: https://koji.fedoraproject.org/koji/buildinfo?buildID=1467739 https://koji.fedoraproject.org/koji/buildinfo?buildID=1467741 Thanks a lot for the admin work! Anytime. :) |