From 507feac07beea90f2a0e8714125d2844591993d7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 7 May 2019 13:54:49 +0200 Subject: [PATCH] Update to 0.3.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-number_prefix.spec | 28 +++++++++++++++++++++------- sources | 2 +- 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 5e5748b..f9e69c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /number_prefix-0.2.7.crate /number_prefix-0.2.8.crate +/number_prefix-0.3.0.crate diff --git a/rust-number_prefix.spec b/rust-number_prefix.spec index 5f0580e..93ad36a 100644 --- a/rust-number_prefix.spec +++ b/rust-number_prefix.spec @@ -1,23 +1,22 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure +# Generated by rust2rpm-9-1.fc31 %bcond_with check %global debug_package %{nil} %global crate number_prefix Name: rust-%{crate} -Version: 0.2.8 -Release: 4%{?dist} +Version: 0.3.0 +Release: 1%{?dist} Summary: Library for formatting numeric prefixes: kilo, giga, kibi +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/number_prefix -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(num-traits/default) >= 0.2.0 with crate(num-traits/default) < 0.3.0) %global _description \ Library for formatting numeric prefixes: kilo, giga, kibi. @@ -50,8 +49,20 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/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}/Cargo.toml + %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -66,6 +77,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Tue May 07 13:54:03 CEST 2019 Igor Gnatenko - 0.3.0-1 +- Update to 0.3.0 + * Sat Feb 02 2019 Fedora Release Engineering - 0.2.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 6803bc0..25f7f8b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (number_prefix-0.2.8.crate) = 7b8745e6bf91cdfdd11dac33187359272149981d2b25a960316dabc2f34c162fe33ab2755efd82dc22faa0f208b1fa4046989e887fd93b8630b37239b6b59974 +SHA512 (number_prefix-0.3.0.crate) = 014c37c477b1c99c20461dfa6deb1692d93f10c592387bdb757d9220347ec7bfce5861e82029286cf3a64e9d53427cbfc40549e358c3fbaaebeb73e91b598107