Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel10
Igor Raits 5 years ago
parent c9a9defa5d
commit 450fa7929f
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -0,0 +1,13 @@
--- chrono-tz-0.5.1/Cargo.toml 1970-01-01T00:00:00+00:00
+++ chrono-tz-0.5.1/Cargo.toml 2020-02-19T08:02:23.405137+00:00
@@ -28,6 +28,10 @@
[dependencies.serde]
version = "1"
optional = true
+[dev-dependencies.chrono]
+version = "0.4"
+default-features = false
+features = ["alloc"]
[dev-dependencies.serde_test]
version = "1"
[build-dependencies.parse-zoneinfo]

@ -1,4 +1,4 @@
# Generated by rust2rpm 10
# Generated by rust2rpm 13
%bcond_without check
%global debug_package %{nil}
@ -6,13 +6,16 @@
Name: rust-%{crate}
Version: 0.5.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: TimeZone implementations for rust-chrono from the IANA database
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/chrono-tz
Source: %{crates_source}
# Initial patched metadata
# * Add missing feature in chrono for tests, https://github.com/chronotope/chrono-tz/commit/6130dbcf8049689b612ea52ebee69f23e1a7078c
Patch0: chrono-tz-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
@ -38,7 +41,7 @@ which use "%{crate}" crate.
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -50,7 +53,7 @@ This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@ -62,7 +65,7 @@ This package contains library source intended for building other packages
which use "serde" feature of "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
@ -87,6 +90,9 @@ mv .tmp tz
%endif
%changelog
* Wed Feb 19 09:02:23 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.5.1-4
- Fix FTBFS
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save