mozilla-xulrunner193/mozilla-xulrunner193.spec
changeset 82 53627cc14959
parent 80 67e4ee440947
child 84 9bc8c42db6b3
equal deleted inserted replaced
81:c8f7496d60e7 82:53627cc14959
    81 Requires:       mozilla-js193
    81 Requires:       mozilla-js193
    82 Requires(post):  update-alternatives coreutils
    82 Requires(post):  update-alternatives coreutils
    83 Requires(preun): update-alternatives coreutils
    83 Requires(preun): update-alternatives coreutils
    84 ### build configuration ###
    84 ### build configuration ###
    85 %define crashreporter    1
    85 %define crashreporter    1
    86 # FIXME after NSPR 4.8.5
    86 %define has_system_nspr  1
    87 %define has_system_nspr  0
       
    88 %define has_system_nss   1
    87 %define has_system_nss   1
    89 %define has_system_cairo 0
    88 %define has_system_cairo 0
    90 %define localize 1
    89 %define localize 1
    91 %if %suse_version > 1110
    90 %if %suse_version > 1110
    92 %define has_system_cairo 1
    91 %define has_system_cairo 1
    93 %endif
    92 %endif
    94 ### configuration end ###
    93 ### configuration end ###
    95 %define _use_internal_dependency_generator 0
    94 %define _use_internal_dependency_generator 0
    96 %define __find_requires sh %{SOURCE2}
    95 %define __find_requires sh %{SOURCE2}
    97 %global provfind sh -c "grep -Ev 'mozsqlite3|dbusservice|nspr4|plc4|plds4|unixprint' | %__find_provides"
    96 %global provfind sh -c "grep -Ev 'mozsqlite3|dbusservice|unixprint' | %__find_provides"
    98 %global __find_provides %provfind
    97 %global __find_provides %provfind
    99 %if %has_system_nspr
    98 %if %has_system_nspr
   100 BuildRequires:  mozilla-nspr-devel
    99 BuildRequires:  mozilla-nspr-devel
   101 Requires:       mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr)
   100 Requires:       mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr)
   102 %endif
   101 %endif