Strip RPATH from %{_bindir}/drmdevice

This commit is contained in:
Adam Jackson 2018-11-19 14:22:55 -05:00
parent b85d4fac5b
commit ffc012cd30

View File

@ -48,7 +48,7 @@ end}
Name: libdrm Name: libdrm
Summary: Direct Rendering Manager runtime library Summary: Direct Rendering Manager runtime library
Version: 2.4.96 Version: 2.4.96
Release: 1%{?dist} Release: 2%{?dist}
License: MIT License: MIT
URL: https://dri.freedesktop.org URL: https://dri.freedesktop.org
@ -77,6 +77,7 @@ BuildRequires: valgrind-devel
%if %{with udev} %if %{with udev}
BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(udev)
%endif %endif
BuildRequires: chrpath
# hardcode the 666 instead of 660 for device nodes # hardcode the 666 instead of 660 for device nodes
Patch1001: libdrm-make-dri-perms-okay.patch Patch1001: libdrm-make-dri-perms-okay.patch
@ -132,6 +133,7 @@ Utility programs for the kernel DRM interface. Will void your warranty.
%install %install
%meson_install %meson_install
%if %{with install_test_programs} %if %{with install_test_programs}
chrpath -d %{_vpath_builddir}/tests/drmdevice
install -Dpm0755 -t %{buildroot}%{_bindir} %{_vpath_builddir}/tests/drmdevice install -Dpm0755 -t %{buildroot}%{_bindir} %{_vpath_builddir}/tests/drmdevice
%endif %endif
%if %{with udev} %if %{with udev}
@ -281,6 +283,9 @@ install -Dpm0644 -t %{buildroot}%{_udevrulesdir} %{S:2}
%endif %endif
%changelog %changelog
* Mon Nov 19 2018 Adam Jackson <ajax@redhat.com> - 2.4.96-2
- Strip RPATH from %%{_bindir}/drmdevice
* Sun Oct 28 2018 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.96-1 * Sun Oct 28 2018 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.96-1
- Update to 2.4.96 - Update to 2.4.96