Accepting request 1060942 from home:guoyunhe:branches:Emulators
- Add patch fix-test-files.patch - Remove test files that are only useful for developers and testers - Remove rpmlint because lint issues had been fixed by patch OBS-URL: https://build.opensuse.org/request/show/1060942 OBS-URL: https://build.opensuse.org/package/show/Emulators/rpcs3?expand=0&rev=41
This commit is contained in:
parent
eac6329ff4
commit
54e90e1f06
11
fix-test-files.patch
Normal file
11
fix-test-files.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff --git a/rpcs3/CMakeLists.txt b/rpcs3/CMakeLists.txt
|
||||||
|
index 72b3e06e0bd..5a599102287 100644
|
||||||
|
--- a/rpcs3/CMakeLists.txt
|
||||||
|
+++ b/rpcs3/CMakeLists.txt
|
||||||
|
@@ -217,6 +217,4 @@ if(UNIX AND NOT APPLE)
|
||||||
|
DESTINATION ${CMAKE_INSTALL_DATADIR}/rpcs3)
|
||||||
|
install(DIRECTORY ../bin/git
|
||||||
|
DESTINATION ${CMAKE_INSTALL_DATADIR}/rpcs3)
|
||||||
|
- install(DIRECTORY ../bin/test
|
||||||
|
- DESTINATION ${CMAKE_INSTALL_DATADIR}/rpcs3)
|
||||||
|
endif()
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 12:42:08 UTC 2023 - Yunhe Guo <i@guoyunhe.me>
|
||||||
|
|
||||||
|
- Add patch fix-test-files.patch
|
||||||
|
- Remove test files that are only useful for developers and testers
|
||||||
|
- Remove rpmlint because lint issues had been fixed by patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 09 11:08:49 UTC 2023 - i@guoyunhe.me
|
Mon Jan 09 11:08:49 UTC 2023 - i@guoyunhe.me
|
||||||
|
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
addFilter("missing-PT_GNU_STACK-section /usr/share/rpcs3/test/.*.elf")
|
|
||||||
addFilter("position-independent-executable-suggested /usr/share/rpcs3/test/.*.elf")
|
|
||||||
addFilter("statically-linked-binary /usr/share/rpcs3/test/.*.elf")
|
|
||||||
addFilter("arch-dependent-file-in-usr-share /usr/share/rpcs3/test/.*.elf")
|
|
@ -23,7 +23,8 @@ Summary: PS3 emulator/debugger
|
|||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
URL: https://rpcs3.net
|
URL: https://rpcs3.net
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: intel-ittapi.tar.xz
|
Source1: intel-ittapi.tar.xz
|
||||||
|
Patch1: fix-test-files.patch
|
||||||
BuildRequires: gcc-c++ >= 9
|
BuildRequires: gcc-c++ >= 9
|
||||||
BuildRequires: cmake(x86-64) >= 3.14.1
|
BuildRequires: cmake(x86-64) >= 3.14.1
|
||||||
BuildRequires: pkgconfig(libpng)
|
BuildRequires: pkgconfig(libpng)
|
||||||
@ -91,6 +92,7 @@ An open-source PlayStation 3 emulator/debugger written in C++.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 1
|
%setup -q -a 1
|
||||||
|
%patch1 -p 1
|
||||||
|
|
||||||
#Generate Version Strings
|
#Generate Version Strings
|
||||||
GIT_VERSION=$(echo %{version} | sed 's|.*git|git~|g')
|
GIT_VERSION=$(echo %{version} | sed 's|.*git|git~|g')
|
||||||
|
Loading…
Reference in New Issue
Block a user