Update to version 1.2.0; Fixes RHBZ#2173143

epel9
Fabio Valentini 2 years ago
parent 9469de3cf0
commit 8b6a6039d0
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1,3 +1,4 @@
/bytesize-1.0.0.crate
/bytesize-1.0.1.crate
/bytesize-1.1.0.crate
/bytesize-1.2.0.crate

@ -1,3 +0,0 @@
# rust-bytesize
The rust-bytesize package

@ -1,28 +1,22 @@
# Generated by rust2rpm 18
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate bytesize
Name: rust-%{crate}
Version: 1.1.0
Name: rust-bytesize
Version: 1.2.0
Release: %autorelease
Summary: Utility for human-readable bytes representations
# Upstream license specification: Apache-2.0
License: ASL 2.0
License: Apache-2.0
URL: https://crates.io/crates/bytesize
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Utility for human-readable bytes representations.}
An utility for human-readable bytes representations.}
%description %{_description}
@ -32,13 +26,13 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -46,11 +40,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@ -58,11 +52,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages
which use "serde" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (bytesize-1.1.0.crate) = 36f35cf53c468cf011b231d3fc5d00c5224fa3d917854e347daeaaae53ae7ee36c4d8ba26788460d56c922c9ffb0eeebc60655fef7366ae42e221950d03f6715
SHA512 (bytesize-1.2.0.crate) = 425d284141175f0e40ba88a77141269b65bb63175ca8d1624359309fab546dd9e2959470cf16dec3f69a41b334e45eef62ee34298d3a74f3e987b44a7df912f5

Loading…
Cancel
Save