diff --git a/.gitignore b/.gitignore index a40e59c..56b632e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /raw-window-handle-0.3.3.crate /raw-window-handle-0.4.2.crate /raw-window-handle-0.4.3.crate +/raw-window-handle-0.5.2.crate diff --git a/rust-raw-window-handle.spec b/rust-raw-window-handle.spec index 5e8418c..d539b5d 100644 --- a/rust-raw-window-handle.spec +++ b/rust-raw-window-handle.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate raw-window-handle -Name: rust-%{crate} -Version: 0.4.3 +Name: rust-raw-window-handle +Version: 0.5.2 Release: %autorelease Summary: Interoperability library for Rust Windowing applications -# Upstream license specification: MIT OR Apache-2.0 OR Zlib -License: MIT or ASL 2.0 or zlib +License: MIT OR Apache-2.0 OR Zlib URL: https://crates.io/crates/raw-window-handle Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -64,6 +61,18 @@ use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-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/sources b/sources index dc3c00f..4abf24c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (raw-window-handle-0.4.3.crate) = f0cd7aa69b680fc87fae11578adbd9c745a00d30ef8e13b2c4937d8bfa8d75cef1771827be485aa2d9cc7deb74f5364b39f8f59503e803ffaf9c2d9619637fb2 +SHA512 (raw-window-handle-0.5.2.crate) = 51d93a4609533742178ab15d4454ffca1668e2a03c2a6e742ee2a61554564c74307311a50e3992919451f4f4d30ac112284413fb4310abbf06c0fa24d85d5971