Compare commits

...

11 Commits

10
.gitignore vendored

@ -21,3 +21,13 @@
/time-0.3.13.crate
/time-0.3.14.crate
/time-0.3.15.crate
/time-0.3.17.crate
/time-0.3.19.crate
/time-0.3.20.crate
/time-0.3.21.crate
/time-0.3.22.crate
/time-0.3.23.crate
/time-0.3.28.crate
/time-0.3.29.crate
/time-0.3.30.crate
/time-0.3.31.crate

@ -1,3 +0,0 @@
# rust-time
The rust-time package

@ -1,31 +1,29 @@
# Generated by rust2rpm 22
# * unit tests are excluded from published crates
%bcond_with check
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate time
Name: rust-time
Version: 0.3.15
Version: 0.3.31
Release: %autorelease
Summary: Date and time library
License: MIT OR Apache-2.0
URL: https://crates.io/crates/time
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
# Automatically generated patch to strip dependencies and normalize metadata
Patch: time-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * remove WASM-specific features
# * remove references to tests that are not included in published crates
Patch: time-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Date and time library. Fully interoperable with the standard library. Mostly
compatible with #![no_std].}
Date and time library. Fully interoperable with the standard library.
Mostly compatible with #![no_std].}
%description %{_description}
@ -80,18 +78,6 @@ use the "formatting" feature of the "%{crate}" crate.
%files -n %{name}+formatting-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+itoa-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+itoa-devel %{_description}
This package contains library source intended for building other packages which
use the "itoa" feature of the "%{crate}" crate.
%files -n %{name}+itoa-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+large-dates-devel
Summary: %{summary}
BuildArch: noarch
@ -152,18 +138,6 @@ use the "quickcheck" feature of the "%{crate}" crate.
%files -n %{name}+quickcheck-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+quickcheck-dep-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+quickcheck-dep-devel %{_description}
This package contains library source intended for building other packages which
use the "quickcheck-dep" feature of the "%{crate}" crate.
%files -n %{name}+quickcheck-dep-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rand-devel
Summary: %{summary}
BuildArch: noarch
@ -224,20 +198,8 @@ use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+time-macros-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+time-macros-devel %{_description}
This package contains library source intended for building other packages which
use the "time-macros" feature of the "%{crate}" crate.
%files -n %{name}+time-macros-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -1 +1 @@
SHA512 (time-0.3.15.crate) = 8783fe9cd6aa94cf6588ca1a734d0fa11c9e20e0d99b46b218db95bc185aee8a4324b2ece1a535b4378e87151f9837cd41f663c542f561019be99e3ed5f55325
SHA512 (time-0.3.31.crate) = e1cf8197f1eb9556e6320268eea35ca4e5ef33020fae94b181cc21d97b56c074b87ea783804cd7b7ff072736e498f0890b7af8e16c5492a12a4597a4cf33c4fa

@ -1,22 +1,27 @@
--- time-0.3.15/Cargo.toml 1970-01-01T00:00:01+00:00
+++ time-0.3.15/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -132,18 +132,7 @@
"parsing",
--- time-0.3.31/Cargo.toml 1970-01-01T00:00:01+00:00
+++ time-0.3.31/Cargo.toml 2024-01-08T19:44:39.946955+00:00
@@ -169,18 +169,7 @@
"alloc",
"deranged/std",
]
std = ["alloc"]
-wasm-bindgen = ["js-sys"]
-wasm-bindgen = ["dep:js-sys"]
-
-[target."cfg(__ui_tests)".dev-dependencies.trybuild]
-version = "1.0.63"
-version = "1.0.68"
-
-[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
-[target."cfg(all(target_family = \"wasm\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
-version = "0.3.58"
-optional = true
-
-[target."cfg(bench)".dev-dependencies.criterion]
-version = "0.4.0"
-version = "0.5.1"
-default-features = false
+wasm-bindgen = []
[target."cfg(target_family = \"unix\")".dependencies.libc]
version = "0.2.98"
@@ -274,3 +263,4 @@
[lints.rustdoc]
private-doc-tests = "warn"
unescaped-backticks = "warn"
+

@ -1,9 +1,25 @@
--- time-0.3.15/Cargo.toml 1970-01-01T00:00:01+00:00
+++ time-0.3.15/Cargo.toml 2022-10-05T10:12:12.622820+00:00
@@ -132,7 +132,6 @@
"parsing",
--- time-0.3.31/Cargo.toml 1970-01-01T00:00:01+00:00
+++ time-0.3.31/Cargo.toml 2024-01-08T19:44:52.309999+00:00
@@ -53,15 +53,6 @@
[lib]
bench = false
-[[test]]
-name = "tests"
-path = "../tests/main.rs"
-
-[[bench]]
-name = "benchmarks"
-path = "../benchmarks/main.rs"
-harness = false
-
[dependencies.deranged]
version = "0.3.9"
features = ["powerfmt"]
@@ -169,7 +160,6 @@
"alloc",
"deranged/std",
]
std = ["alloc"]
-wasm-bindgen = []
[target."cfg(target_family = \"unix\")".dependencies.libc]

Loading…
Cancel
Save