public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/surgescript] rawhide: Fix debugsource generation
@ 2026-10-12 10:15 Marcin Juszkiewicz
0 siblings, 0 replies; only message in thread
From: Marcin Juszkiewicz @ 2026-10-12 10:15 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/surgescript
Branch : rawhide
Commit : 5b344edf8d3c6ef02d835e8c6387cce7477c5b7a
Author : Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Date : 2026-10-08T12:01:11+02:00
Stats : +18/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/surgescript/c/5b344edf8d3c6ef02d835e8c6387cce7477c5b7a?branch=rawhide
Log:
Fix debugsource generation
---
diff --git a/drop-prefix-map.patch b/drop-prefix-map.patch
new file mode 100644
index 0000000..abf243f
--- /dev/null
+++ b/drop-prefix-map.patch
@@ -0,0 +1,12 @@
+Index: surgescript-0.6.1/CMakeLists.txt
+===================================================================
+--- surgescript-0.6.1.orig/CMakeLists.txt
++++ surgescript-0.6.1/CMakeLists.txt
+@@ -142,7 +142,6 @@ generate_file("util/version.h")
+ # Use relative paths in __FILE__
+ function(drop_compilation_paths TARGET)
+ if(NOT MSVC)
+- target_compile_options(${TARGET} PUBLIC "-ffile-prefix-map=${CMAKE_SOURCE_DIR}=.")
+ endif()
+ endfunction()
+
diff --git a/surgescript.spec b/surgescript.spec
index e2aefd7..d69cabe 100644
--- a/surgescript.spec
+++ b/surgescript.spec
@@ -21,10 +21,11 @@ Summary: Scripting language for games
License: Apache-2.0 AND BSD-1-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain
Version: 0.6.1
-Release: 6%{?dist}
+Release: 7%{?dist}
URL: https://opensurge2d.org
Source0: https://github.com/alemart/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
+Patch: drop-prefix-map.patch
BuildRequires: cmake
BuildRequires: gcc
@@ -79,7 +80,7 @@ using static linking.
%prep
-%setup -q
+%autosetup
%build
@@ -123,6 +124,9 @@ rmdir %{buildroot}%{_datadir}
%changelog
+* Thu Oct 08 2026 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.6.1-7
+- Fix debugsource package generation
+
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-12 10:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12 10:15 [rpms/surgescript] rawhide: Fix debugsource generation Marcin Juszkiewicz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox