[Bug 2283685] Review Request: rust-raw-cpuid - Library to parse the x86 CPUID instruction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #1 from Cristian Le <fedora@xxxxxxxxx> ---
Spec URL:
https://github.com/LecrisUT/rust-metris-rpmspec/raw/83dda26784f2c9cbe603473e461adaec238ddb34/rust-raw-cpuid/rust-raw-cpuid.spec
SRPM URL:
https://download.copr.fedorainfracloud.org/results/packit/LecrisUT-rust-metris-rpmspec-main/fedora-rawhide-x86_64/07711190-rust-raw-cpuid/rust-raw-cpuid-11.0.2-1.fc41.src.rpm

rust2rpm.toml:
```toml
[package]
summary = "Library to parse the x86 CPUID instruction"
cargo-install-bin = false
cargo-toml-patch-comments = [
    "- Remove clashing binary package",
    "- Remove cli and display features",
]

[features]
hide = [
    "cli",
    "display",
]

[scripts.prep]
post = [
    "# Remove unused cli files",
    "rm -r src/bin",
]
```

raw-cpuid-fix-metadata.diff
```
--- raw-cpuid-11.0.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ raw-cpuid-11.0.2/Cargo.toml 2024-05-28T18:01:14.469960+00:00
@@ -32,11 +32,6 @@
 license = "MIT"
 repository = "https://github.com/gz/rust-cpuid";

-[[bin]]
-name = "cpuid"
-path = "src/bin/cpuid.rs"
-required-features = ["cli"]
-
 [[example]]
 name = "serialize_deserialize"
 path = "examples/serialize_deserialize.rs"
@@ -44,11 +39,6 @@

 [dependencies.bitflags]
 version = "2.0"
-
-[dependencies.clap]
-version = "4.2"
-features = ["derive"]
-optional = true

 [dependencies.serde]
 version = "1.0"
@@ -63,21 +53,9 @@
 version = "1.0"
 optional = true

-[dependencies.termimad]
-version = "0.25"
-optional = true
-
 [features]
-cli = [
-    "display",
-    "clap",
-]
-display = [
-    "std",
-    "termimad",
-    "serde_json",
-    "serialize",
-]
+cli = []
+display = []
 serialize = [
     "serde",
     "serde_derive",
```


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

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

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux