https://bugzilla.redhat.com/show_bug.cgi?id=2569284
Cristian Le <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|[email protected] |[email protected] --- Comment #4 from Cristian Le <[email protected]> --- Mostly catch-up from the previous structure, but otherwise it looks fine - The build fails when I run it locally ``` mv: cannot stat 'thirdparty/JSON-Schema-Test-Suite-7ab81c077a6ff1bcf8d3c35b7209e1b402d465de/': No such file or directory ``` - The spec file looks good, but the srpm is out-of-sync, it uses a version that failed to build, please make sure these are always in sync - Can you contact upstream and ask to expose the tests as a ctest? - Can you request upstream to install the cmake files in `CMAKE_INSTALL_DATADIR` instead of `CMAKE_INSTALL_LIBDIR`? This would allow to make `-devel` a true `BuildArch: noarch` - Recommend to use the `%conf` separation unless there is a specific need otherwise - You should add a `%{nil}` if you are going to use a `%cmake ... \` with a macro at the end. Alternatively you can write that macro line as `-Dvalijson_BUILD_TESTS:BOOL=%{with tests}` - `--config` in `%cmake_build` is unnecessary we are using single-configuration ninja generators - Can you look into the examples vs tests and give a quick word if it makes sense to build the examples or not? - I don't see a reference for the `json11` comment there, can you re-raise it? Afaict it was removed because upstream is unmaintained and removed in Fedora. They even provide `valijson_EXCLUDE_JSON11`, but it seems it does not cover the exclusion of file installation, can you file an issue for them? - A `Provides: bundled(JSON-Schema-Test-Suite)` is missing - `include/compat/optional.hpp` is no longer present afaict, so the `BSL-1.0` is mostly no longer relevant. You can keep it for the top-level/SourceLicense, but change it for `devel` - Please use a raw link for the spec file and other such links that can be `curl` downloaded directly. Much of the integration will break - You mentioned you had done a copr build of this, it would be nice to include it - The `Requires` are a bit sus, I suspect you do not need *all* of them, and I do not see `target_link_libraries` or a `Config.cmake` that would do those import requirements. You could shoot upstream a message to get a clarification of this, and I would recommend them to create some wrapper targets for these integrations if desired -- 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=2569284 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202569284%23c4 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
