public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/nut] rawhide: Explicitly set no rpath options for ldflags in pkg-config files
@ 2026-08-31 19:18 Marcin Juszkiewicz
  0 siblings, 0 replies; only message in thread
From: Marcin Juszkiewicz @ 2026-08-31 19:18 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/nut
            Branch : rawhide
            Commit : b3520c17acfdbb21bc6b56e7dd2f1055f3c0b3c6
            Author : Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
            Date   : 2026-08-25T07:49:48+02:00
            Stats  : +6/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/nut/c/b3520c17acfdbb21bc6b56e7dd2f1055f3c0b3c6?branch=rawhide

            Log:
            Explicitly set no rpath options for ldflags in pkg-config files

On RISC-V /usr/lib64/lp64d/ is used. NUT checks it and then pkg-config
files gets rpath stuff in them. Which confuses packages depending on nut
(like collectd).

---
diff --git a/nut.spec b/nut.spec
index 02b068c..79c855d 100644
--- a/nut.spec
+++ b/nut.spec
@@ -13,7 +13,7 @@
 Summary: Network UPS Tools
 Name: nut
 Version: 2.8.5
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: GPL-2.0-or-later AND GPL-3.0-or-later
 Url: https://www.networkupstools.org/
 Source: https://www.networkupstools.org/source/2.8/%{name}-%{version}.tar.gz
@@ -192,6 +192,8 @@ export LDFLAGS="-Wl,-z,now"
     --disable-static \
     --with-udev-dir=%{_usr}/lib/udev \
     --libdir=%{_libdir} \
+    --enable-ldflags-nut-rpath=no \
+    --enable-ldflags-nut-rpath-cxx=no \
     --enable-docs-changelog=no
 #    --with-doc # does not work in 2.7.1
 
@@ -534,6 +536,9 @@ fi
 %{_libdir}/pkgconfig/libnutscan.pc
 
 %changelog
+* Tue Aug 25 2026 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 2.8.5-8.2
+- Explicitly set no rpath options for ldflags in pkg-config files
+
 * Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 2.8.5-7
 - Rebuilt for Python 3.15.0b4 ABI change
 

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

only message in thread, other threads:[~2026-08-31 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-31 19:18 [rpms/nut] rawhide: Explicitly set no rpath options for ldflags in pkg-config files Marcin Juszkiewicz

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