From b09145b6bd6566f6c9d16a04586a96f082ee251d Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Tue, 25 Apr 2023 13:19:58 -0400 Subject: [PATCH] Drop %autosetup -Sgit I forgot to add BuildRequires: git-core for %autosetup -Sgit. It happened to build successfully anyway in c9s but failed downstream in RHEL. Drop the -Sgit option for now because I don't use this feature anyway. related: rhbz#2166106 Signed-off-by: Stefan Hajnoczi --- libblkio.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libblkio.spec b/libblkio.spec index 2efd295..c202ee0 100644 --- a/libblkio.spec +++ b/libblkio.spec @@ -1,7 +1,7 @@ Version: 1.2.2 Summary: Block device I/O library Name: libblkio -Release: 1%{?dist} +Release: 2%{?dist} URL: https://gitlab.com/libblkio/libblkio Source0: %{url}/-/archive/v%{version}/libblkio-v%{version}.tar.bz2 Source1: libblkio-vendor-v%{version}.tar.bz2 @@ -34,7 +34,7 @@ This package contains development tools for %{name}. %prep -%autosetup -n libblkio-v%{version} -p1 -Sgit -b 1 +%autosetup -n libblkio-v%{version} -p1 -b 1 sed -e 's/--locked/--offline/' -i src/cargo-build.sh @@ -63,5 +63,7 @@ sed -e 's/--locked/--offline/' -i src/cargo-build.sh %changelog +* Wed Apr 26 2023 Stefan Hajnoczi - 1.2.2-2 +- Remove %autosetup -Sgit as it's not used and the build could break because BuildRequires: git-core was missing * Tue Apr 11 2023 Stefan Hajnoczi - 1.2.2-1 - Import Fedora rpm 1.2.2-4 spec file with license updates (https://src.fedoraproject.org/rpms/libblkio/pull-request/1)