Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 17:43:32 +01:00
parent f0a4092509
commit 48e5678d39
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,6 +1,6 @@
Name: yajl Name: yajl
Version: 2.1.0 Version: 2.1.0
Release: 8%{?dist} Release: 9%{?dist}
Summary: Yet Another JSON Library (YAJL) Summary: Yet Another JSON Library (YAJL)
Group: Development/Libraries Group: Development/Libraries
@ -74,24 +74,17 @@ cd test
(cd parsing && ./run_tests.sh) (cd parsing && ./run_tests.sh)
(cd api && ./run_tests.sh) (cd api && ./run_tests.sh)
%clean %ldconfig_scriptlets
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-) %license COPYING
%doc COPYING ChangeLog README TODO %doc ChangeLog README TODO
%{_bindir}/json_reformat %{_bindir}/json_reformat
%{_bindir}/json_verify %{_bindir}/json_verify
%{_libdir}/libyajl.so.2 %{_libdir}/libyajl.so.2
%{_libdir}/libyajl.so.2.* %{_libdir}/libyajl.so.2.*
%files devel %files devel
%defattr(-,root,root,-)
%doc COPYING
%dir %{_includedir}/yajl %dir %{_includedir}/yajl
%{_includedir}/yajl/yajl_common.h %{_includedir}/yajl/yajl_common.h
%{_includedir}/yajl/yajl_gen.h %{_includedir}/yajl/yajl_gen.h
@ -103,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.1.0-9
- Switch to %%ldconfig_scriptlets
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-8 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild