Search
j0ke.net Open Build Service
>
Projects
>
server:pxe
>
syslinux5
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
syslinux.spec
@@ -8,7 +8,8 @@ License: GPL Group: System/Boot Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{VERSION}.tar.bz2 -Source1: %{name}-rpmlintrc +Source1: syslinux5.ld.so.conf +Source2: %{name}-rpmlintrc ExclusiveArch: i386 i486 i586 i686 athlon pentium4 x86_64 Buildroot: %{_tmppath}/%{name}-%{VERSION}-root BuildRequires: nasm >= 0.98.39 perl @@ -30,6 +31,14 @@ %endif %define _sbindir /sbin +# extra Provides need since 5.x for shared libs +#Provides: libcom32.c32 +#Provides: libgpl.c32 +#Provides: liblua.c32 +#Provides: libmenu.c32 +#Provides: libutil.c32 + + %package devel Summary: Development environment for SYSLINUX add-on modules Group: Development/Libraries @@ -81,6 +90,7 @@ TFTPBOOT=/tftpboot EXTLINUXDIR=/boot/extlinux make CC='%{my_cc}' -C sample tidy mkdir -p %{buildroot}/etc +%__install -D -m644 %{S:1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/syslinux5.conf %clean rm -rf %{buildroot} @@ -105,6 +115,7 @@ %{_datadir}/syslinux/diag/geodsp1s.img.xz %{_datadir}/syslinux/diag/geodspms.img.xz %{_datadir}/syslinux/diag/handoff.bin +%config %{_sysconfdir}/ld.so.conf.d/syslinux5.conf %files devel %defattr(-,root,root) @@ -119,6 +130,12 @@ %defattr(-,root,root) /tftpboot +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + %post extlinux if [ -f /boot/extlinux/extlinux.conf ]; then extlinux --update /boot/extlinux || :
[-]
[+]
Added
syslinux5.ld.so.conf
^
@@ -0,0 +1 @@ +/usr/share/syslinux