diff --git a/.gitignore b/.gitignore index f9e69c9..0ff9676 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /number_prefix-0.2.7.crate /number_prefix-0.2.8.crate /number_prefix-0.3.0.crate +/number_prefix-0.4.0.crate diff --git a/rust-number_prefix.spec b/rust-number_prefix.spec index 6a94cb3..74fc1e1 100644 --- a/rust-number_prefix.spec +++ b/rust-number_prefix.spec @@ -1,15 +1,16 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate number_prefix Name: rust-%{crate} -Version: 0.3.0 -Release: 7%{?dist} -Summary: Library for formatting numeric prefixes: kilo, giga, kibi +Version: 0.4.0 +Release: 1%{?dist} +Summary: Library for numeric prefixes (kilo, giga, kibi) # Upstream license specification: MIT +# https://github.com/ogham/rust-number-prefix/pull/8 License: MIT URL: https://crates.io/crates/number_prefix Source: %{crates_source} @@ -22,7 +23,7 @@ BuildArch: noarch BuildRequires: rust-packaging %global _description %{expand: -Library for formatting numeric prefixes: kilo, giga, kibi.} +Library for numeric prefixes (kilo, giga, kibi).} %description %{_description} @@ -36,9 +37,7 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel -%license LICENCE -%doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +49,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}+std-devel Summary: %{summary} @@ -62,7 +61,7 @@ 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 +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -83,6 +82,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Tue Jul 20 2021 Fabio Valentini - 0.4.0-1 +- Update to version 0.4.0. + * Wed Jan 27 2021 Fedora Release Engineering - 0.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 25f7f8b..6a76430 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (number_prefix-0.3.0.crate) = 014c37c477b1c99c20461dfa6deb1692d93f10c592387bdb757d9220347ec7bfce5861e82029286cf3a64e9d53427cbfc40549e358c3fbaaebeb73e91b598107 +SHA512 (number_prefix-0.4.0.crate) = a43b668d7314218b86ca7451daa9dfef71f6c9f6616bc34c12d94ae6030f182bcca9da83905cb46f3d49d0aa81385a787e92e4f3ae239658067adc249f8174df