From 031e2b95cc7ebc4a78821001b16ad3c06de08204 Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Oct 31 2017 22:21:05 +0000 Subject: Do not call deleted script from %post section Commit b730f13ce0e8d13d2f0b94b3bee19e4457da5576 deleted certificate generation scripts, but create_certdb.sh was still called from %post section. --- diff --git a/openldap.spec b/openldap.spec index 12df3b8..238c8a6 100644 --- a/openldap.spec +++ b/openldap.spec @@ -342,12 +342,7 @@ rm -f %{buildroot}%{_libdir}/*.la # because we do not want files in %{_libdir}/ rm -f %{buildroot}%{_localstatedir}/openldap-data/DB_CONFIG.example rmdir %{buildroot}%{_localstatedir}/openldap-data -%post - -/sbin/ldconfig - -# create certificate database -%{_libexecdir}/openldap/create-certdb.sh >&/dev/null || : +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig