public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libfaketime] epel9: Strip the librararies from debugging symbols
@ 2026-11-20  7:27 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-20  7:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libfaketime
Branch : epel9
Commit : fb48cd0f538b39e01537f197687cb0130bc8c5bd
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-01-06T10:06:15+01:00
Stats  : +28/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/libfaketime/c/fb48cd0f538b39e01537f197687cb0130bc8c5bd?branch=epel9

Log:
Strip the librararies from debugging symbols

---
diff --git a/libfaketime-0.9.12-Dynamic-libraries-are-expected-to-be-executable-on-F.patch b/libfaketime-0.9.12-Dynamic-libraries-are-expected-to-be-executable-on-F.patch
new file mode 100644
index 0000000..3ee411a
--- /dev/null
+++ b/libfaketime-0.9.12-Dynamic-libraries-are-expected-to-be-executable-on-F.patch
@@ -0,0 +1,25 @@
+From 54a620a45f6d2f125314ad4155dce05ef3819aeb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Tue, 6 Jan 2026 10:02:14 +0100
+Subject: [PATCH] Dynamic libraries are expected to be executable on Fedora
+
+---
+ src/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index d40c90b..3663cc5 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -187,7 +187,7 @@ install: ${LIBS} ${BINS}
+ 	@echo
+ 	@echo "Copying the faketime libraries to ${DESTDIR}${PREFIX}${LIBDIRNAME} and the faketime wrapper script to ${DESTDIR}${PREFIX}/bin ..."
+ 	$(INSTALL) -dm0755 "${DESTDIR}${PREFIX}${LIBDIRNAME}/"
+-	$(INSTALL) -m0644 ${LIBS} "${DESTDIR}${PREFIX}${LIBDIRNAME}/"
++	$(INSTALL) -m0755 ${LIBS} "${DESTDIR}${PREFIX}${LIBDIRNAME}/"
+ 	$(INSTALL) -Dm0755 faketime "${DESTDIR}${PREFIX}/bin/faketime"
+ 
+ uninstall:
+-- 
+2.52.0
+

diff --git a/libfaketime.spec b/libfaketime.spec
index 0b1be7a..cfef608 100644
--- a/libfaketime.spec
+++ b/libfaketime.spec
@@ -22,6 +22,9 @@ URL:        https://github.com/wolfcw/libfaketime
 Source:     %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 # https://github.com/wolfcw/libfaketime/pull/525
 Patch0:     libfaketime-0.9.12-isoc23.patch
+# Make the libraires executable, needed for stripping them. Not suitable for
+# upstream, e.g. Debian does not like it.
+Patch1:     libfaketime-0.9.12-Dynamic-libraries-are-expected-to-be-executable-on-F.patch
 BuildRequires:  coreutils
 BuildRequires:  gcc
 BuildRequires:  make

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-20  7:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20  7:27 [rpms/libfaketime] epel9: Strip the librararies from debugging symbols 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox