diff --git a/libxcrypt.spec b/libxcrypt.spec index 23adcce..5a21532 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -99,7 +99,8 @@ # Needed for out-of-tree builds. -%global _configure ../"configure" +%global src_topleveldir %{_builddir}/%{name}-%{version} +%global _configure "%{src_topleveldir}/configure" # Common configure options. @@ -118,7 +119,7 @@ %else \ --disable-valgrind \\\ %endif \ - --srcdir=.. \\\ + --srcdir=%{src_topleveldir} \\\ --with-pkgconfigdir=%{_libdir}/pkgconfig @@ -467,6 +468,7 @@ done - Add Recommends: whois-mkpasswd for Fedora - Optimize installation of the documentation files - Fix %%description +- Use an absolute path for the configure script and srcdir * Tue Feb 19 2019 Björn Esser - 4.4.3-7 - Add patch to fix the output formatting of a test