public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/slibtool] rawhide: Fix installability - replace /dev/null shebang
@ 2026-09-21 13:20 Artur Frenszek-Iwicki
  0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-09-21 13:20 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/slibtool
Branch : rawhide
Commit : 646d28d91f018bf282aa6d9bdee6c5232a1642ba
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-09-21T15:15:15+02:00
Stats  : +8/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/slibtool/c/646d28d91f018bf282aa6d9bdee6c5232a1642ba?branch=rawhide

Log:
Fix installability - replace /dev/null shebang

---
diff --git a/slibtool.spec b/slibtool.spec
index a73c27c..93947bf 100644
--- a/slibtool.spec
+++ b/slibtool.spec
@@ -13,7 +13,7 @@
 
 Name:           slibtool
 Version:        0.7.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A skinny libtool implementation, written in C
 
 License:        MIT
@@ -63,6 +63,10 @@ to use functionality provided by %{name}.
 %prep
 %autosetup -p1
 
+# This no-op script uses /dev/null in its shebang, which makes rpm tack "Requires(/dev/null)"
+# onto the resulting package, which makes it impossible to install.
+sed -e 's|^#!/dev/null$|#!/bin/sh|' -i aux/ltmain.sh
+
 
 %build
 %configure --enable-shared --all-shared \
@@ -98,6 +102,9 @@ to use functionality provided by %{name}.
 %{_libdir}/pkgconfig/%{name}.pc
 
 %changelog
+* Mon Sep 21 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 0.7.4-2
+- Fix installability - replace /dev/null shebang
+
 * Mon Aug 31 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 0.7.4-1
 - Update to v0.7.4 (rhbz#1876730)
 

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

only message in thread, other threads:[~2026-09-21 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 13:20 [rpms/slibtool] rawhide: Fix installability - replace /dev/null shebang Artur Frenszek-Iwicki

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