Skip to content

Commit

Permalink
[nemo-filemanager] Call ldconfig on post and postun. Contributes to J…
Browse files Browse the repository at this point in the history
…B#46991
  • Loading branch information
rainemak committed Sep 11, 2019
1 parent f302a68 commit 677c9c9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rpm/nemo-qml-plugin-filemanager.spec
Expand Up @@ -6,6 +6,8 @@ Group: System/Libraries
License: BSD
URL: https://git.merproject.org/mer-core/nemo-qml-plugin-filemanager
Source0: %{name}-%{version}.tar.bz2
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Qml)
Expand Down Expand Up @@ -47,6 +49,10 @@ rm -rf %{buildroot}
chmod o+w -R %{buildroot}/%{_libdir}/%{name}-tests/auto/folder
chmod o-r -R %{buildroot}/%{_libdir}/%{name}-tests/auto/hiddenfolder

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%{_libdir}/qt5/qml/Nemo/FileManager/libnemofilemanager.so
Expand Down

0 comments on commit 677c9c9

Please sign in to comment.