Compare commits

..

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

2
.gitignore vendored

@ -1,3 +1 @@
/schemars-0.8.16.crate /schemars-0.8.16.crate
/schemars-0.8.19.crate
/schemars-0.8.21.crate

@ -1,20 +1,17 @@
# Generated by rust2rpm 26 # Generated by rust2rpm 25
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate schemars %global crate schemars
Name: rust-schemars Name: rust-schemars
Version: 0.8.21 Version: 0.8.16
Release: %autorelease Release: %autorelease
Summary: Generate JSON Schemas from Rust code Summary: Generate JSON Schemas from Rust code
License: MIT License: MIT
URL: https://crates.io/crates/schemars URL: https://crates.io/crates/schemars
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused support for uuid v0.8
Patch: schemars-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-rpm-macros >= 24
@ -349,6 +346,30 @@ use the "url" feature of the "%{crate}" crate.
%files -n %{name}+url-devel %files -n %{name}+url-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+uuid-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+uuid-devel %{_description}
This package contains library source intended for building other packages which
use the "uuid" feature of the "%{crate}" crate.
%files -n %{name}+uuid-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+uuid08-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+uuid08-devel %{_description}
This package contains library source intended for building other packages which
use the "uuid08" feature of the "%{crate}" crate.
%files -n %{name}+uuid08-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+uuid1-devel %package -n %{name}+uuid1-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -364,8 +385,6 @@ use the "uuid1" feature of the "%{crate}" crate.
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
# drop tests that pull in uuid v0.8
rm tests/uuid.rs
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires

@ -1,11 +0,0 @@
[package]
cargo-toml-patch-comments = [
"drop unused support for uuid v0.8",
]
[scripts]
prep.post = [
"# drop tests that pull in uuid v0.8",
"rm tests/uuid.rs",
]

@ -1,34 +0,0 @@
--- schemars-0.8.21/Cargo.toml 1970-01-01T00:00:01+00:00
+++ schemars-0.8.21/Cargo.toml 2024-09-16T00:20:05.928688+00:00
@@ -48,13 +48,6 @@
required-features = ["either"]
[[test]]
-name = "uuid"
-required-features = [
- "uuid08",
- "uuid1",
-]
-
-[[test]]
name = "smallvec"
required-features = ["smallvec"]
@@ -190,12 +183,6 @@
version = "2.0"
optional = true
default-features = false
-
-[dependencies.uuid08]
-version = "0.8"
-optional = true
-default-features = false
-package = "uuid"
[dependencies.uuid1]
version = "1.0"
@@ -220,4 +207,3 @@
preserve_order = ["indexmap"]
raw_value = ["serde_json/raw_value"]
ui_test = []
-uuid = ["uuid08"]

@ -1 +1 @@
SHA512 (schemars-0.8.21.crate) = 23a794ec52d83ce045c8b2d633913b3b29e4cfc9d0a29f76aca8cd5b31a9c707ffc04c94390ab719b3c8109f37c11a00dae73ec1719087dfe7b3c4007beb066d SHA512 (schemars-0.8.16.crate) = 738022b563bedfc73f2f2899216b8ae4cf0f563c1a6ac91639715d5f36446d7011fadd5554b8a4e9e569dddff836cc136ea2be5e65b72f85613a4a890d355a06

Loading…
Cancel
Save