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



--- Comment #2 from Michel Lind <[email protected]> ---
$ cat rust2rpm.toml
[package]
cargo-toml-patch-comments = [
  "include LICENSE",
]

[requires]
build = ["cargo-c"]

[scripts]
prep.post = ["""\
# copy in license file
cp -p %{SOURCE1} .
# copy in cbindgen.toml file
cp -p %{SOURCE2} ."""]

build.post = ["""\
%cargo_cbuild"""]

install.post = ["""\
%cargo_cinstall"""]

[tests]
skip = [
  # test data not included
  "inspect::tests::lookup_dwarf",
  "normalize::tests::normalize_build_id_reading",
  "symbolize::tests::symbolize_configurable_debug_dirs",
  "symbolize::tests::symbolize_no_debug_dirs",
  "symbolize::tests::symbolize_elf_file_offset",
  "symbolize::tests::symbolize_dwarf_demangle",
  # 0x0 != 0x0
  "normalize::tests::normalize_user_addrs_sorted",
  "normalize::tests::normalize_user_addrs",
  # !result.is_null()
  "symbolize::tests::symbolize_elf_dwarf_gsym",
  # BLAZE_ERR_PERMISSION_DENIED / BLAZE_ERR_INVALID_INPUT
  "normalize::tests::normalize_user_addrs_unsorted_failure",
]
skip-exact = true
comments = [
  "test data not included",
  "permission issues running tests in mock without root",
]


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2308280

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

-- 
_______________________________________________
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://pagure.io/fedora-infrastructure/new_issue

Reply via email to