summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-26 09:00:53 +0100
committerRemi Collet <remi@remirepo.net>2018-02-26 09:00:53 +0100
commit3108fff0e2fe6c00525abcdcb4041db73a149a85 (patch)
treeeb9bf4450a8fffe83f56a9ba5b7c8eaf74fb1ced
parent9e82f13c028232d33d19740de8bfe0c4bf136653 (diff)
drop ldconfig scriptlets on F28+
-rw-r--r--libdvdcss.spec9
1 files 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 <remi@remirepo.net> - 1.4.1-2
+- drop ldconfig scriptlets on F28+
+
* Thu Feb 01 2018 Xavier Bachelot <xavier@bachelot.org> - 1.4.1-1
- Update to 1.4.1.
- Clean up spec.