Skip to content

Commit

Permalink
Replace macro ldconfig_scriptlets
Browse files Browse the repository at this point in the history
It's not present in CentOS 7 so we need to replace it by its contents ro
rebuild it in RDO.
  • Loading branch information
amoralej committed Mar 15, 2019
1 parent e7ba897 commit ccb389f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions qpid-proton.spec
Expand Up @@ -80,7 +80,9 @@ Obsoletes: perl-qpid-proton
%{_libdir}/libqpid-proton-core.so.*
%{_libdir}/libqpid-proton-proactor.so.*

%ldconfig_scriptlets c
%post c -p /sbin/ldconfig

%postun c -p /sbin/ldconfig


%package cpp
Expand All @@ -98,7 +100,9 @@ Requires: jsoncpp
%doc %{proton_datadir}/README*
%{_libdir}/libqpid-proton-cpp.so.*

%ldconfig_scriptlets cpp
%post cpp -p /sbin/ldconfig

%postun cpp -p /sbin/ldconfig


%package c-devel
Expand Down

0 comments on commit ccb389f

Please sign in to comment.