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