projects
/
platform
/
core
/
security
/
security-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70438b
)
spec: add missing calls do ldconfig on %post and %postun
72/23672/2
author
Rafal Krypa
<r.krypa@samsung.com>
Tue, 1 Jul 2014 12:52:07 +0000
(14:52 +0200)
committer
Rafal Krypa
<r.krypa@samsung.com>
Tue, 1 Jul 2014 12:52:07 +0000
(14:52 +0200)
The main package also contains a library, so it should call ldconfig.
Problem reported by rpmlint.
Change-Id: Id9fdd874f725e1793f155d2766b8a25fee2df4db
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
packaging/security-manager.spec
patch
|
blob
|
history
diff --git
a/packaging/security-manager.spec
b/packaging/security-manager.spec
index
469511b
..
a2f615b
100644
(file)
--- a/
packaging/security-manager.spec
+++ b/
packaging/security-manager.spec
@@
-83,6
+83,7
@@
ln -s ../security-manager-installer.socket %{buildroot}/%{_unitdir}/sockets.targ
rm -rf %{buildroot}
%post
+/sbin/ldconfig
systemctl daemon-reload
if [ $1 = 1 ]; then
# installation
@@
-103,6
+104,7
@@
if [ $1 = 0 ]; then
fi
%postun
+/sbin/ldconfig
if [ $1 = 0 ]; then
# unistall
systemctl daemon-reload