commit 2e7c61eda235ca669dfac39d578bdf36c19aed75
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Sat Mar 31 10:42:32 2018 +0100
add missing scriptlet and remove extra install from make_install
nvidia-settings.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/nvidia-settings.spec b/nvidia-settings.spec
index b5c7209..71164d6 100644
--- a/nvidia-settings.spec
+++ b/nvidia-settings.spec
@@ -66,7 +66,7 @@ make \
%install
-%make_install INSTALL="install -p"
+%make_install
# Desktop entry for nvidia-settings
mkdir -p %{buildroot}%{_datadir}/applications
@@ -86,6 +86,7 @@ mkdir -p %{buildroot}%{_datadir}/pixmap
install -pm 0644 doc/nvidia-settings.png \
%{buildroot}%{_datadir}/pixmap
+%ldconfig_scriptlets
%files
%doc doc/*.txt