Spec URL: https://lbalhar.fedorapeople.org/rust-lib0.spec SRPM URL: https://lbalhar.fedorapeople.org/rust-lib0-0.14.1-1.fc37.src.rpm Description: Efficient binary encoding library for Yrs. Fedora Account System Username: lbalhar This package needs a new version of proptest-derive. An update proposed in https://src.fedoraproject.org/rpms/rust-proptest-derive/pull-request/2 I'm testing it with many other packages I'm working on right now in https://copr.fedorainfracloud.org/coprs/lbalhar/notebook/builds/
Spec URL: https://lbalhar.fedorapeople.org/rust-lib0.spec SRPM URL: https://lbalhar.fedorapeople.org/rust-lib0-0.12.2-1.fc37.src.rpm I've decided to package an older version 0.12 because python-y-py needs it (transitively) and there is currently no need for the latest version to be packaged.
Copr build: https://copr.fedorainfracloud.org/coprs/build/5241591 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2153697-rust-lib0/fedora-rawhide-x86_64/05241591-rust-lib0/fedora-review/review.txt Please take a look if any issues were found. --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service
> Source: https://github.com/y-crdt/y-crdt/blob/main/LICENSE Could you please us a link that 1) is tagged with the appropriate version 2) leads to the file and not a HTML page? This should do: https://github.com/y-crdt/y-crdt/raw/release-v%{version}/LICENSE See from the fedora-review output: https://github.com/y-crdt/y-crdt/blob/main/LICENSE : CHECKSUM(SHA256) this package : c01414e4affff31246bfe5c8a2c5851364888e56069432839bd7543b9c14d3e8 CHECKSUM(SHA256) upstream package : f1811cce5805b547f8ee9ce44c98a004e7038ccad2b1c645f74c9c3a45973cac > rust-lib0-devel.noarch: W: no-documentation Should there be a %doc README in this package? > rust-lib0-devel.noarch: W: files-duplicate /usr/share/licenses/rust-lib0-devel/LICENSE /usr/share/cargo/registry/lib0-0.12.2/LICENSE Is it necessary to have %license LICENSE in the devel package when the file is already in? (Although it is not marked as %license, so this is likely an issue with rust2rpm. The rest of the spec seems OK to me. ===== MUST items ===== Generic: [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [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", "MIT License". [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. [x]: 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. [?]: Package complies to the Packaging Guidelines [x]: Package installs properly. [x]: Rpmlint is run on all rpms the build produces. [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]: 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. [x]: 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. [?]: Package functions as described. [?]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [-]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. [?]: Package should compile and build into binary rpms on all supported architectures. [x]: %check is present and all tests pass. [?]: 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. rust-lib0+serde-devel.noarch: W: no-documentation rust-lib0+default-devel.noarch: W: no-documentation rust-lib0-devel.noarch: W: no-documentation rust-lib0+serde_json-devel.noarch: W: no-documentation rust-lib0+lib0-serde-devel.noarch: W: no-documentation rust-lib0-devel.noarch: E: files-duplicated-waste 154691 rust-lib0-devel.noarch: W: files-duplicate /usr/share/licenses/rust-lib0-devel/LICENSE /usr/share/cargo/registry/lib0-0.12.2/LICENSE 5 packages and 0 specfiles checked; 1 errors, 6 warnings, 1 badness; has taken 0.0 s
Thanks for the review! (In reply to Miro Hrončok from comment #3) > > Source: https://github.com/y-crdt/y-crdt/blob/main/LICENSE > > Could you please us a link that 1) is tagged with the appropriate version 2) > leads to the file and not a HTML page? > > This should do: > https://github.com/y-crdt/y-crdt/raw/release-v%{version}/LICENSE > > See from the fedora-review output: > > https://github.com/y-crdt/y-crdt/blob/main/LICENSE : > CHECKSUM(SHA256) this package : > c01414e4affff31246bfe5c8a2c5851364888e56069432839bd7543b9c14d3e8 > CHECKSUM(SHA256) upstream package : > f1811cce5805b547f8ee9ce44c98a004e7038ccad2b1c645f74c9c3a45973cac Fixed. > > > rust-lib0-devel.noarch: W: no-documentation > > Should there be a %doc README in this package? There is no readme file in the lib0 folder and there is only one sentence about lib0 in the main project readme. Also, the description at https://crates.io/crates/lib0 is empty. > > rust-lib0-devel.noarch: W: files-duplicate /usr/share/licenses/rust-lib0-devel/LICENSE /usr/share/cargo/registry/lib0-0.12.2/LICENSE > > Is it necessary to have %license LICENSE in the devel package when the file > is already in? (Although it is not marked as %license, so this is likely an > issue with rust2rpm. AFAIK this is a common issue in rust packages. I saw this error many times. My guess is that it's better to have it twice to mark it properly as a license file.
Package APPROVED.
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-lib0
FEDORA-2023-8e8bed6e15 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8e8bed6e15
FEDORA-2023-8e8bed6e15 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.