Compare commits

...

17 Commits

Author SHA1 Message Date
Fabio Valentini deee95accb
Update to version 0.3.37; Fixes RHBZ#2330138
3 months ago
Benjamin A. Beasley cdaac5cbe7 Allow rstest 0.23 and rstest_reuse 0.7.0
3 months ago
Fedora Release Engineering b589e0ff83 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
7 months ago
Fabio Valentini 249e41c655
Update to version 0.3.36; Fixes RHBZ#2274289
10 months ago
Fabio Valentini 5eccb43161
Update to version 0.3.34; Fixes RHBZ#2262208
1 year ago
Fedora Release Engineering 5be01d1279 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
1 year ago
Fabio Valentini 624b9ecbe1
Update to version 0.3.31; Fixes RHBZ#2255215
1 year ago
Fabio Valentini 67bbdb57cf
Update to version 0.3.30; Fixes RHBZ#2244157
1 year ago
Fabio Valentini e56a7a380f
Update to version 0.3.29; Fixes RHBZ#2240432
1 year ago
Fabio Valentini c862d32048
Update to version 0.3.28; Fixes RHBZ#2227581
1 year ago
Fedora Release Engineering 1b9f736078 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2 years ago
Fabio Valentini f994d324d9
Update to version 0.3.23; Fixes RHBZ#2221448
2 years ago
Fabio Valentini 895b274338
Update to version 0.3.22; Fixes RHBZ#2213341
2 years ago
Fabio Valentini 7a4b93a846
Update to version 0.3.21; Fixes RHBZ#2195840
2 years ago
Fabio Valentini 6f3f9ef55b
Update to version 0.3.20; Fixes RHBZ#2173244
2 years ago
Fabio Valentini b4f1c995ae
Update to version 0.3.19; Fixes RHBZ#2137245
2 years ago
Fedora Release Engineering b1a389bcf6 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2 years ago

13
.gitignore vendored

@ -21,3 +21,16 @@
/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
/time-0.3.34.crate
/time-0.3.36.crate
/time-0.3.37.crate

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

@ -1,31 +1,31 @@
# Generated by rust2rpm 22
# * unit tests are excluded from published crates
%bcond_with check
# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}
%global crate time
Name: rust-time
Version: 0.3.15
Version: 0.3.37
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
# * allow rstest 0.23.0 and rstest_reuse 0.7.0:
# https://github.com/time-rs/time/pull/716
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 +80,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 +140,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 +200,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

@ -0,0 +1,7 @@
[package]
cargo-toml-patch-comments = [
"remove WASM-specific features",
"remove references to tests that are not included in published crates",
"allow rstest 0.23.0 and rstest_reuse 0.7.0: https://github.com/time-rs/time/pull/716",
]

@ -1 +1 @@
SHA512 (time-0.3.15.crate) = 8783fe9cd6aa94cf6588ca1a734d0fa11c9e20e0d99b46b218db95bc185aee8a4324b2ece1a535b4378e87151f9837cd41f663c542f561019be99e3ed5f55325
SHA512 (time-0.3.37.crate) = 6d007507f79c45a7408675b3223bbf83a133bbaf96429ae6a02b5db09acccf884bb8323dc6f3dd05e7ce87a78366a55bafa6c6ba31b04198a31026df4ef425e2

@ -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.37/Cargo.toml 1970-01-01T00:00:01+00:00
+++ time-0.3.37/Cargo.toml 2024-12-08T18:20:11.323118+00:00
@@ -170,18 +170,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]
[target.'cfg(target_family = "unix")'.dependencies.libc]
version = "0.2.98"
@@ -291,3 +280,4 @@
[lints.rustdoc]
private-doc-tests = "warn"
unescaped-backticks = "warn"
+

@ -1,10 +1,10 @@
--- 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.37/Cargo.toml 1970-01-01T00:00:01+00:00
+++ time-0.3.37/Cargo.toml 2024-12-08T18:20:27.319203+00:00
@@ -170,7 +170,6 @@
"alloc",
"deranged/std",
]
std = ["alloc"]
-wasm-bindgen = []
[target."cfg(target_family = \"unix\")".dependencies.libc]
[target.'cfg(target_family = "unix")'.dependencies.libc]
version = "0.2.98"

Loading…
Cancel
Save