|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
# * Deactivate tests because of missing dependency: galvanic-test (rhbz#2224175)
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# Deactivate tests because of missing dependency: galvanic-test (rhbz#2224175)
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate human_format
|
|
|
|
|
|
|
|
|
|
Name: rust-human_format
|
|
|
|
|
Version: 1.1.0
|
|
|
|
|
Version: 1.0.3
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Converts a number to/from a human readable string
|
|
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ License: MIT
|
|
|
|
|
URL: https://crates.io/crates/human_format
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
@ -51,7 +51,7 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
# Fix EOL encodings
|
|
|
|
|
for f in src/lib.rs changelog.md README.md; do
|
|
|
|
|
# Keep timestamp of the old file
|
|
|
|
|