Include previous ABI version

We'll drop it after rebuilding packages.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-02-17 09:27:33 +01:00
parent 6f0a8f0c6c
commit 6fbdc36a48
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -15,6 +15,7 @@ Patch101: readline-8.0-shlib.patch
BuildRequires: gcc
BuildRequires: ncurses-devel
BuildRequires: readline
%description
The Readline library provides a set of functions that allow users to
@ -52,6 +53,9 @@ library.
%install
%make_install
# Include previous ABI version for temporary binary compatibility
cp -a %{_libdir}/lib{readline,history}.so.7* %{buildroot}%{_libdir}
rm -vrf %{buildroot}%{_docdir}/readline
rm -vf %{buildroot}%{_infodir}/dir*