!12 [sync] PR-6: 删除多余低版本的.so

From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2022-03-25 03:39:51 +00:00 committed by Gitee
commit 41bb91315e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -8,13 +8,12 @@
Name: libx86emu
Version: 3.1
Release: 1
Release: 2
Summary: x86 emulation library
License: BSD
URL: https://github.com/wfeldt/libx86emu
Source0: https://github.com/wfeldt/libx86emu/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: libx86emu
%description
libx86emu is a small library to emulate x86 instructions.
@ -23,7 +22,6 @@ but to cover enough for typical firmware blobs.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains development files for %{name}.
@ -38,7 +36,6 @@ The %{name}-devel package contains development files for %{name}.
%install
%make_install %{make_flags}
cp %{_libdir}/libx86emu.so.1* %{buildroot}%{_libdir}/
%files
%defattr(-,root,root)
@ -52,6 +49,11 @@ cp %{_libdir}/libx86emu.so.1* %{buildroot}%{_libdir}/
%{_libdir}/libx86emu.so
%changelog
* Fri Nov 5 2020 xingxing <xingxing9@huawei.com> - 3.1-2
- ID:NA
- SUG:NA
- DESC:delete low version
* Tue Jul 28 2020 zhangqiumiao <zhangqiumiao1@huawei.com> - 3.1-1
- Type:enhancement
- ID:NA