summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Gnatenko <ignatenkobrain@fedoraproject.org>2018-02-03 16:28:53 +0100
committerIgor Gnatenko <ignatenkobrain@fedoraproject.org>2018-02-03 16:28:53 +0100
commit2ee9663dd7145878d2e1809d144fcafa2add2f07 (patch)
tree493c1e1efc6d55605afe2c31519bb76a969ba62b
parentFix for BrickFTP (#1489736), spec clean-up (diff)
downloadlibssh2-freefilesync-2ee9663dd7145878d2e1809d144fcafa2add2f07.tar.gz
libssh2-freefilesync-2ee9663dd7145878d2e1809d144fcafa2add2f07.tar.bz2
libssh2-freefilesync-2ee9663dd7145878d2e1809d144fcafa2add2f07.zip
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
-rw-r--r--libssh2.spec9
1 files changed, 5 insertions, 4 deletions
diff --git a/libssh2.spec b/libssh2.spec
index ef5d135..303f344 100644
--- a/libssh2.spec
+++ b/libssh2.spec
@@ -1,6 +1,6 @@
Name: libssh2
Version: 1.8.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: A library implementing the SSH2 protocol
License: BSD
URL: http://www.libssh2.org/
@@ -105,9 +105,7 @@ echo "exit 0" > tests/mansyntax.sh
%endif
make -C tests check
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%ldconfig_scriptlets
%files
%{!?_licensedir:%global license %%doc}
@@ -129,6 +127,9 @@ make -C tests check
%{_libdir}/pkgconfig/libssh2.pc
%changelog
+* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.0-6
+- Switch to %%ldconfig_scriptlets
+
* Tue Sep 12 2017 Paul Howarth <paul@city-fan.org> - 1.8.0-5
- scp: Do not NUL-terminate the command for remote exec (#1489736, GH#208)
- Make devel package dependency on main package arch-specific
bgstack15