Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
96c7beb69a
commit
f735d817d5
12
clucene.spec
12
clucene.spec
@ -6,7 +6,7 @@
|
||||
Summary: A C++ port of Lucene
|
||||
Name: clucene
|
||||
Version: 2.3.3.4
|
||||
Release: 29.%{snap}.%{git_short}git%{?dist}
|
||||
Release: 30.%{snap}.%{git_short}git%{?dist}
|
||||
License: LGPLv2+ or ASL 2.0
|
||||
Group: Development/System
|
||||
URL: http://www.sourceforge.net/projects/clucene
|
||||
@ -116,9 +116,7 @@ make -C %{_target_platform} cl_test && \
|
||||
time make -C %{_target_platform} test ARGS="--timeout 300 --output-on-failure" ||:
|
||||
#endif
|
||||
|
||||
|
||||
%post core -p /sbin/ldconfig
|
||||
%postun core -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets core
|
||||
|
||||
%files core
|
||||
%defattr(-, root, root, -)
|
||||
@ -128,8 +126,7 @@ time make -C %{_target_platform} test ARGS="--timeout 300 --output-on-failure" |
|
||||
%{_libdir}/libclucene-shared.so.1*
|
||||
%{_libdir}/libclucene-shared.so.%{version}
|
||||
|
||||
%post contribs-lib -p /sbin/ldconfig
|
||||
%postun contribs-lib -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets contribs-lib
|
||||
|
||||
%files contribs-lib
|
||||
%defattr(-, root, root, -)
|
||||
@ -148,6 +145,9 @@ time make -C %{_target_platform} test ARGS="--timeout 300 --output-on-failure" |
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Feb 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.3.3.4-30.20130812.e8e3d20git
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3.4-29.20130812.e8e3d20git
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user