|
|
@ -1,22 +1,12 @@
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
## (rpmautospec version 0.7.2)
|
|
|
|
# Deactivate tests because of missing dependency: galvanic-test (rhbz#2224175)
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
|
|
|
release_number = 1;
|
|
|
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
|
|
|
# * Deactivate tests because of missing dependency: galvanic-test (rhbz#2224175)
|
|
|
|
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate human_format
|
|
|
|
%global crate human_format
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-human_format
|
|
|
|
Name: rust-human_format
|
|
|
|
Version: 1.1.0
|
|
|
|
Version: 1.0.3
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Converts a number to/from a human readable string
|
|
|
|
Summary: Converts a number to/from a human readable string
|
|
|
|
|
|
|
|
|
|
|
@ -24,7 +14,7 @@ License: MIT
|
|
|
|
URL: https://crates.io/crates/human_format
|
|
|
|
URL: https://crates.io/crates/human_format
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
@ -61,7 +51,7 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
# Fix EOL encodings
|
|
|
|
# Fix EOL encodings
|
|
|
|
for f in src/lib.rs changelog.md README.md; do
|
|
|
|
for f in src/lib.rs changelog.md README.md; do
|
|
|
|
# Keep timestamp of the old file
|
|
|
|
# Keep timestamp of the old file
|
|
|
@ -87,16 +77,4 @@ done
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.1.0-1
|
|
|
|
%autochangelog
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
|
|
|
* Sun Feb 18 2024 blinxen <h-k-81@hotmail.com> - 1.1.0-1
|
|
|
|
|
|
|
|
- Update to version 1.1.0 (rhbz#2264639)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 blinxen <h-k-81@hotmail.com> - 1.0.3-1
|
|
|
|
|
|
|
|
- Initial package (rhbz#2224327)
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|