From e63c10a1f296f71aa50c81dedaf3365ce8af962c Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 18 May 2020 10:58:24 -0700 Subject: [PATCH] Update to 3.1.1 --- .gitignore | 1 + rust-byte-unit.spec | 37 ++++++++++++++++++++++++++++++++----- sources | 2 +- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index b974a6e..ffdb55d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /byte-unit-3.0.1.crate /byte-unit-3.0.3.crate +/byte-unit-3.1.1.crate diff --git a/rust-byte-unit.spec b/rust-byte-unit.spec index 277bf54..69aa17c 100644 --- a/rust-byte-unit.spec +++ b/rust-byte-unit.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate byte-unit Name: rust-%{crate} -Version: 3.0.3 -Release: 2%{?dist} +Version: 3.1.1 +Release: 1%{?dist} Summary: Library for interaction with units of bytes # Upstream license specification: MIT @@ -38,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} @@ -50,7 +50,31 @@ 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 + +%package -n %{name}+u128-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+u128-devel %{_description} + +This package contains library source intended for building other packages +which use "u128" feature of "%{crate}" crate. + +%files -n %{name}+u128-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -71,6 +95,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Mon May 18 2020 Josh Stone - 3.1.1-1 +- Update to 3.1.1 + * Thu Jan 30 2020 Fedora Release Engineering - 3.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index c4cc884..5e385af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (byte-unit-3.0.3.crate) = 7373664af119ec32d1375ecd3cdfb860eb4eecd91df4408959c12ed8e768e21516558ba3bf116144a1fbe47a746dac58fc7f1335ac89aa63a0070e7e74dcf87a +SHA512 (byte-unit-3.1.1.crate) = 676b8e3398b8b74c2e235318348d995b4ab953990e40d082f29c6c450e8feca40fdacb049b6404cadb88259e2ca4d47b3ed620d907301577ae079aa3f2396fc0