Compare commits

..

6 Commits

Author SHA1 Message Date
Fabio Valentini b844a3cc78
Disable tests to avoid pulling in outdated dev-dependencies
5 months ago
Fedora Release Engineering babd6319d4 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
6 months ago
Fedora Release Engineering d740a9f451 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
12 months ago
Fedora Release Engineering 83b96e6bce Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2 years ago
Fabio Valentini 22edb06158
Regenerate with rust2rpm v24
2 years ago
Fedora Release Engineering b3e736bca4 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2 years ago

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

@ -1,28 +1,24 @@
# Generated by rust2rpm 19 # Generated by rust2rpm 26
# * outdated dev-dependencies: rand ^0.6, time ^0.1
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate humantime %global crate humantime
Name: rust-%{crate} Name: rust-humantime
Version: 2.1.0 Version: 2.1.0
Release: %autorelease Release: %autorelease
Summary: Parser and formatter for std::time::{Duration, SystemTime} Summary: Parser and formatter for std::time::{Duration, SystemTime}
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/humantime URL: https://crates.io/crates/humantime
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} BuildRequires: cargo-rpm-macros >= 24
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Parser and formatter for std::time::{Duration, SystemTime}.} A parser and formatter for std::time::{Duration, SystemTime}.}
%description %{_description} %description %{_description}
@ -33,12 +29,13 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -47,13 +44,13 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "the default" feature of the "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -0,0 +1,4 @@
[tests]
run = ["none"]
comments = ["outdated dev-dependencies: rand ^0.6, time ^0.1"]
Loading…
Cancel
Save