Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
b2b0a75fd4
commit
da0807b4fe
@ -1,6 +1,6 @@
|
|||||||
Name: libjpeg-turbo
|
Name: libjpeg-turbo
|
||||||
Version: 1.5.3
|
Version: 1.5.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A MMX/SSE2/SIMD accelerated library for manipulating JPEG image files
|
Summary: A MMX/SSE2/SIMD accelerated library for manipulating JPEG image files
|
||||||
License: IJG
|
License: IJG
|
||||||
URL: http://sourceforge.net/projects/libjpeg-turbo
|
URL: http://sourceforge.net/projects/libjpeg-turbo
|
||||||
@ -126,11 +126,8 @@ fi
|
|||||||
%check
|
%check
|
||||||
make test %{?_smp_mflags}
|
make test %{?_smp_mflags}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
%postun -p /sbin/ldconfig
|
%ldconfig_scriptlets -n turbojpeg
|
||||||
|
|
||||||
%post -n turbojpeg -p /sbin/ldconfig
|
|
||||||
%postun -n turbojpeg -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md README.ijg ChangeLog.md
|
%doc README.md README.ijg ChangeLog.md
|
||||||
@ -168,6 +165,9 @@ make test %{?_smp_mflags}
|
|||||||
%{_libdir}/pkgconfig/libturbojpeg.pc
|
%{_libdir}/pkgconfig/libturbojpeg.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.3-2
|
||||||
|
- Switch to %%ldconfig_scriptlets
|
||||||
|
|
||||||
* Tue Dec 19 2017 Nikola Forró <nforro@redhat.com> - 1.5.3-1
|
* Tue Dec 19 2017 Nikola Forró <nforro@redhat.com> - 1.5.3-1
|
||||||
- New upstream release 1.5.3 (#1468783)
|
- New upstream release 1.5.3 (#1468783)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user