|
|
|
@ -1,11 +1,14 @@
|
|
|
|
|
# Generated by rust2rpm 27
|
|
|
|
|
%bcond check 1
|
|
|
|
|
# * Since 0.1.22, src/tz/snapshots/ and src/tz/testdata/ are no longer included
|
|
|
|
|
# in the crate, so it is not feasible to run the tests without a separate
|
|
|
|
|
# source archive.
|
|
|
|
|
%bcond check 0
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate jiff
|
|
|
|
|
|
|
|
|
|
Name: rust-jiff
|
|
|
|
|
Version: 0.1.21
|
|
|
|
|
Version: 0.1.23
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Date-time library that encourages you to jump into the pit of success
|
|
|
|
|
|
|
|
|
@ -147,6 +150,18 @@ use the "tzdb-bundle-platform" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+tzdb-bundle-platform-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+tzdb-concatenated-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+tzdb-concatenated-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "tzdb-concatenated" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+tzdb-concatenated-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+tzdb-zoneinfo-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -171,8 +186,6 @@ use the "tzdb-zoneinfo" feature of the "%{crate}" crate.
|
|
|
|
|
# We do not yet have a rust-icu package (although one would be desirable)
|
|
|
|
|
tomcli set Cargo.toml del dev-dependencies.icu
|
|
|
|
|
%cargo_prep
|
|
|
|
|
# Exclude test and debug scripts that would BuildRequire sh or bash
|
|
|
|
|
tomcli set Cargo.toml append package.exclude test test-wasm 'scripts/*'
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires -f serde
|
|
|
|
|