diff --git a/autossh.changes b/autossh.changes index 389bcf6..a44da9e 100644 --- a/autossh.changes +++ b/autossh.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Aug 9 19:52:50 UTC 2019 - BenoƮt Monin + +- add autoconf and automake as BuildRequires for autoreconf +- call autoreconf before configure otherwise setproctitle is + mis-detected as present, causing a build failure + ------------------------------------------------------------------- Thu Mar 28 21:29:41 UTC 2019 - Greg Freemyer diff --git a/autossh.spec b/autossh.spec index 6d165d1..22974b5 100644 --- a/autossh.spec +++ b/autossh.spec @@ -38,7 +38,8 @@ Source3: autossh.service Source4: my.conf Source5: README.SUSE.md BuildRoot: %{_tmppath}/%{name}-%{version}-build - +BuildRequires: autoconf +BuildRequires: automake # configure checks is the ssh client exists BuildRequires: openssh Requires: openssh @@ -60,6 +61,7 @@ cp %{S:4} . cp %{S:5} . %build +autoreconf -fvi %configure make %{?_smp_mflags}