Get rid of all things RPATH

See
https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling
This commit is contained in:
Eike Rathke 2021-04-19 19:06:24 +02:00
parent 12307fb967
commit 4a6ffd7339

View File

@ -2,7 +2,7 @@
Name: woff2 Name: woff2
Version: 1.0.2 Version: 1.0.2
Release: 10%{?dist} Release: 11%{?dist}
Summary: Web Open Font Format 2.0 library Summary: Web Open Font Format 2.0 library
License: MIT License: MIT
@ -40,7 +40,8 @@ Development files and utils for %{name}
%build %build
%cmake \ %cmake \
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-DCMAKE_INSTALL_LIBDIR="%{_libdir}" -DCMAKE_INSTALL_LIBDIR="%{_libdir}" \
-DCMAKE_SKIP_RPATH=TRUE
%cmake_build %cmake_build
%install %install
@ -74,6 +75,9 @@ cd -
%{_libdir}/pkgconfig/libwoff2enc.pc %{_libdir}/pkgconfig/libwoff2enc.pc
%changelog %changelog
* Mon Apr 19 2021 Eike Rathke <erack@redhat.com> - 1.0.2-11
- Get rid of all things RPATH
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild