|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate chrono-tz
|
|
|
|
|
|
|
|
|
|
Name: rust-chrono-tz
|
|
|
|
|
Version: 0.8.3
|
|
|
|
|
Version: 0.8.4
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: TimeZone implementations for chrono from the IANA database
|
|
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ License: (MIT OR Apache-2.0) AND LicenseRef-Fedora-Public-Domain
|
|
|
|
|
URL: https://crates.io/crates/chrono-tz
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
TimeZone implementations for chrono from the IANA database.}
|
|
|
|
@ -110,20 +110,8 @@ use the "std" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+uncased-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+uncased-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "uncased" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+uncased-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|