From 977a552bb477f76b52e643fe045077b0292d79f1 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 19 Apr 2021 18:52:13 +0200 Subject: [PATCH] Related: rhbz#1947937 Get rid of all things RPATH See https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling CI was complaining about this: 1) /usr/bin/woff2_compress has an invalid-looking DT_RPATH on x86_64: /builddir/build/BUILD/woff2-1.0.2/x86_64-redhat-linux-gnu 2) /usr/bin/woff2_decompress has an invalid-looking DT_RPATH on x86_64: /builddir/build/BUILD/woff2-1.0.2/x86_64-redhat-linux-gnu 3) /usr/bin/woff2_info has an invalid-looking DT_RPATH on x86_64: /builddir/build/BUILD/woff2-1.0.2/x86_64-redhat-linux-gnu --- woff2.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/woff2.spec b/woff2.spec index 6941ec1..9e6d873 100644 --- a/woff2.spec +++ b/woff2.spec @@ -2,7 +2,7 @@ Name: woff2 Version: 1.0.2 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Web Open Font Format 2.0 library License: MIT @@ -40,7 +40,8 @@ Development files and utils for %{name} %build %cmake \ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ - -DCMAKE_INSTALL_LIBDIR="%{_libdir}" + -DCMAKE_INSTALL_LIBDIR="%{_libdir}" \ + -DCMAKE_SKIP_RPATH=TRUE %cmake_build %install @@ -74,6 +75,9 @@ cd - %{_libdir}/pkgconfig/libwoff2enc.pc %changelog +* Mon Apr 19 2021 Eike Rathke - 1.0.2-12 +- Get rid of all things RPATH + * Fri Apr 16 2021 Mohan Boddu - 1.0.2-11 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937