From 1c54109cee4405f483d19497570d2600ce3afcad Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 13 Dec 2022 21:18:41 +0000 Subject: [PATCH] libblkio-1.1.1-9 Enforce same minor version for 0.x dependencies. https://bugzilla.redhat.com/show_bug.cgi?id=2124697#c64 --- libblkio/libblkio.spec | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/libblkio/libblkio.spec b/libblkio/libblkio.spec index 6c03b32..9ecb03e 100644 --- a/libblkio/libblkio.spec +++ b/libblkio/libblkio.spec @@ -5,7 +5,7 @@ Version: 1.1.1 Summary: Block device I/O library Name: libblkio -Release: 8%{?dist} +Release: 9%{?dist} URL: %{forgeurl} Source0: %{forgesource} License: Apache-2.0 OR MIT @@ -28,26 +28,29 @@ BuildRequires: pkgconf # workspaces yet. See # https://bugzilla.redhat.com/show_bug.cgi?id=2124697#c57 # -# For packages with major version >= 1 we are simply requiring that -# the major version does not change. +# For major version >= 1, we are requiring that the major version does +# not change. +# +# For major version >= 0, we are requiring that the minor version does +# not change. BuildRequires: (crate(autocfg/default) >= 1.0.0 with crate(autocfg/default) < 2.0.0~) BuildRequires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) < 2.0.0~) BuildRequires: (crate(cc/default) >= 1.0.0 with crate(cc/default) < 2.0.0~) BuildRequires: (crate(cfg-if/default) >= 1.0.0 with crate(cfg-if/default) < 2.0.0~) BuildRequires: (crate(concat-idents/default) >= 1.0.0 with crate(concat-idents/default) < 2.0.0~) -BuildRequires: crate(const-cstr/default) >= 0.3.0 -BuildRequires: crate(io-uring/default) >= 0.5.8 +BuildRequires: (crate(const-cstr/default) >= 0.3.0 with crate(const-cstr/default) < 0.4.0~) +BuildRequires: (crate(io-uring/default) >= 0.5.8 with crate(io-uring/default) < 0.6.0~) BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0~) -BuildRequires: crate(libc/default) >= 0.2.134 -BuildRequires: crate(memmap2/default) >= 0.5.7 -BuildRequires: crate(nix/default) >= 0.24.2 -BuildRequires: crate(num-traits/default) >= 0.2.15 -BuildRequires: crate(pci-driver/default) >= 0.1.2 +BuildRequires: (crate(libc/default) >= 0.2.134 with crate(libc/default) < 0.3.0~) +BuildRequires: (crate(memmap2/default) >= 0.5.7 with crate(memmap2/default) < 0.6.0~) +BuildRequires: (crate(nix/default) >= 0.24.2 with crate(nix/default) < 0.25.0~) +BuildRequires: (crate(num-traits/default) >= 0.2.15 with crate(num-traits/default) < 0.3.0~) +BuildRequires: (crate(pci-driver/default) >= 0.1.2 with crate(pci-driver/default) < 0.2.0~) BuildRequires: (crate(proc-macro2/default) >= 1.0.0 with crate(proc-macro2/default) < 2.0.0~) BuildRequires: (crate(quote/default) >= 1.0.0 with crate(quote/default) < 2.0.0~) BuildRequires: (crate(syn/default) >= 1.0.0 with crate(syn/default) < 2.0.0~) BuildRequires: (crate(unicode-ident/default) >= 1.0.0 with crate(unicode-ident/default) < 2.0.0~) -BuildRequires: crate(virtio-bindings/default) >= 0.1.0 +BuildRequires: (crate(virtio-bindings/default) >= 0.1.0 with crate(virtio-bindings/default) < 0.2.0~) %description @@ -96,5 +99,5 @@ sed -e 's/--locked/--offline/' -i src/cargo-build.sh %changelog -* Thu Nov 24 2022 Richard W.M. Jones - 1.1.1-8 +* Thu Nov 24 2022 Richard W.M. Jones - 1.1.1-9 - Initial package -- 1.8.3.1