Use make macros

This commit is contained in:
Timm Bäder 2021-01-27 08:39:17 +01:00
parent be8729f06c
commit 0dd9e8c5d3

View File

@ -1,7 +1,7 @@
Summary: Non-interactive SSH authentication utility
Name: sshpass
Version: 1.07
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2
Url: http://sshpass.sourceforge.net/
Source0: http://downloads.sourceforge.net/sshpass/sshpass-%{version}.tar.gz
@ -18,10 +18,10 @@ more secure public key authentication of SSH instead.
%build
%configure
make %{?_smp_mflags}
%make_build
%install
make DESTDIR=%{buildroot} install
%make_install
%files
%{_bindir}/sshpass
@ -29,6 +29,10 @@ make DESTDIR=%{buildroot} install
%doc AUTHORS COPYING ChangeLog NEWS
%changelog
* Wed Jan 27 2021 Timm Bäder <tbaeder@redhat.com> - 1.07-2
- Use make macros
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
* Tue Jan 26 2021 Martin Cermak <mcermak@redhat.com> - 1.07-1
- Rebase to new upstream version