From a581023cc609852c51b656e4b0e02a007ab8de39 Mon Sep 17 00:00:00 2001 From: wjiang Date: Thu, 5 Jun 2025 11:14:26 +0800 Subject: [PATCH] use _libdir to replace lib64 --- libfastjson.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libfastjson.spec b/libfastjson.spec index 1b4f640..9704ea0 100644 --- a/libfastjson.spec +++ b/libfastjson.spec @@ -1,6 +1,6 @@ Name: libfastjson Version: 0.99.9 -Release: 3 +Release: 4 Summary: JSON-C - A JSON implementation in C License: MIT URL: https://github.com/rsyslog/libfastjson @@ -38,7 +38,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 @@ -58,6 +58,9 @@ make V=1 check %{_libdir}/pkgconfig/libfastjson.pc %changelog +* Thu Jun 05 2025 wangjiang - 0.99.9-4 +- use _libdir to replace lib64 + * Tue Mar 28 2023 shixuantong - 0.99.9-3 - fix CVE-2020-12762 -- Gitee