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 <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-03-03 09:13:16 +01:00
parent da45085b1a
commit d1100f79c6
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -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 <ignatenkobrain@fedoraproject.org> - 0.35-4
- Remove unneeded ldconfig scriptlets
* Wed Feb 28 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 0.35-3
- source updated to point at upstream's Github