Accepting request 722086 from home:benoit_monin:branches:security

- add autoconf and automake as BuildRequires for autoreconf
- call autoreconf before configure otherwise setproctitle is
  mis-detected as present, causing a build failure

OBS-URL: https://build.opensuse.org/request/show/722086
OBS-URL: https://build.opensuse.org/package/show/security/autossh?expand=0&rev=33
This commit is contained in:
Greg Freemyer 2019-08-11 21:30:55 +00:00 committed by Git OBS Bridge
parent e781b98b9a
commit 5918852949
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 9 19:52:50 UTC 2019 - Benoît Monin <benoit.monin@gmx.fr>
- 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 <Greg.Freemyer@gmail.com>

View File

@ -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}