From ace9ad210fb78d805d0f2efff36dbc352bfeb478 Mon Sep 17 00:00:00 2001 From: Hailiang Date: Fri, 16 May 2025 17:32:11 +0800 Subject: [PATCH] use _libdir to replace lib64 (cherry picked from commit 3ad92015011a4ef1d68230ce67fec3db880126f6) --- libfastjson.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libfastjson.spec b/libfastjson.spec index 403c10f..1968186 100644 --- a/libfastjson.spec +++ b/libfastjson.spec @@ -1,6 +1,6 @@ Name: libfastjson Version: 1.2304.0 -Release: 1 +Release: 2 Summary: JSON-C - A JSON implementation in C License: MIT URL: https://github.com/rsyslog/libfastjson @@ -36,7 +36,7 @@ export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -Wl,-z,relro,-z,now -fstack-protecto %install make V=1 DESTDIR=%{buildroot} install -rm -f %{buildroot}/usr/lib64/libfastjson.la +rm -f %{buildroot}%{_libdir}/libfastjson.la %check make V=1 check @@ -56,6 +56,9 @@ make V=1 check %{_libdir}/pkgconfig/libfastjson.pc %changelog +* Fri May 16 2025 mahailiang - 1.2304.0-2 +- use _libdir to replace lib64 + * Mon Jan 29 2024 gengqihu - 1.2304.0-1 - update to 1.2304.0 -- Gitee