This request is superseded by
request 1098348
(Show diff)
Overview
Request 1098315 superseded
This fixes https://bugzilla.opensuse.org/show_bug.cgi?id=1213235
- Created by doublenine
- In state superseded
-
Package maintainer:
rhabacker
- Superseded by 1098348
Loading...
Request History
doublenine created request
This fixes https://bugzilla.opensuse.org/show_bug.cgi?id=1213235
rhabacker declined request
This change breaks the package on openSUSE Leap as mentioned in the associated ticket. You may use the following change instead
-mkdir -p %{buildroot}%{_bindir}
-ln -s ../lib/mingw32-scripts %{buildroot}%{_bindir}/mingw32-cmake
+ %_mingw32_create_macro_links %{buildroot}%{_bindir}/mingw32-cmake
or
-ln -s ../lib/mingw32-scripts %{buildroot}%{_bindir}/mingw32-cmake
+ln -s %{_libexecdir}/mingw32-scripts %{buildroot}%{_bindir}/mingw32-cmake
The given hint is intended for the mingw32 variant - for mingw64 package use this
-mkdir -p %{buildroot}%{_bindir}
-ln -s ../lib/mingw64-scripts %{buildroot}%{_bindir}/mingw64-cmake
or
-ln -s ../lib/mingw64-scripts %{buildroot}%{_bindir}/mingw64-cmake
+ln -s %{_libexecdir}/mingw64-scripts %{buildroot}%{_bindir}/mingw64-cmake
tested %{_libexecdir} in tumbleweed and it works as expected, I don't have a Leap install to test with though.
I checked this on Leap.