From 494095d7c0e2c0df9e7323d4bff49b28b6d62007 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Sep 06 2022 07:00:03 +0000 Subject: units.spec: use %{buildroot} rather than $RPM_BUILD_ROOT ... for consistency. No change in behavior expected with this commit. --- diff --git a/units.spec b/units.spec index 4faa6c4..85e66b7 100644 --- a/units.spec +++ b/units.spec @@ -35,12 +35,12 @@ autoreconf -fiv make %{?_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT +make install DESTDIR=%{buildroot} # remove %%{buildroot} from the target of an absolute symlink ln -fsv %{_sharedstatedir}/units/currency.units %{buildroot}%{_datadir}/units -gzip $RPM_BUILD_ROOT%{_infodir}/units.info +gzip %{buildroot}%{_infodir}/units.info # provide a man page for units_cur as a symlink to units.1 ln -s units.1 %{buildroot}%{_mandir}/man1/units_cur.1