!2 update to version 3.1
Merge pull request !2 from zhangqiumiao/master
This commit is contained in:
commit
fe6ba66261
@ -1,11 +0,0 @@
|
||||
--- Makefile.orig 2017-11-16 15:00:14.579051907 +0100
|
||||
+++ Makefile 2017-11-16 15:00:31.728134481 +0100
|
||||
@@ -45,7 +45,7 @@
|
||||
install -m 644 -D include/x86emu.h $(DESTDIR)/usr/include/x86emu.h
|
||||
|
||||
$(LIB_NAME): .depend $(OBJS)
|
||||
- $(CC) -shared -Wl,-soname,$(LIB_SONAME) $(OBJS) -o $(LIB_NAME)
|
||||
+ $(CC) -shared -Wl,-soname,$(LIB_SONAME) $(LDFLAGS) $(OBJS) -o $(LIB_NAME)
|
||||
|
||||
test:
|
||||
make -C test
|
||||
Binary file not shown.
BIN
libx86emu-3.1.tar.gz
Normal file
BIN
libx86emu-3.1.tar.gz
Normal file
Binary file not shown.
@ -7,14 +7,14 @@
|
||||
LDFLAGS="-fPIC %{__global_ldflags}"
|
||||
|
||||
Name: libx86emu
|
||||
Version: 1.11
|
||||
Release: 4
|
||||
Version: 3.1
|
||||
Release: 1
|
||||
Summary: x86 emulation library
|
||||
License: BSD
|
||||
URL: https://github.com/wfeldt/libx86emu
|
||||
Source0: https://github.com/wfeldt/libx86emu/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: libx86emu-1.11-ldflags.patch
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libx86emu
|
||||
|
||||
%description
|
||||
libx86emu is a small library to emulate x86 instructions.
|
||||
@ -38,18 +38,25 @@ 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)
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/libx86emu.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/x86emu.h
|
||||
%{_libdir}/libx86emu.so
|
||||
|
||||
%changelog
|
||||
* Tue Jul 28 2020 zhangqiumiao <zhangqiumiao1@huawei.com> - 3.1-1
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:upgrade to version 3.1
|
||||
|
||||
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.11-4
|
||||
- Package init
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
version_control: github
|
||||
src_repo: wfeldt/libx86emu
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user