diff --git a/.gitignore b/.gitignore index 4de649c..230751b 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /chrono-0.4.20.crate /chrono-0.4.22.crate /chrono-0.4.23.crate +/chrono-0.4.24.crate diff --git a/README.md b/README.md deleted file mode 100644 index 5493cca..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-chrono - -The rust-chrono package \ No newline at end of file diff --git a/chrono-fix-metadata-auto.diff b/chrono-fix-metadata-auto.diff index 8d74ca8..6adbc72 100644 --- a/chrono-fix-metadata-auto.diff +++ b/chrono-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- chrono-0.4.23/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ chrono-0.4.23/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -119,7 +119,6 @@ +--- chrono-0.4.24/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ chrono-0.4.24/Cargo.toml 2023-03-12T23:42:24.779495+00:00 +@@ -114,7 +114,6 @@ alloc = [] clock = [ "std", @@ -8,14 +8,14 @@ "iana-time-zone", ] default = [ -@@ -136,27 +135,5 @@ +@@ -131,32 +130,10 @@ "alloc", ] wasmbind = [ - "wasm-bindgen", - "js-sys", ] - +- -[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys] -version = "0.3" -optional = true @@ -26,7 +26,12 @@ - -[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.wasm-bindgen-test] -version = "0.3" -- + + [target."cfg(unix)".dependencies.iana-time-zone] + version = "0.1.45" + features = ["fallback"] + optional = true + -[target."cfg(windows)".dependencies.winapi] -version = "0.3.0" -features = [ diff --git a/chrono-fix-metadata.diff b/chrono-fix-metadata.diff index 4cab67f..d771d29 100644 --- a/chrono-fix-metadata.diff +++ b/chrono-fix-metadata.diff @@ -1,5 +1,5 @@ ---- chrono-0.4.23/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ chrono-0.4.23/Cargo.toml 2022-12-10T19:27:26.376447+00:00 +--- chrono-0.4.24/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ chrono-0.4.24/Cargo.toml 2023-03-12T23:43:22.505687+00:00 @@ -40,26 +40,9 @@ [lib] name = "chrono" @@ -26,8 +26,8 @@ -version = "0.4.0" optional = true - [dependencies.iana-time-zone] -@@ -115,7 +98,6 @@ + [dependencies.num-integer] +@@ -110,7 +93,6 @@ [features] __doctest = [] @@ -35,7 +35,7 @@ alloc = [] clock = [ "std", -@@ -125,7 +107,6 @@ +@@ -120,7 +102,6 @@ "clock", "std", "oldtime", @@ -43,10 +43,12 @@ ] libc = [] oldtime = ["time"] -@@ -134,6 +115,3 @@ +@@ -129,8 +110,6 @@ "pure-rust-locales", "alloc", ] -wasmbind = [ -] -- + + [target."cfg(unix)".dependencies.iana-time-zone] + version = "0.1.45" diff --git a/rust-chrono.spec b/rust-chrono.spec index ce55fcf..c0c3e94 100644 --- a/rust-chrono.spec +++ b/rust-chrono.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate chrono Name: rust-chrono -Version: 0.4.23 +Version: 0.4.24 Release: %autorelease Summary: Date and time library for Rust diff --git a/sources b/sources index e5a00e4..798c36f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (chrono-0.4.23.crate) = 697a78ee83eaf38d83011bdf2086b3149b830d3d270e8414828b98ed2426063df43ac6eb4324f2dd694662afb86e6e4f005dee6116dfdd97adaebedefffd43fa +SHA512 (chrono-0.4.24.crate) = 1a9121870aa4d76448a1b118a2e135a145a55c7784c4f5a4f25732f8597b8655f32cbce174bdd65c2dc7b17dcc3a608454d0e3dc29b86338e42a839f8be1e4fd