public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/autossh] epel10: Patch build to honor $LDFLAGS.
Date: Sun, 11 Oct 2026 14:41:34 GMT [thread overview]
Message-ID: <179172969468.1.17058817475945230487.rpms-autossh-25eb2678190b@fedoraproject.org> (raw)
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
reply other threads:[~2026-10-11 14:41 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=179172969468.1.17058817475945230487.rpms-autossh-25eb2678190b@fedoraproject.org \
--to=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