From 72d3a5cc66f724cc61e3e10635bb9c3749c341fb Mon Sep 17 00:00:00 2001 From: Igor Raits Date: May 23 2020 19:27:11 +0000 Subject: Update to 1.0.1 Signed-off-by: Igor Raits --- diff --git a/.gitignore b/.gitignore index 2513941..67ebd70 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /bytesize-1.0.0.crate +/bytesize-1.0.1.crate diff --git a/rust-bytesize.spec b/rust-bytesize.spec index f596a7d..ed64b8e 100644 --- a/rust-bytesize.spec +++ b/rust-bytesize.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 15 +%bcond_without check %global debug_package %{nil} %global crate bytesize Name: rust-%{crate} -Version: 1.0.0 -Release: 5%{?dist} -Summary: Human-readable bytes representations +Version: 1.0.1 +Release: 1%{?dist} +Summary: Utility for human-readable bytes representations # Upstream license specification: Apache-2.0 License: ASL 2.0 @@ -15,13 +15,14 @@ URL: https://crates.io/crates/bytesize Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(serde/derive) >= 1.0.0 with crate(serde/derive) < 2.0.0) -%global _description \ -A utility for human-readable bytes representations. +%global _description %{expand: +Utility for human-readable bytes representations.} %description %{_description} @@ -37,8 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ -%exclude %{cargo_registry}/%{crate}-%{version}/.travis.yml +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +50,7 @@ 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}+serde-devel Summary: %{summary} @@ -62,12 +62,15 @@ This package contains library source intended for building other packages which use "serde" feature of "%{crate}" crate. %files -n %{name}+serde-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 @@ -80,6 +83,9 @@ which use "serde" feature of "%{crate}" crate. %endif %changelog +* Sat May 23 21:25:50 CEST 2020 Igor Raits - 1.0.1-1 +- Update to 1.0.1 + * Thu Jan 30 2020 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 81a9cc8..0c83b43 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bytesize-1.0.0.crate) = a8837bc05efbf6faf55ce76cffb0f8ef2f47baad2f65875da246f4a8f1052af0fcd8f156950deac0e57e015183d740e0d8ced1e6da1aaecf03244ad370d926b8 +SHA512 (bytesize-1.0.1.crate) = 99a11059c27ed3c0279acafff1c0fa27fb7e5021876d2ad3a79ff8f31030fdc8a1b5969063ec6578499412804564cd3cb325c9198196bd4a078225a47179f605