convert wx-config link created by make install to use relative path, otherwise rpm creation fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -95,6 +95,10 @@ make -C locale allmo
|
|||||||
make -C obj-static DESTDIR=$RPM_BUILD_ROOT prefix=%{pref} install
|
make -C obj-static DESTDIR=$RPM_BUILD_ROOT prefix=%{pref} install
|
||||||
make -C obj-shared DESTDIR=$RPM_BUILD_ROOT prefix=%{pref} install
|
make -C obj-shared DESTDIR=$RPM_BUILD_ROOT prefix=%{pref} install
|
||||||
|
|
||||||
|
# we need to modify the absolute wx-config link to be relative or rpm complains
|
||||||
|
# (and our package wouldn't be relocatable)
|
||||||
|
ln -sf ../lib/wx/config/%{wxconfig} $RPM_BUILD_ROOT/%{pref}/bin/wx-config
|
||||||
|
|
||||||
%find_lang wxstd
|
%find_lang wxstd
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
Reference in New Issue
Block a user