Search
j0ke.net Open Build Service
>
Projects
>
Java
>
java-1_7_0-sun
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Changed
java-1_7_0-sun.spec
@@ -234,6 +234,19 @@ ./bin/java -jar tzupdater-%{tzname}/tzupdater.jar -v -u fi +# Avoid problematic ODBC and FX dependencies +# +# The jdbc package looks for libodbc.so and libodbcinst.so sonames, but the Red Hat/Fedora +# unixODBC packages have sonames of libodbc.so.n and libodbcinst.so.n (n = 1 or 2). +# I don't know if this hack works but at least the package can install. +# +# The JavaFX runtime can use either the 52 or 53 soname versions of libavcodec and libavformat, +# but we'll get dependencies for both by default, so filter them out and let the end user +# worry about those if they need the JavaFX runtime +%global reqfilt /bin/sh -c "%{__find_requires} | grep -Ev '^lib((av(codec|format))|odbc(inst)?|xslt)\\.so([(].*[)][(]64bit[)])?'" +%global __find_requires %{reqfilt} + + %build # Nope.