From 63110a64c9ce0025cac4a740878db810022de8f1 Mon Sep 17 00:00:00 2001 From: peijiankang Date: Tue, 18 Feb 2025 10:49:11 +0800 Subject: [PATCH] fix build error about build (cherry picked from commit e25072b0021237b76dc449b5d36a8f70fec8c603) --- zxing-cpp.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/zxing-cpp.spec b/zxing-cpp.spec index 0065552..7013532 100644 --- a/zxing-cpp.spec +++ b/zxing-cpp.spec @@ -1,6 +1,6 @@ Name: zxing-cpp Version: 1.2.0 -Release: 2 +Release: 3 Summary: C++ port of the ZXing ("Zebra Crossing") barcode scanning library License: LGPLv2 with exceptions or LGPLv3 with exceptions @@ -14,7 +14,7 @@ BuildRequires: stb_image_write-devel stb_image_write-static Patch0: 0001-Add-a-mode-to-build-against-system-versions-of-depen.patch # Update stb_image/stb_image_write # https://github.com/nu-book/zxing-cpp/pull/269 -Patch1: %{url}/pull/269.patch +Patch1: 269.patch # Use the system copy of pybind11 rather than trying to download a copy. This # patch is unconditional, so it is not, as-is, suitable for sending upstream. Patch2: zxing-cpp-1.2.0-system-pybind11.patch @@ -49,10 +49,10 @@ popd %build %cmake -DBUILD_EXAMPLES=OFF -DBUILD_PYTHON_MODULE=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -%make_build +%cmake_build %install -%make_install +%cmake_install %check @@ -69,6 +69,9 @@ popd %{_libdir}/pkgconfig/zxing.pc %changelog +* Tue Feb 18 2025 peijiankang - 1.2.0-3 +- fix build error about build + * Wed Apr 10 2024 Eustace - 1.2.0-2 - Dependency satisfaction -- Gitee