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/opensurge] rawhide: Drop upstream -ffile-prefix-map flag to fix empty debugsource package
Date: Mon, 12 Oct 2026 10:15:35 GMT [thread overview]
Message-ID: <179180013520.1.1501636931802264566.rpms-opensurge-9b2b5354a21e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/opensurge
Branch : rawhide
Commit : 9b2b5354a21e6c4d6d9b9957d7db45efe5e5dc67
Author : Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Date : 2026-10-08T10:47:28+02:00
Stats : +27/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/opensurge/c/9b2b5354a21e6c4d6d9b9957d7db45efe5e5dc67?branch=rawhide
Log:
Drop upstream -ffile-prefix-map flag to fix empty debugsource package
---
diff --git a/opensurge-0.6.1.3-no-file-prefix-map.patch b/opensurge-0.6.1.3-no-file-prefix-map.patch
new file mode 100644
index 0000000..01975d3
--- /dev/null
+++ b/opensurge-0.6.1.3-no-file-prefix-map.patch
@@ -0,0 +1,19 @@
+From: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
+
+Upstream status: https://github.com/alemart/opensurge/issues/154
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1234567..abcdefg 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -297,10 +297,6 @@ if(GAME_RUNINPLACE)
+ set_target_properties(${GAME_UNIXNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}")
+ endif()
+
+-# Use relative paths in __FILE__ (reproducible builds)
+-if(NOT MSVC)
+- target_compile_options(${GAME_UNIXNAME} PUBLIC "-ffile-prefix-map=${CMAKE_SOURCE_DIR}=.")
+-endif()
+
+
+
diff --git a/opensurge.spec b/opensurge.spec
index b6e7265..828b71d 100644
--- a/opensurge.spec
+++ b/opensurge.spec
@@ -15,11 +15,15 @@ Summary: 2D retro platformer inspired by Sonic games
License: GPL-3.0-or-later AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
Version: 0.6.1.3
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: https://opensurge2d.org
Source0: https://github.com/alemart/opensurge/archive/v%{version}/%{name}-%{version}.tar.gz
+# Upstream sets -ffile-prefix-map which remaps source paths to "." in DWARF,
+# breaking RPM debugsource package generation (empty debugsourcefiles.list)
+Patch0: opensurge-0.6.1.3-no-file-prefix-map.patch
+
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: gcc
@@ -136,6 +140,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appda
%changelog
+* Thu Oct 08 2026 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.6.1.3-3
+- Drop upstream -ffile-prefix-map flag to fix empty debugsource package
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.3-2
- 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=179180013520.1.1501636931802264566.rpms-opensurge-9b2b5354a21e@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