SHA256
1
0
forked from pool/rpcs3

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:
Klaus Kämpf 2023-02-06 09:29:14 +00:00 committed by Git OBS Bridge
parent eac6329ff4
commit 54e90e1f06
4 changed files with 21 additions and 5 deletions

11
fix-test-files.patch Normal file
View 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()

View File

@ -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

View File

@ -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")

View File

@ -23,7 +23,8 @@ Summary: PS3 emulator/debugger
License: GPL-2.0-only
URL: https://rpcs3.net
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: cmake(x86-64) >= 3.14.1
BuildRequires: pkgconfig(libpng)
@ -91,6 +92,7 @@ An open-source PlayStation 3 emulator/debugger written in C++.
%prep
%setup -q -a 1
%patch1 -p 1
#Generate Version Strings
GIT_VERSION=$(echo %{version} | sed 's|.*git|git~|g')