From e8b72513c006020fa0d77b4f029f59b379f7eff6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jun 29 2018 09:46:00 +0000 Subject: Restore proper ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/libdnf.spec b/libdnf.spec index 7bfbfca..ca8a6fa 100644 --- a/libdnf.spec +++ b/libdnf.spec @@ -24,7 +24,7 @@ Name: libdnf Version: 0.15.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library providing simplified C and Python API to libsolv License: LGPLv2+ URL: https://github.com/rpm-software-management/libdnf @@ -173,8 +173,12 @@ pushd build-py3 popd %endif +%if 0%{?rhel} && 0%{?rhel} <= 7 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%else +%ldconfig_scriptlets +%endif %files %license COPYING @@ -204,6 +208,9 @@ popd %endif %changelog +* Fri Jun 29 2018 Igor Gnatenko - 0.15.1-2 +- Restore proper ldconfig_scriptlets + * Tue Jun 26 2018 Jaroslav Mracek - 0.15.1-1 - Update to 0.15.1