units.spec: use %{buildroot} rather than $RPM_BUILD_ROOT
... for consistency. No change in behavior expected with this commit.
This commit is contained in:
parent
9637bfd8ed
commit
494095d7c0
@ -35,12 +35,12 @@ autoreconf -fiv
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
# remove %%{buildroot} from the target of an absolute symlink
|
# remove %%{buildroot} from the target of an absolute symlink
|
||||||
ln -fsv %{_sharedstatedir}/units/currency.units %{buildroot}%{_datadir}/units
|
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
|
# provide a man page for units_cur as a symlink to units.1
|
||||||
ln -s units.1 %{buildroot}%{_mandir}/man1/units_cur.1
|
ln -s units.1 %{buildroot}%{_mandir}/man1/units_cur.1
|
||||||
|
Loading…
Reference in New Issue
Block a user