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

Petr Menšík <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #15 from Petr Menšík <[email protected]> ---
I have played with my own package and made it a bit different way.
Unfortunately purely manual hacking:
https://github.com/pemensik/rust-cpuid/commit/45d2e8fd73770669bf3e31272c51e8abcc34a24e

I have not found nice way to skip bin target directly from rust2rpm. I were
able to prepare working version automatically:

$ cat rust2rpm.toml 
[package]
summary = "Rust library to parse the x86 CPUID instruction"
cargo-install-bin = false
supported-arches = ["x86_64", "i686"]

[features]
enable-all = false
enable = ["std", "serialize"]
hide = ["cli"]
disable-default = true

$ rust2rpm raw-cpuid && sed -e 's/ cli,/ /g' -i *.spec

I have not found decent way to supress cli by rust2rpm.toml. I think some
feature request would be nice to make it easier.


-- 
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=2283685

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

-- 
_______________________________________________
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