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
This commit is contained in:
Eike Rathke 2021-04-19 18:52:13 +02:00
parent 63a3ce624a
commit 977a552bb4
1 changed files with 6 additions and 2 deletions

View File

@ -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 <erack@redhat.com> - 1.0.2-12
- Get rid of all things RPATH
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.2-11
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937