From 03dedb007ad39cd798b2d0ee99d72947fe76b0ec Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 15 Feb 2018 09:18:10 +0100 Subject: drop ldconfig scriptlets for F28 --- ssdeep.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ssdeep.spec b/ssdeep.spec index 0e8dcca..cc79b52 100644 --- a/ssdeep.spec +++ b/ssdeep.spec @@ -1,6 +1,6 @@ # spec file for ssdeep # -# Copyright (c) 2014-2017 Remi Collet +# Copyright (c) 2014-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -11,7 +11,6 @@ Name: ssdeep Version: 2.14.1 Release: 1%{?dist} Summary: Compute context triggered piecewise hashes -Group: Development/Tools License: GPLv2+ URL: https://ssdeep-project.github.io/ssdeep/ @@ -29,7 +28,6 @@ in between these sequences may be different in both content and length. %package devel Summary: Development files for libfuzzy -Group: Development/Libraries Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel @@ -39,7 +37,6 @@ developing applications that use libfuzzy. %package libs Summary: Runtime libfuzzy library -Group: System Environment/Libraries %description libs The %{name}-libs package contains libraries needed by applications @@ -71,8 +68,10 @@ make install DESTDIR=%{buildroot} rm %{buildroot}%{_libdir}/libfuzzy.la +%if 0%{?fedora} < 28 && 0%{?rhel} < 8 %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig +%endif %files -- cgit