From 3108fff0e2fe6c00525abcdcb4041db73a149a85 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Feb 2018 09:00:53 +0100 Subject: drop ldconfig scriptlets on F28+ --- libdvdcss.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libdvdcss.spec b/libdvdcss.spec index 4e477e6..f281bbe 100644 --- a/libdvdcss.spec +++ b/libdvdcss.spec @@ -1,7 +1,7 @@ Summary: A portable abstraction library for DVD decryption Name: libdvdcss Version: 1.4.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Source: http://www.videolan.org/pub/videolan/libdvdcss/%{version}/libdvdcss-%{version}.tar.bz2 URL: http://www.videolan.org/libdvdcss/ @@ -45,9 +45,11 @@ mv %{buildroot}/usr/share/doc/libdvdcss docdir find %{buildroot} -regex ".*\.la$" -delete -%post -p /sbin/ldconfig +%if 0%{?fedora} < 28 && 0%{?rhel} < 8 +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%endif %files @@ -63,6 +65,9 @@ find %{buildroot} -regex ".*\.la$" -delete %changelog +* Mon Feb 26 2018 Remi Collet - 1.4.1-2 +- drop ldconfig scriptlets on F28+ + * Thu Feb 01 2018 Xavier Bachelot - 1.4.1-1 - Update to 1.4.1. - Clean up spec. -- cgit