diff --git a/zxing-cpp.spec b/zxing-cpp.spec index 006555254bd53f9bd149d10204d41ca020538dd5..701353216068b018a8647ccd82291efa27e23125 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