# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate safe-transmute Name: rust-safe-transmute Version: 0.11.2 Release: 5%{?dist} Summary: Safeguarded transmute() for Rust License: MIT URL: https://crates.io/crates/safe-transmute Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: A safeguarded transmute() for Rust.} %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 %license %{crate_instdir}/LICENSE %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}+alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+const_generics-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+const_generics-devel %{_description} This package contains library source intended for building other packages which use the "const_generics" feature of the "%{crate}" crate. %files -n %{name}+const_generics-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 %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Tue May 16 2023 Kalev Lember - 0.11.2-5 - Re-generate packaging with rust2rpm 24 * Sat Jul 23 2022 Fedora Release Engineering - 0.11.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.11.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.11.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 01 2021 Fabio Valentini - 0.11.2-1 - Update to version 0.11.2. - Fixes RHBZ#1966353 * Fri Mar 05 2021 Fabio Valentini - 0.11.1-1 - Update to version 0.11.1. - Fixes RHBZ#1849331 * Wed Jan 27 2021 Fedora Release Engineering - 0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 30 15:32:49 CET 2020 Igor Raits - 0.11.0-1 - Update to 0.11.0 * Wed Jul 29 2020 Fedora Release Engineering - 0.10.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.10.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Mar 15 2019 Igor Gnatenko - 0.10.1-1 - Initial package