diff --git a/.gitignore b/.gitignore index 784f7a5..7a3ba80 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /radium-0.6.1.crate /radium-0.6.2.crate +/radium-0.7.0.crate diff --git a/rust-radium.spec b/rust-radium.spec index 69fc368..1bdf88c 100644 --- a/rust-radium.spec +++ b/rust-radium.spec @@ -1,25 +1,19 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate radium -Name: rust-%{crate} -Version: 0.6.2 +Name: rust-radium +Version: 0.7.0 Release: %autorelease Summary: Portable interfaces for maybe-atomic types -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/radium Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Portable interfaces for maybe-atomic types.} @@ -32,13 +26,13 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE.txt -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE.txt +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +40,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 97733da..38cb1a9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (radium-0.6.2.crate) = a1850f2c044f9ae0e56a8992226396bf61e9f3f7f288b18bea3ba60584a6533eb94ce8532507c6d084e4b263139bf61a1193f23589dc3ed8ac7127d0f34a81fd +SHA512 (radium-0.7.0.crate) = 51e23cf52997b46c0018a94b0259b29d7bf33ddba19f6db406ca57ee5b1417d7e5f27dda3bb487d0099886011a97f238e8b3dd4d6c86e8464c0b471c1a7622a0