https://bugzilla.redhat.com/show_bug.cgi?id=1211362



--- Comment #9 from Paulo Andrade <[email protected]> ---
I suggest only installing *.ReleaseDynamic, source code will
be in the debuginfo and srpm, and ide project files should not
be installed. Also, instead of having a directory, could remove
it, and in the toplevel create a wrapper setting WM5_PATH.

Somewhat like, untested, creating the shell pattern for:

for bin in WrigglingSnake; do
    mv %{buildroot}%{_libexecdir}/WildMagic/SamplePhysics/${bin}.ReleaseDynamic
%{buildroot}%{_libexecdir}/WildMagic/SamplePhysics
    rm -fr %{buildroot}%{_libexecdir}/WildMagic/SamplePhysics/${bin}
    cat > %{buildroot}%{_libexecdir}/WildMagic/SamplePhysics/${bin} <<EOF
#!/bin/sh
export WM5_PATH=%{_datadir}/WildMagic
exec %{_libexecdir}/WildMagic/SamplePhysics/${bin}.ReleaseDynamic
EOF
    chmod +x %{buildroot}%{_libexecdir}/WildMagic/SamplePhysics/${bin}
done

and do it for the different samples installed.

$ find /usr/libexec/WildMagic/ |grep \.ReleaseDynamic$|wc -l
248

Testing all of them are functional (no crashes, no missing files, etc)
is a plus :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to