From ea373fb4ebd31f80920772192c44936980406491 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 26 May 2020 14:37:51 -0700 Subject: [PATCH] Update to 0.5.1 --- .gitignore | 1 + datetime-fix-metadata.diff | 14 +++---- rust-datetime.spec | 79 +++++++++++++++++++++++++++++++++++++- sources | 2 +- 4 files changed, 86 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 6c1167b..a6b11bc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /datetime-0.4.7.crate /datetime-0.5.0.crate +/datetime-0.5.1.crate diff --git a/datetime-fix-metadata.diff b/datetime-fix-metadata.diff index bcdf745..b9cc8ac 100644 --- a/datetime-fix-metadata.diff +++ b/datetime-fix-metadata.diff @@ -1,18 +1,18 @@ ---- datetime-0.5.0/Cargo.toml 2020-04-07T23:43:49+00:00 -+++ datetime-0.5.0/Cargo.toml 2020-05-18T08:54:10.110513+00:00 +--- datetime-0.5.1/Cargo.toml 2020-05-25T19:08:25+00:00 ++++ datetime-0.5.1/Cargo.toml 2020-05-26T21:36:59.179614+00:00 @@ -24,7 +24,7 @@ [lib] name = "datetime" [dependencies.iso8601] -version = "0.3.0" +version = "0.4" + optional = true [dependencies.libc] - version = "0.2" -@@ -39,8 +39,3 @@ - version = "0.1" - [dev-dependencies.rustc-serialize] - version = "0.3" +@@ -48,8 +48,3 @@ + default = ["format", "parse"] + format = ["num-traits", "pad", "locale"] + parse = ["iso8601"] -[target."cfg(target_os = \"redox\")".dependencies.redox_syscall] -version = "0.1.29" -[target."cfg(windows)".dependencies.winapi] diff --git a/rust-datetime.spec b/rust-datetime.spec index a4b3be0..e9f6a7c 100644 --- a/rust-datetime.spec +++ b/rust-datetime.spec @@ -5,8 +5,8 @@ %global crate datetime Name: rust-%{crate} -Version: 0.5.0 -Release: 2%{?dist} +Version: 0.5.1 +Release: 1%{?dist} Summary: Library for date and time formatting and arithmetic # Upstream license specification: MIT @@ -55,6 +55,78 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+format-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+format-devel %{_description} + +This package contains library source intended for building other packages +which use "format" feature of "%{crate}" crate. + +%files -n %{name}+format-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+iso8601-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+iso8601-devel %{_description} + +This package contains library source intended for building other packages +which use "iso8601" feature of "%{crate}" crate. + +%files -n %{name}+iso8601-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+locale-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+locale-devel %{_description} + +This package contains library source intended for building other packages +which use "locale" feature of "%{crate}" crate. + +%files -n %{name}+locale-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+num-traits-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+num-traits-devel %{_description} + +This package contains library source intended for building other packages +which use "num-traits" feature of "%{crate}" crate. + +%files -n %{name}+num-traits-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+pad-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+pad-devel %{_description} + +This package contains library source intended for building other packages +which use "pad" feature of "%{crate}" crate. + +%files -n %{name}+pad-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+parse-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+parse-devel %{_description} + +This package contains library source intended for building other packages +which use "parse" feature of "%{crate}" crate. + +%files -n %{name}+parse-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -74,6 +146,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Tue May 26 2020 Josh Stone - 0.5.1-1 +- Update to 0.5.1 + * Mon May 18 10:54:10 CEST 2020 Igor Raits - 0.5.0-2 - Update iso8601 to 0.4 diff --git a/sources b/sources index 35604fb..316236b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (datetime-0.5.0.crate) = 64c67dce34613b90a0e5a880a587627055632cfe521b171c74b619c91bf3405fc938c708b280c7eb595f1adab4542ac83bfbc3344b66b7f45a6180b26baf66a3 +SHA512 (datetime-0.5.1.crate) = 4927cd48aa1a53a3c65cc22dca134c05cc1e024068fac715bb0ba2f0a13b151c564ff356a46c95ba5d8aec6b468907c2bdd862e9d4a25d021ff51f3231a0f4d5