use if "%{_libdir}" == "/usr/lib64"
This commit is contained in:
parent
bcd645291c
commit
e0ef1b55a1
|
@ -1,6 +1,6 @@
|
|||
Name: fakechroot
|
||||
Version: 2.20.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Gives a fake chroot environment
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/dex4er/fakechroot
|
||||
|
@ -38,15 +38,11 @@ chmod -x scripts/{relocatesymlinks,restoremode,savemode}.sh
|
|||
%build
|
||||
autoreconf -vfi
|
||||
|
||||
%ifnarch noarch
|
||||
%if 0%{__isa_bits} == 64
|
||||
%if "%{_libdir}" == "/usr/lib64"
|
||||
%configure --disable-static --disable-silent-rules --with-libpath="%{_libdir}/fakechroot:/usr/lib/fakechroot"
|
||||
%else
|
||||
%configure --disable-static --disable-silent-rules --with-libpath="%{_libdir}/fakechroot"
|
||||
%endif
|
||||
%else
|
||||
%configure --disable-static --disable-silent-rules --with-libpath="%{_libdir}/fakechroot"
|
||||
%endif
|
||||
|
||||
%make_build
|
||||
|
||||
|
@ -76,6 +72,9 @@ find %{buildroot}%{_libdir} -name '*.la' -delete -print
|
|||
%{_libdir}/%{name}/
|
||||
|
||||
%changelog
|
||||
* Wed Feb 12 2020 Sérgio Basto <sergio@serjux.com> - 2.20.1-4
|
||||
- Use if "%{_libdir}" == "/usr/lib64" instead %if 0%{__isa_bits} == 64
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.20.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue