Update iso8601 to 0.3

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 0edfef7989
commit 2148ca6d51
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,11 +1,11 @@
--- datetime-0.4.7/Cargo.toml 1970-01-01T01:00:00+01:00
+++ datetime-0.4.7/Cargo.toml 2018-11-14T12:29:53.775863+01:00
@@ -29,22 +29,13 @@
+++ datetime-0.4.7/Cargo.toml 2019-02-10T16:09:46.968639+01:00
@@ -29,22 +29,12 @@
version = "0.2"
[dependencies.iso8601]
-version = "0.1.0"
+version = "0.2"
+version = "0.3"
[dependencies.num-traits]
version = "0.1.35"
@ -14,7 +14,7 @@
version = "0.2"
-[dev-dependencies.regex]
-version = "0.1"
-
[dev-dependencies.rustc-serialize]
version = "0.3"
-[target."cfg(windows)".dependencies.winapi]

@ -7,18 +7,18 @@
Name: rust-%{crate}
Version: 0.4.7
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Library for date and time formatting and arithmetic
# https://github.com/rust-datetime/datetime/issues/20
License: MIT
URL: https://crates.io/crates/datetime
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source: %{crates_source}
# Initial patched metadata
# * No windows
# * No redox
# * Drop regex dependency, https://github.com/rust-datetime/datetime/pull/19
# * Bump iso8601 to 0.2, https://github.com/rust-datetime/datetime/pull/21
# * Bump iso8601 to 0.3, https://github.com/rust-datetime/datetime/pull/24
Patch0: datetime-fix-metadata.diff
# Really drop regex dependency
Patch1: 0001-drop-regex-from-dependency-set.patch
@ -26,7 +26,7 @@ Patch1: 0001-drop-regex-from-dependency-set.patch
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(iso8601/default) >= 0.2.0 with crate(iso8601/default) < 0.3.0)
BuildRequires: (crate(iso8601/default) >= 0.3.0 with crate(iso8601/default) < 0.4.0)
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
BuildRequires: (crate(locale/default) >= 0.2.0 with crate(locale/default) < 0.3.0)
BuildRequires: (crate(num-traits/default) >= 0.1.35 with crate(num-traits/default) < 0.2.0)
@ -67,7 +67,7 @@ which use "default" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%build
@ -82,6 +82,9 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.7-6
- Update iso8601 to 0.3
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save