Blob Blame History Raw
%_webassetdir %{_datadir}/web-assets
%_jsdir %{_datadir}/javascript

%js_includes() %{expand: \
%(
    ver=$(rpm -q --qf='%%{version}' -- %1)
    if [[ $? -eq 0 ]]; then
        echo "Provides: js-includes(%1) = $ver"
    else
        echo "Provides: js-includes(%1)"
    fi
)
}