Add workaround for RISC-V (riscv64) to pick lib64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
8870b357ca
commit
c90f947654
18
ppp.spec
18
ppp.spec
|
@ -3,7 +3,7 @@
|
||||||
Summary: The Point-to-Point Protocol daemon
|
Summary: The Point-to-Point Protocol daemon
|
||||||
Name: ppp
|
Name: ppp
|
||||||
Version: 2.4.7
|
Version: 2.4.7
|
||||||
Release: 21%{?dist}
|
Release: 21.0.riscv64%{?dist}
|
||||||
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
|
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.samba.org/ppp
|
URL: http://www.samba.org/ppp
|
||||||
|
@ -81,6 +81,19 @@ This package contains the header files for building plugins for ppp.
|
||||||
%setup -q
|
%setup -q
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
|
# Temporary, see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85142
|
||||||
|
%ifarch riscv64
|
||||||
|
sed -i'' \
|
||||||
|
-e 's|/$(shell gcc -print-multi-os-directory 2> /dev/null)|64|g' \
|
||||||
|
-e 's|/$(shell $(CC) -print-multi-os-directory 2> /dev/null)|64|g' \
|
||||||
|
pppd/plugins/radius/Makefile.linux \
|
||||||
|
pppd/plugins/pppol2tp/Makefile.linux \
|
||||||
|
pppd/plugins/Makefile.linux \
|
||||||
|
pppd/plugins/pppoatm/Makefile.linux \
|
||||||
|
pppd/plugins/rp-pppoe/Makefile.linux \
|
||||||
|
pppd/Makefile.linux
|
||||||
|
%endif
|
||||||
|
|
||||||
tar -xJf %{SOURCE12}
|
tar -xJf %{SOURCE12}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
@ -175,6 +188,9 @@ install -p %{SOURCE11} %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/ifdo
|
||||||
%doc PLUGINS
|
%doc PLUGINS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 28 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 2.4.7-21.0.riscv64
|
||||||
|
- Add workaround for RISC-V (riscv64)
|
||||||
|
|
||||||
* Mon Apr 9 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.7-21
|
* Mon Apr 9 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.7-21
|
||||||
- Link with -E not to break plugins
|
- Link with -E not to break plugins
|
||||||
Resolves: rhbz#1564459
|
Resolves: rhbz#1564459
|
||||||
|
|
Loading…
Reference in New Issue