From 54470d8c28f537c4739056773e6fd858dab0ec80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Tue, 19 Feb 2019 13:35:54 +0100 Subject: [PATCH] Use an absolute path for the configure script and srcdir --- libxcrypt.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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