From 2aa20992447ae6e7d354c2782b9ffc23aacc2158 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 02:32:01 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- pcs.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pcs.spec b/pcs.spec index 5190947..e827abb 100644 --- a/pcs.spec +++ b/pcs.spec @@ -1,6 +1,6 @@ Name: pcs Version: 0.10.5 -Release: 7%{?dist} +Release: 8%{?dist} # https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses # GPLv2: pcs # ASL 2.0: tornado @@ -272,8 +272,7 @@ mv %{pcsd_public_dir}/%{ui_src_name}/build pcsd/public/ui rm -r %{pcsd_public_dir}/%{ui_src_name} # main pcs install -make install \ - DESTDIR=$RPM_BUILD_ROOT \ +%make_install \ PREFIX=%{_prefix} \ SYSTEMD_UNIT_DIR=%{_unitdir} \ LIB_DIR=%{pcs_libdir} \ @@ -434,6 +433,10 @@ remove_all_tests %license pyagentx_LICENSE.txt %changelog +* Tue Jul 21 2020 Tom Stellard - 0.10.5-8 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jul 15 2020 Ondrej Mular - 0.10.5-7 - Use fixed upstream version of dacite with Python 3.9 support - Split upstream tests in gating into tiers