# Generated by rust2rpm 28 %bcond check 0 %global debug_package %{nil} %global crate sys_traits Name: rust-sys_traits Version: 0.1.28 Release: %autorelease Summary: Trait per function for system related functionality License: MIT URL: https://crates.io/crates/sys_traits Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: sys_traits-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Trait per function for system related functionality.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel # FIXME: no license files detected %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+filetime-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+filetime-devel %{_description} This package contains library source intended for building other packages which use the "filetime" feature of the "%{crate}" crate. %files -n %{name}+filetime-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+getrandom-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+getrandom-devel %{_description} This package contains library source intended for building other packages which use the "getrandom" feature of the "%{crate}" crate. %files -n %{name}+getrandom-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libc-devel %{_description} This package contains library source intended for building other packages which use the "libc" feature of the "%{crate}" crate. %files -n %{name}+libc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+memory-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+memory-devel %{_description} This package contains library source intended for building other packages which use the "memory" feature of the "%{crate}" crate. %files -n %{name}+memory-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+real-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+real-devel %{_description} This package contains library source intended for building other packages which use the "real" feature of the "%{crate}" crate. %files -n %{name}+real-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_json-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_json-devel %{_description} This package contains library source intended for building other packages which use the "serde_json" feature of the "%{crate}" crate. %files -n %{name}+serde_json-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+strip_unc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+strip_unc-devel %{_description} This package contains library source intended for building other packages which use the "strip_unc" feature of the "%{crate}" crate. %files -n %{name}+strip_unc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wasm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wasm-devel %{_description} This package contains library source intended for building other packages which use the "wasm" feature of the "%{crate}" crate. %files -n %{name}+wasm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+winapi-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+winapi-devel %{_description} This package contains library source intended for building other packages which use the "winapi" feature of the "%{crate}" crate. %files -n %{name}+winapi-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog