Package uses only $RPM_BUILD_ROOT

Note: Using both %{buildroot} and $RPM_BUILD_ROOT
See: http://fedoraproject.org/wiki/Packaging/Guidelines#macros
This commit is contained in:
Lukas Slebodnik 2016-02-02 21:45:47 +01:00
parent 5719fdd6f8
commit c38b881d88

View File

@ -602,7 +602,7 @@ sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
if [ ! -f %{buildroot}/%{_libdir}/%{name}/modules/libwbclient.so.%{libwbc_lib_version} if [ ! -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/modules/libwbclient.so.%{libwbc_lib_version}
] ]
then then
echo "Expected libwbclient version not found, please check if version has changed." echo "Expected libwbclient version not found, please check if version has changed."