[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 #12 from Cristian Le <fedora@xxxxxxxxx> ---
Package got bumped, although nothing particularly notable.
I was expecting that `package.supported-arches` would make the package
`ExclusiveArch`. But I guess it's even even without?

---

Spec URL:
https://github.com/LecrisUT/rust-metris-rpmspec/raw/9f18f4d0039627a5fdb0e27c47d59c442cc60c23/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/07799292-rust-raw-cpuid/rust-raw-cpuid-11.1.0-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",
]
supported-arches = ["x86_64", "i686"]

[features]
enable = [
    "std",
    "serialize",
]
```

raw-cpuid-fix-metadata.diff
```
--- raw-cpuid-11.1.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ raw-cpuid-11.1.0/Cargo.toml 2024-07-28T20:44:37.764571+00:00
@@ -31,11 +31,7 @@
 ]
 license = "MIT"
 repository = "https://github.com/gz/rust-cpuid";
-
-[[bin]]
-name = "cpuid"
-path = "src/bin/cpuid.rs"
-required-features = ["cli"]
+autobins = false

 [[example]]
 name = "serialize_deserialize"
@@ -44,11 +40,6 @@

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

 [dependencies.serde]
 version = "1.0"
@@ -61,10 +52,6 @@

 [dependencies.serde_json]
 version = "1.0"
-optional = true
-
-[dependencies.termimad]
-version = "0.25"
 optional = true

 [dev-dependencies.core_affinity]
@@ -82,16 +69,6 @@
 version = "1.0"

 [features]
-cli = [
-    "display",
-    "clap",
-]
-display = [
-    "std",
-    "termimad",
-    "serde_json",
-    "serialize",
-]
 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%23c12

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