diff --git a/.gitignore b/.gitignore index c70f326..e7e0cf2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /safe-transmute-0.10.1.crate +/safe-transmute-0.11.0.crate diff --git a/rust-safe-transmute.spec b/rust-safe-transmute.spec index e1d901b..18ba5a3 100644 --- a/rust-safe-transmute.spec +++ b/rust-safe-transmute.spec @@ -1,24 +1,28 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 13 +%bcond_without check %global debug_package %{nil} %global crate safe-transmute Name: rust-%{crate} -Version: 0.10.1 -Release: 4%{?dist} +Version: 0.11.0 +Release: 1%{?dist} Summary: Safeguarded transmute() for Rust +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/safe-transmute Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -A safeguarded transmute() for Rust. +%global _description %{expand: +Safeguarded transmute() for Rust.} %description %{_description} @@ -34,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,7 +50,19 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "alloc" feature of "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -58,12 +74,15 @@ This package contains library source intended for building other packages which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -76,6 +95,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Tue Sep 29 2020 Fabio Valentini - 0.11.0-1 +- Update to version 0.11.0. + * Wed Jul 29 2020 Fedora Release Engineering - 0.10.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 15ee987..7cbd140 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (safe-transmute-0.10.1.crate) = 0298c9c2fd24e8d8e28d49228fc3f1d929477d2f35fa5ad2b0819afe031fe5361ecd45c64e5b28235f46a5ca109f99f330575d1bb003e5a59d8a73ac6482fceb +SHA512 (safe-transmute-0.11.0.crate) = 5f14c0b3534123c25804b20b54ce965f981b8aaf8ff2df639f3f2c0b77699edd05eb2c97129edc6e84a86882ff86ffe0e7c90e23b5cbd1b3ba08ed7fd1c93a56