diff --git a/.gitignore b/.gitignore index a9b10bf..762c0c1 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /rustc-demangle-0.1.19.crate /rustc-demangle-0.1.20.crate /rustc-demangle-0.1.21.crate +/rustc-demangle-0.1.22.crate diff --git a/README.md b/README.md deleted file mode 100644 index 1e97ed7..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-rustc-demangle - -The rust-rustc-demangle package \ No newline at end of file diff --git a/rust-rustc-demangle.spec b/rust-rustc-demangle.spec index bd0cb76..bc1a0a1 100644 --- a/rust-rustc-demangle.spec +++ b/rust-rustc-demangle.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate rustc-demangle Name: rust-rustc-demangle -Version: 0.1.21 +Version: 0.1.22 Release: %autorelease Summary: Rust compiler symbol demangling @@ -13,9 +13,6 @@ Summary: Rust compiler symbol demangling License: MIT OR Apache-2.0 URL: https://crates.io/crates/rustc-demangle Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * disable LTO to work around LLVM crashes on ppc64le -Patch: rustc-demangle-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -51,6 +48,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/rustc-demangle-fix-metadata.diff b/rustc-demangle-fix-metadata.diff deleted file mode 100644 index 6afbd68..0000000 --- a/rustc-demangle-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- rustc-demangle-0.1.21/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ rustc-demangle-0.1.21/Cargo.toml 2022-12-15T13:04:12.788012+00:00 -@@ -20,8 +20,6 @@ - readme = "README.md" - license = "MIT/Apache-2.0" - repository = "https://github.com/alexcrichton/rustc-demangle" --[profile.release] --lto = true - [dependencies.compiler_builtins] - version = "0.1.2" - optional = true diff --git a/sources b/sources index 4b64b61..df99fd0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustc-demangle-0.1.21.crate) = 4031b26863a726cc6d3398b48682e0f0f9e5665abf20a5d35343a904ebd7c0d3752dcdd3a049b2bfa3e2a303214dc39a2980700bcc64464f7029be3c7f34727c +SHA512 (rustc-demangle-0.1.22.crate) = 0fcf7739b5471c080d5409c6416c6177a2875b56f525c1a1a70e8152e190e51b3e58f4331d724335d009e12ed7dd1502c41847aa7bd7302c7d66a93c53e19b0c