From d1100f79c65236ff995193202cb49c2e886b3a7c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Mar 2018 09:13:16 +0100 Subject: [PATCH] Remove unneeded ldconfig scriptlets Those are not needed since F28 and since this package is built only for F28+, remove those scriptlets entirely. Also fixes: /sbin/ldconfig: relative path `1' used to build cache warning: %postun(libijs-0.35-2.gitd26d2bb.fc28.x86_64) scriptlet failed, exit status 1 Non-fatal POSTUN scriptlet failure in rpm package libijs Non-fatal POSTUN scriptlet failure in rpm package libijs Signed-off-by: Igor Gnatenko --- libijs.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libijs.spec b/libijs.spec index ac3748b..7fb7d16 100644 --- a/libijs.spec +++ b/libijs.spec @@ -13,7 +13,7 @@ Name: libijs Summary: IJS Raster Image Transport Protocol Library Version: 0.35 -Release: 3%{?dist} +Release: 4%{?dist} License: AGPLv3+ @@ -109,11 +109,6 @@ rm -rf %{buildroot}%{_libdir}/*.la install -m 0755 -d %{buildroot}%{_docdir}/%{name} install -m 0644 -p ijs_spec.pdf %{buildroot}%{_docdir}/%{name} -# --------------- - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - # === PACKAGING INSTRUCTIONS ================================================== %files @@ -136,6 +131,9 @@ install -m 0644 -p ijs_spec.pdf %{buildroot}%{_docdir}/%{name} # ============================================================================= %changelog +* Sat Mar 03 2018 Igor Gnatenko - 0.35-4 +- Remove unneeded ldconfig scriptlets + * Wed Feb 28 2018 David Kaspar [Dee'Kej] - 0.35-3 - source updated to point at upstream's Github