Use make macros

This commit is contained in:
Timm Bäder 2021-05-14 16:39:25 +02:00
parent ce8608034b
commit e9d0e68c2d

View File

@ -37,7 +37,7 @@
Name: kronosnet
Summary: Multipoint-to-Multipoint VPN daemon
Version: 1.21
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+ and LGPLv2+
URL: https://kronosnet.org
Source0: https://kronosnet.org/releases/%{name}-%{version}.tar.xz
@ -155,11 +155,11 @@ BuildRequires: autoconf automake libtool
--with-initdefaultdir=%{_sysconfdir}/sysconfig/ \
--with-systemddir=%{_unitdir}
make %{_smp_mflags}
%make_build
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%make_install
# tree cleanup
# remove static libraries
@ -433,6 +433,9 @@ Requires: libknet1%{_isa} = %{version}-%{release}
%endif
%changelog
* Fri May 14 2021 Timm Bäder <tbaeder@redhat.com> - 1.21-2
- Use make macros
* Tue Apr 28 2021 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.21-1
- New upstream release
- Update to openssl 3.0alpha13