Compare commits

..

No commits in common. 'epel10' and 'epel9' have entirely different histories.

5
.gitignore vendored

@ -21,8 +21,3 @@
/chrono-0.4.26.crate /chrono-0.4.26.crate
/chrono-0.4.27.crate /chrono-0.4.27.crate
/chrono-0.4.31.crate /chrono-0.4.31.crate
/chrono-0.4.33.crate
/chrono-0.4.34.crate
/chrono-0.4.35.crate
/chrono-0.4.38.crate
/chrono-0.4.39.crate

@ -1,34 +1,26 @@
--- chrono-0.4.39/Cargo.toml 1970-01-01T00:00:01+00:00 --- chrono-0.4.31/Cargo.toml 1970-01-01T00:00:01+00:00
+++ chrono-0.4.39/Cargo.toml 2024-12-09T19:37:10.552603+00:00 +++ chrono-0.4.31/Cargo.toml 2023-09-19T18:29:35.649694+00:00
@@ -109,7 +109,6 @@ @@ -100,34 +100,11 @@
clock = [ "alloc",
"winapi",
"iana-time-zone",
- "android-tzdata",
"now",
] ]
default = [
@@ -141,34 +140,11 @@
std = ["alloc"]
unstable-locales = ["pure-rust-locales"]
wasmbind = [ wasmbind = [
- "wasm-bindgen", - "wasm-bindgen",
- "js-sys", - "js-sys",
] ]
-winapi = ["windows-targets"] -winapi = ["windows-targets"]
- -
-[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies.js-sys] -[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
-version = "0.3" -version = "0.3"
-optional = true -optional = true
- -
-[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies.wasm-bindgen] -[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.wasm-bindgen]
-version = "0.2" -version = "0.2"
-optional = true -optional = true
- -
-[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dev-dependencies.wasm-bindgen-test] -[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.wasm-bindgen-test]
-version = "0.3" -version = "0.3"
- -
-[target.'cfg(target_os = "android")'.dependencies.android-tzdata] -[target."cfg(target_os = \"android\")".dependencies.android-tzdata]
-version = "0.1.1" -version = "0.1.1"
-optional = true -optional = true
+winapi = [] +winapi = []
@ -39,8 +31,8 @@
optional = true optional = true
-[target."cfg(windows)".dependencies.windows-targets] -[target."cfg(windows)".dependencies.windows-targets]
-version = "0.52" -version = "0.48"
-optional = true -optional = true
- -
-[target."cfg(windows)".dev-dependencies.windows-bindgen] -[target."cfg(windows)".dev-dependencies.windows-bindgen]
-version = "0.58" -version = "0.51"

@ -1,28 +1,29 @@
--- chrono-0.4.39/Cargo.toml 1970-01-01T00:00:01+00:00 --- chrono-0.4.31/Cargo.toml 1970-01-01T00:00:01+00:00
+++ chrono-0.4.39/Cargo.toml 2024-12-09T19:37:10.554603+00:00 +++ chrono-0.4.31/Cargo.toml 2023-09-19T18:30:04.789787+00:00
@@ -104,10 +104,8 @@ @@ -78,19 +78,15 @@
version = "1" version = "1"
[features] [features]
-__internal_bench = [] -__internal_bench = []
alloc = [] alloc = []
clock = [ clock = [
"std",
- "winapi", - "winapi",
"iana-time-zone", "iana-time-zone",
"now", - "android-tzdata",
] ]
@@ -115,7 +113,6 @@ default = [
"clock", "clock",
"std", "std",
"oldtime", "oldtime",
- "wasmbind", - "wasmbind",
] ]
libc = [] libc = []
now = ["std"] oldtime = []
@@ -139,9 +136,6 @@ @@ -99,9 +95,6 @@
rkyv-validation = ["rkyv?/validation"] "pure-rust-locales",
std = ["alloc"] "alloc",
unstable-locales = ["pure-rust-locales"] ]
-wasmbind = [ -wasmbind = [
-] -]
-winapi = [] -winapi = []

@ -1,24 +1,25 @@
# Generated by rust2rpm 27 # Generated by rust2rpm 24
%bcond check 1 %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate chrono %global crate chrono
Name: rust-chrono Name: rust-chrono
Version: 0.4.39 Version: 0.4.31
Release: %autorelease Release: %autorelease
Summary: Date and time library for Rust Summary: Date and time library for Rust
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/chrono URL: https://crates.io/crates/chrono
Source: %{crates_source} Source: %{crates_source}
# Automatically generated patch to strip dependencies and normalize metadata # Automatically generated patch to strip foreign dependencies
Patch: chrono-fix-metadata-auto.diff Patch: chrono-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * remove WASM- and Windows-specific features # * remove WASM- and doc-specific features
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch: chrono-fix-metadata.diff Patch: chrono-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24 BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Date and time library for Rust.} Date and time library for Rust.}
@ -36,6 +37,7 @@ use the "%{crate}" crate.
%files devel %files devel
%license %{crate_instdir}/LICENSE.txt %license %{crate_instdir}/LICENSE.txt
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md %doc %{crate_instdir}/README.md
%{crate_instdir}/ %{crate_instdir}/
@ -111,18 +113,6 @@ use the "libc" feature of the "%{crate}" crate.
%files -n %{name}+libc-devel %files -n %{name}+libc-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+now-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+now-devel %{_description}
This package contains library source intended for building other packages which
use the "now" feature of the "%{crate}" crate.
%files -n %{name}+now-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+oldtime-devel %package -n %{name}+oldtime-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -159,52 +149,16 @@ use the "rkyv" feature of the "%{crate}" crate.
%files -n %{name}+rkyv-devel %files -n %{name}+rkyv-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rkyv-16-devel %package -n %{name}+rustc-serialize-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rkyv-16-devel %{_description}
This package contains library source intended for building other packages which
use the "rkyv-16" feature of the "%{crate}" crate.
%files -n %{name}+rkyv-16-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rkyv-32-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rkyv-32-devel %{_description}
This package contains library source intended for building other packages which
use the "rkyv-32" feature of the "%{crate}" crate.
%files -n %{name}+rkyv-32-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rkyv-64-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rkyv-64-devel %{_description}
This package contains library source intended for building other packages which
use the "rkyv-64" feature of the "%{crate}" crate.
%files -n %{name}+rkyv-64-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rkyv-validation-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+rkyv-validation-devel %{_description} %description -n %{name}+rustc-serialize-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "rkyv-validation" feature of the "%{crate}" crate. use the "rustc-serialize" feature of the "%{crate}" crate.
%files -n %{name}+rkyv-validation-devel %files -n %{name}+rustc-serialize-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
@ -244,21 +198,21 @@ use the "unstable-locales" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires -a
%build %build
%cargo_build %cargo_build -a
%install %install
%cargo_install %cargo_install -a
%if %{with check} %if %{with check}
%check %check
%cargo_test %cargo_test -a
%endif %endif
%changelog %changelog

@ -0,0 +1,2 @@
[DEFAULT]
all-features = true

@ -1,5 +0,0 @@
[package]
cargo-toml-patch-comments = [
"remove WASM- and Windows-specific features",
]

@ -1 +1 @@
SHA512 (chrono-0.4.39.crate) = 5b258f76bea58ab9baa0fe8fb32c41928b8b655c76bb2fbaae9300ef8380cbb881296cee6b9e9886dce62b0759c73e84f6409e374a86cf0c80e3383512f98571 SHA512 (chrono-0.4.31.crate) = 23276daa2c1bc3b7b2327dc84200fb40cc995a8b599d1a537e92e08138ab8a0d1548a510a8155dcdda18820120d7204e89a4686c866fc3a8d2460cdb30ac6089

Loading…
Cancel
Save