From 07aca69e0313f14d51236e21f006045f0c27ac10 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jun 26 2018 09:09:33 +0000 Subject: fix ldconfig_scriptlets once more Signed-off-by: Igor Gnatenko --- diff --git a/librepo.spec b/librepo.spec index 385be6d..851f2ad 100644 --- a/librepo.spec +++ b/librepo.spec @@ -11,7 +11,7 @@ Name: librepo Version: 1.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Repodata downloading library License: LGPLv2+ @@ -130,8 +130,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 @@ -152,7 +156,10 @@ popd %endif %changelog -* Tue Jun 26 2018 Jaroslav Mracek <> - 1.9.0-1 +* Tue Jun 26 2018 Igor Gnatenko - 1.9.0-2 +- Fix ldconfig_scriptlets once more + +* Tue Jun 26 2018 Jaroslav Mracek - 1.9.0-1 - Update to 1.9.0 * Mon Jun 18 2018 Miro HronĨok - 1.8.1-9