Spec URL: https://decathorpe.fedorapeople.org/rust-pyo3-ffi.spec SRPM URL: https://decathorpe.fedorapeople.org/rust-pyo3-ffi-0.16.6-1.fc37.src.rpm Description: Python-API bindings for the PyO3 ecosystem. Fedora Account System Username: decathorpe This package depends on a not-yet-published update to rust-pyo3-build-config, but a successful build is available in COPR: https://copr.fedorainfracloud.org/coprs/decathorpe/pyo3-0.16/build/5241030/ Note: This package is not for the latest version (v0.17.3) yet, but for the latest version on the 0.16 branch. Since both versions will need to be packaged either way, packaging v0.16 first, and then creating compat packages for v0.16 and updating to v0.17 is safer and easier.
*** Bug 2161736 has been marked as a duplicate of this bug. ***
Copr build: https://copr.fedorainfracloud.org/coprs/build/5241218 (failed) Build log: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2161765-rust-pyo3-ffi/fedora-rawhide-x86_64/05241218-rust-pyo3-ffi/builder-live.log.gz Please make sure the package builds successfully at least for Fedora Rawhide. - If the build failed for unrelated reasons (e.g. temporary network unavailability), please ignore it. - If the build failed because of missing BuildRequires, please make sure they are listed in the "Depends On" field --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service
There is only one thing I'm not sure about: subpackages have unversioned dependencies on the main package like "crate(pyo3-ffi)", is that ok? Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed ===== MUST items ===== Generic: [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. Note: Using prebuilt packages [x]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "*No copyright* GNU General Public License". 83 files have unknown license. Detailed output of licensecheck in /var/lib/copr-rpmbuild/results/rust- pyo3-ffi/licensecheck.txt [x]: License file installed when any subpackage combination is installed. [x]: %build honors applicable compiler flags or justifies otherwise. [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [-]: Package contains desktop file if it is a GUI application. [-]: Development files must be in a -devel package [x]: Package uses nothing in %doc for runtime. [x]: Package consistently uses macros (instead of hard-coded directory names). [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. [x]: Package obeys FHS, except libexecdir and /usr/target. [-]: If the package is a rename of another package, proper Obsoletes and Provides are present. [x]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: Package contains systemd file(s) if in need. [x]: Package is not known to require an ExcludeArch tag. [x]: Package complies to the Packaging Guidelines [x]: Package installs properly. [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: 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 is included in %license. [x]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [x]: Package does not own files or directories owned by other packages. [x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Dist tag is present. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package must not depend on deprecated() packages. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package does not use a name that already exists. [x]: Package is not relocatable. [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: File names are valid UTF-8. [x]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 0 bytes in 0 files. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [x]: Reviewer should test that the package builds in mock. [-]: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [x]: Final provides and requires are sane (see attachments). [?]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in rust- pyo3-ffi-devel , rust-pyo3-ffi+default-devel , rust- pyo3-ffi+abi3-devel , rust-pyo3-ffi+abi3-py310-devel , rust- pyo3-ffi+abi3-py37-devel , rust-pyo3-ffi+abi3-py38-devel , rust- pyo3-ffi+abi3-py39-devel , rust-pyo3-ffi+extension-module-devel [-]: Package functions as described. [-]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [x]: Patches link to upstream bugs/comments/lists or are otherwise justified. [-]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. [x]: Package should compile and build into binary rpms on all supported architectures. [x]: %check is present and all tests pass. [x]: Packages should try to preserve timestamps of original installed files. [x]: Buildroot is not present [x]: Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: Sources can be downloaded from URI in Source: tag [x]: SourceX is a working URL. [x]: Spec use %global instead of %define unless justified. ===== EXTRA items ===== Generic: [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). Rpmlint ------- Checking: rust-pyo3-ffi-devel-0.16.6-1.fc38.noarch.rpm rust-pyo3-ffi+default-devel-0.16.6-1.fc38.noarch.rpm rust-pyo3-ffi+abi3-devel-0.16.6-1.fc38.noarch.rpm rust-pyo3-ffi+abi3-py310-devel-0.16.6-1.fc38.noarch.rpm rust-pyo3-ffi+abi3-py37-devel-0.16.6-1.fc38.noarch.rpm rust-pyo3-ffi+abi3-py38-devel-0.16.6-1.fc38.noarch.rpm rust-pyo3-ffi+abi3-py39-devel-0.16.6-1.fc38.noarch.rpm rust-pyo3-ffi+extension-module-devel-0.16.6-1.fc38.noarch.rpm rust-pyo3-ffi-0.16.6-1.fc38.src.rpm ============================ rpmlint session starts ============================ rpmlint: 2.4.0 configuration: /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.toml /etc/xdg/rpmlint/fedora-spdx-licenses.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml rpmlintrc: [PosixPath('/tmp/tmppjvomyt4')] checks: 31, packages: 9 rust-pyo3-ffi+abi3-devel.noarch: W: no-documentation rust-pyo3-ffi+abi3-py310-devel.noarch: W: no-documentation rust-pyo3-ffi+abi3-py37-devel.noarch: W: no-documentation rust-pyo3-ffi+abi3-py38-devel.noarch: W: no-documentation rust-pyo3-ffi+abi3-py39-devel.noarch: W: no-documentation rust-pyo3-ffi+default-devel.noarch: W: no-documentation rust-pyo3-ffi+extension-module-devel.noarch: W: no-documentation 9 packages and 0 specfiles checked; 0 errors, 7 warnings, 0 badness; has taken 0.2 s Rpmlint (installed packages) ---------------------------- ============================ rpmlint session starts ============================ rpmlint: 2.4.0 configuration: /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.toml /etc/xdg/rpmlint/fedora-spdx-licenses.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml checks: 31, packages: 8 rust-pyo3-ffi+abi3-devel.noarch: W: no-documentation rust-pyo3-ffi+abi3-py37-devel.noarch: W: no-documentation rust-pyo3-ffi+abi3-py38-devel.noarch: W: no-documentation rust-pyo3-ffi+extension-module-devel.noarch: W: no-documentation rust-pyo3-ffi+abi3-py39-devel.noarch: W: no-documentation rust-pyo3-ffi+abi3-py310-devel.noarch: W: no-documentation rust-pyo3-ffi+default-devel.noarch: W: no-documentation 8 packages and 0 specfiles checked; 0 errors, 7 warnings, 0 badness; has taken 0.0 s Source checksums ---------------- https://crates.io/api/v1/crates/pyo3-ffi/0.16.6/download#/pyo3-ffi-0.16.6.crate : CHECKSUM(SHA256) this package : ca882703ab55f54702d7bfe1189b41b0af10272389f04cae38fe4cd56c65f75f CHECKSUM(SHA256) upstream package : ca882703ab55f54702d7bfe1189b41b0af10272389f04cae38fe4cd56c65f75f Requires -------- rust-pyo3-ffi-devel (rpmlib, GLIBC filtered): (crate(libc/default) >= 0.2.62 with crate(libc/default) < 0.3.0~) (crate(pyo3-build-config/default) >= 0.16.6 with crate(pyo3-build-config/default) < 0.17.0~) (crate(pyo3-build-config/resolve-config) >= 0.16.6 with crate(pyo3-build-config/resolve-config) < 0.17.0~) cargo rust-pyo3-ffi+default-devel (rpmlib, GLIBC filtered): cargo crate(pyo3-ffi) python3-devel rust-pyo3-ffi+abi3-devel (rpmlib, GLIBC filtered): (crate(pyo3-build-config/abi3) >= 0.16.6 with crate(pyo3-build-config/abi3) < 0.17.0~) cargo crate(pyo3-ffi) rust-pyo3-ffi+abi3-py310-devel (rpmlib, GLIBC filtered): (crate(pyo3-build-config/abi3-py310) >= 0.16.6 with crate(pyo3-build-config/abi3-py310) < 0.17.0~) cargo crate(pyo3-ffi) crate(pyo3-ffi/abi3) python3-devel rust-pyo3-ffi+abi3-py37-devel (rpmlib, GLIBC filtered): (crate(pyo3-build-config/abi3-py37) >= 0.16.6 with crate(pyo3-build-config/abi3-py37) < 0.17.0~) cargo crate(pyo3-ffi) crate(pyo3-ffi/abi3-py38) python3-devel rust-pyo3-ffi+abi3-py38-devel (rpmlib, GLIBC filtered): (crate(pyo3-build-config/abi3-py38) >= 0.16.6 with crate(pyo3-build-config/abi3-py38) < 0.17.0~) cargo crate(pyo3-ffi) crate(pyo3-ffi/abi3-py39) python3-devel rust-pyo3-ffi+abi3-py39-devel (rpmlib, GLIBC filtered): (crate(pyo3-build-config/abi3-py39) >= 0.16.6 with crate(pyo3-build-config/abi3-py39) < 0.17.0~) cargo crate(pyo3-ffi) crate(pyo3-ffi/abi3-py310) python3-devel rust-pyo3-ffi+extension-module-devel (rpmlib, GLIBC filtered): (crate(pyo3-build-config/extension-module) >= 0.16.6 with crate(pyo3-build-config/extension-module) < 0.17.0~) cargo crate(pyo3-ffi) Provides -------- rust-pyo3-ffi-devel: crate(pyo3-ffi) rust-pyo3-ffi-devel rust-pyo3-ffi+default-devel: crate(pyo3-ffi/default) rust-pyo3-ffi+default-devel rust-pyo3-ffi+abi3-devel: crate(pyo3-ffi/abi3) rust-pyo3-ffi+abi3-devel rust-pyo3-ffi+abi3-py310-devel: crate(pyo3-ffi/abi3-py310) rust-pyo3-ffi+abi3-py310-devel rust-pyo3-ffi+abi3-py37-devel: crate(pyo3-ffi/abi3-py37) rust-pyo3-ffi+abi3-py37-devel rust-pyo3-ffi+abi3-py38-devel: crate(pyo3-ffi/abi3-py38) rust-pyo3-ffi+abi3-py38-devel rust-pyo3-ffi+abi3-py39-devel: crate(pyo3-ffi/abi3-py39) rust-pyo3-ffi+abi3-py39-devel rust-pyo3-ffi+extension-module-devel: crate(pyo3-ffi/extension-module) rust-pyo3-ffi+extension-module-devel Generated by fedora-review 0.9.0 (6761b6c) last change: 2022-08-23 Command line :/usr/bin/fedora-review --no-colors --prebuilt --rpm-spec --name rust-pyo3-ffi --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg Buildroot used: fedora-rawhide-x86_64 Active plugins: Shell-api, Generic Disabled plugins: Java, Ocaml, Python, R, PHP, Haskell, fonts, Perl, SugarActivity, C/C++ Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH
(In reply to Lumír Balhar from comment #3) > There is only one thing I'm not sure about: subpackages have unversioned > dependencies on the main package like "crate(pyo3-ffi)", is that ok? Weird. Where did you get this from? It might be a parsing error on the side of fedora-review ... Running this against my local build: $ rpm -q --requires rust-pyo3-ffi+default-devel-0.16.6-1.fc38.noarch.rpm Shows version-qualified dependency on the source subpackage: crate(pyo3-ffi) = 0.16.6
You are right, I took a look at the build log and it looks good there. You can see the unversioned requires in the output of the fedora-review above and also here: https://download.copr.fedorainfracloud.org/results/lbalhar/notebook/fedora-rawhide-x86_64/05243816-rust-pyo3-ffi/fedora-review/review.txt Package APPROVED!
Thanks! I'll push builds of pyo3 v0.16 ASAP, hoping that the upcoming mass rebuild won't make things super slow.
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-pyo3-ffi
Package built and submitted for rawhide, builds for f37 and f36 running (and a bit slow due to the ongoing mass rebuild). c.f. https://bodhi.fedoraproject.org/updates/FEDORA-2023-94af199014