From 24e87e7ef01286617889c1115d13e1e9f87bd1ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=B3=E7=A2=A7=E6=B9=96=E7=9A=84=E7=A0=8D=E6=9F=B4?= =?UTF-8?q?=E4=BA=BA?= Date: Mon, 13 Jan 2020 23:53:51 +0800 Subject: [PATCH] update dynamic library --- libffi.spec | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/libffi.spec b/libffi.spec index abc7314..f012e3f 100644 --- a/libffi.spec +++ b/libffi.spec @@ -1,6 +1,6 @@ Name: libffi Version: 3.3 -Release: 1 +Release: 2 Summary: A Portable Foreign Function Interface Library License: MIT URL: http://sourceware.org/libff @@ -38,6 +38,18 @@ Requires: pkgconfig %description devel The devel package with header files and libraries is for developing apps which needs libffi. +%package -n libffi7 +Summary:A Portable Foreign Function Interface Library + +%description -n libffi7 +libffi.so.7 for %{name} + +%package -n libffi6 +Summary:A Portable Foreign Function Interface Library + +%description -n libffi6 +libffi.so.6 for %{name} + %package help Summary: libffi help Requires: info @@ -56,6 +68,9 @@ The help package contains man files. %install %make_install %delete_la + +cp -a %{_libdir}/lib.so.6* %{buildroot}%{_libdir} + rm -f $RPM_BUILD_ROOT%{_infodir}/dir %ldconfig_scriptlets @@ -75,6 +90,12 @@ fi %license LICENSE %{_libdir}/*.so.* +%files -n libffi7 +%{_libdir}/*.so.7* + +%files -n libffi6 +%{_libdir}/*.so.6* + %files devel %{_libdir}/pkgconfig/*.pc %{_includedir}/ffi*.h @@ -85,6 +106,12 @@ fi %{_infodir}/libffi.info.gz %changelog +* Tue Jan 13 2020 chengquan - 3.3-2 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:fix bug in update dynamic library + * Wed Jan 8 2020 chengquan - 3.3-1 - Type:enhancement - ID:NA -- Gitee