public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/autossh] epel10: Patch build to honor $LDFLAGS.
@ 2026-10-11 14:41 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-11 14:41 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/autossh
Branch : epel10
Commit : 25eb2678190b229158fe6c8246d0c21b1ba7c795
Author : Ville Skyttä <ville.skytta@iki.fi>
Date   : 2011-11-15T00:48:16+02:00
Stats  : +19/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/autossh/c/25eb2678190b229158fe6c8246d0c21b1ba7c795?branch=epel10

Log:
Patch build to honor $LDFLAGS.

---
diff --git a/autossh-1.4c-ldflags.patch b/autossh-1.4c-ldflags.patch
new file mode 100644
index 0000000..bda6d97
--- /dev/null
+++ b/autossh-1.4c-ldflags.patch
@@ -0,0 +1,12 @@
+diff -up autossh-1.4c/Makefile.in~ autossh-1.4c/Makefile.in
+--- autossh-1.4c/Makefile.in~	2011-10-12 23:30:40.000000000 +0300
++++ autossh-1.4c/Makefile.in	2011-10-30 21:57:35.554395846 +0200
+@@ -31,7 +31,7 @@ all:		$(TARGET)
+ 
+ 
+ $(TARGET):	$(OFILES)
+-		$(CC) $(CPPFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
++		$(CC) $(CPPFLAGS) $(LDFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
+ 
+ clean:
+ 		- /bin/rm -f *.o *.a *.core *~

diff --git a/autossh.spec b/autossh.spec
index 9f0188b..4665bfb 100644
--- a/autossh.spec
+++ b/autossh.spec
@@ -1,11 +1,13 @@
 Summary: Utility to autorestart SSH tunnels
 Name: autossh
 Version: 1.4c
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 Group: Applications/Internet
 URL: http://www.harding.motd.ca/autossh/index.html
 Source0: http://www.harding.motd.ca/autossh/autossh-1.4c.tgz
+# Sent upstream 2011-10-30
+Patch0: autossh-1.4c-ldflags.patch
 BuildRequires: /usr/bin/ssh
 Requires: /usr/bin/ssh
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -16,6 +18,7 @@ dies or stops passing traffic, autossh will automatically restart it.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
@@ -45,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/*
 
 %changelog
+* Mon Nov 14 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.4c-2
+- Patch build to honor $LDFLAGS.
+
 * Sun Oct 30 2011 Alexander Boström <abo@root.snowtree.se> - 1.4c-1
 - Upgrade to 1.4c
 

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

only message in thread, other threads:[~2026-10-11 14:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-11 14:41 [rpms/autossh] epel10: Patch build to honor $LDFLAGS 

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