Skip to content

Commit c0506fd

Browse files
committed
Use ldconfig_scriplets for the ldconfig commands
1 parent 95d89e9 commit c0506fd

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

rpm/scitokens-cpp.spec

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,7 @@ do_build
6363
%make_install -C build
6464

6565
# Run the ldconfig
66-
# This package is targeted to EPEL 7, which doesn't have the macro %ldconfig_scriplits
67-
# %ldconfig_scriptlets
68-
69-
%post
70-
/sbin/ldconfig
71-
72-
%postun
73-
/sbin/ldconfig
74-
66+
%ldconfig_scriptlets
7567

7668
%files
7769
%{_libdir}/libSciTokens.so

0 commit comments

Comments
 (0)