|
|
|
@ -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 <decathorpe@gmail.com> - 0.4.0-1
|
|
|
|
|
- Update to version 0.4.0.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|