diff --git a/units.spec b/units.spec index 480dcfe..1240257 100644 --- a/units.spec +++ b/units.spec @@ -37,8 +37,8 @@ autoreconf -fiv %install %make_install -# remove %%{buildroot} from the target of an absolute symlink -ln -fsv %{_sharedstatedir}/units/currency.units %{buildroot}%{_datadir}/units +# replace an absolute symlink by a relative symlink +ln -fsv ../../..%{_sharedstatedir}/units/currency.units %{buildroot}%{_datadir}/units gzip %{buildroot}%{_infodir}/units.info @@ -59,6 +59,7 @@ make check %changelog * Tue Sep 06 2022 Kamil Dudka - 2.22-2 +- replace an absolute symlink by a relative symlink - use %%make_build and %%make_install RPM macros * Tue Sep 06 2022 Kamil Dudka - 2.22-1