|
|
@ -1,4 +1,4 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
@ -14,10 +14,10 @@ URL: https://crates.io/crates/tzfile
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
# * bump chrono-tz dev-dependency from 0.5 to 0.8
|
|
|
|
# * adjust chrono-tz dev-dependency to allow up to 0.9
|
|
|
|
Patch: tzfile-fix-metadata.diff
|
|
|
|
Patch: tzfile-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Chrono::TimeZone implementation using system tz database.}
|
|
|
|
Chrono::TimeZone implementation using system tz database.}
|
|
|
@ -51,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_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|