From f886437a3b1eb8db7b861d245283f3dabf39d21f Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 16 Jan 2020 13:41:04 -0800 Subject: [PATCH] Update to 0.2.0 --- .gitignore | 1 + rust-fixedbitset.spec | 35 ++++++++++++++++++++++++++++------- sources | 2 +- 3 files changed, 30 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 29a71b3..a60d920 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /fixedbitset-0.1.8.crate /fixedbitset-0.1.9.crate +/fixedbitset-0.2.0.crate diff --git a/rust-fixedbitset.spec b/rust-fixedbitset.spec index 338f94c..07e472c 100644 --- a/rust-fixedbitset.spec +++ b/rust-fixedbitset.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm +# Generated by rust2rpm 13 %bcond_with check %global debug_package %{nil} %global crate fixedbitset Name: rust-%{crate} -Version: 0.1.9 -Release: 5%{?dist} +Version: 0.2.0 +Release: 1%{?dist} Summary: Simple bitset collection # Upstream license specification: MIT/Apache-2.0 @@ -15,11 +15,14 @@ URL: https://crates.io/crates/fixedbitset Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -FixedBitSet is a simple bitset collection. +%global _description %{expand: +FixedBitSet is a simple bitset collection.} %description %{_description} @@ -35,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.rst -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,12 +50,27 @@ 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}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +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_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -65,6 +83,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Thu Jan 16 2020 Josh Stone - 0.2.0-1 +- Update to 0.2.0 + * Fri Jul 26 2019 Fedora Release Engineering - 0.1.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 9b0dc43..f4e42db 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fixedbitset-0.1.9.crate) = 07b45fb7e676c6a1b450d23ff53651e1ea1eafdbfc5bc304b13255e0c30f72718fb37fe0f17f2baff799015aa29405b8a677eac604e3219e5ed3f9abecda1964 +SHA512 (fixedbitset-0.2.0.crate) = 44642b270d52f71637a87e5311f70ac77baa2a377f94254d1bd728b4ff02a3176f3a5d07732c0c4fb9bf303dbeecf327432ae01e2779d966cc13b5fb97cbc28c