Add workaround for borked autotools installation
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin Without this, build on a system with merged-sbin fails. [skip changelog]
This commit is contained in:
parent
abe9339a37
commit
480d4cbafa
1 changed files with 5 additions and 0 deletions
|
|
@ -434,6 +434,11 @@ find %{buildroot}%{_mandir}/man8 -regextype posix-egrep \
|
|||
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64|uname26)\.8.*" \
|
||||
-printf "%{_mandir}/man8/%f*\n" >> %{name}.files
|
||||
|
||||
%if "%{_sbindir}" == "%{_bindir}"
|
||||
# Autotools installation script gets the location wrong :(
|
||||
mv -v %{buildroot}/usr/sbin/* %{buildroot}/usr/bin/
|
||||
%endif
|
||||
|
||||
%post
|
||||
%systemd_post fstrim.{service,timer}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue