require exact libs version

jbig2dec does not version symbols, and there is no upstream guarantee on
ABI stability. Make jbig2dec (the program) depend on the exact libs
versions. Packages compiled against the lib might want to do the same.
See bz 1770160

Suggested-by: Richard W.M. Jones <rjones@redhat.com>
This commit is contained in:
Michael J Gruber 2019-12-14 16:59:48 +01:00
parent fe4f1a6105
commit 286570afe5

View File

@ -1,12 +1,12 @@
Name: jbig2dec Name: jbig2dec
Version: 0.17 Version: 0.17
Release: 2%{?dist} Release: 3%{?dist}
Summary: A decoder implementation of the JBIG2 image compression format Summary: A decoder implementation of the JBIG2 image compression format
License: GPLv2 License: GPLv2
URL: http://jbig2dec.sourceforge.net/ URL: http://jbig2dec.sourceforge.net/
Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs950/%{name}-%{version}.tar.gz Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs950/%{name}-%{version}.tar.gz
Patch1: jbig2dec-0.17-Restore-ABI-compatibility.patch Patch1: jbig2dec-0.17-Restore-ABI-compatibility.patch
Requires: %{name}-libs = %{version}-%{release}
BuildRequires: libtool BuildRequires: libtool
%description %description
@ -80,6 +80,10 @@ rm -f %{buildroot}%{_libdir}/*.la
%changelog %changelog
* Sat Dec 14 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.17-3
- require exact libs version
- clean up white space
* Sat Nov 09 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.17-2 * Sat Nov 09 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.17-2
- restore ABI-compatibilty (#1770160) - restore ABI-compatibilty (#1770160)
@ -116,7 +120,7 @@ rm -f %{buildroot}%{_libdir}/*.la
* Thu May 11 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 0.13.4 * Thu May 11 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 0.13.4
- Add fix for CVE-2017-7976 (#1443898) - Add fix for CVE-2017-7976 (#1443898)
* Wed May 3 2017 Pavel Zhukov <pzhukov@redhat.com> - 0.13-3 * Wed May 03 2017 Pavel Zhukov <pzhukov@redhat.com> - 0.13-3
- Prevent segserv due to int overflow (#1443898) - Prevent segserv due to int overflow (#1443898)
* Tue Mar 07 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 0.13-1 * Tue Mar 07 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 0.13-1