public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
To: git-commits@fedoraproject.org
Subject: [rpms/surgescript] rawhide: Fix debugsource generation
Date: Mon, 12 Oct 2026 10:15:19 GMT [thread overview]
Message-ID: <179180011945.1.12373764273944844125.rpms-surgescript-5b344edf8d3c@fedoraproject.org> (raw)
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
reply other threads:[~2026-10-12 10:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179180011945.1.12373764273944844125.rpms-surgescript-5b344edf8d3c@fedoraproject.org \
--to=marcin@juszkiewicz.com.pl \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox