121925
%ruby_libdir %{_datadir}/%{name}
121925
%ruby_libarchdir %{_libdir}/%{name}
121925
121925
# This is the local lib/arch and should not be used for packaging.
121925
%ruby_sitedir site_ruby
121925
%ruby_sitelibdir %{_prefix}/local/share/%{name}/%{ruby_sitedir}
121925
%ruby_sitearchdir %{_prefix}/local/%{_lib}/%{name}/%{ruby_sitedir}
121925
121925
# This is the general location for libs/archs compatible with all
121925
# or most of the Ruby versions available in the Fedora repositories.
121925
%ruby_vendordir vendor_ruby
121925
%ruby_vendorlibdir %{ruby_libdir}/%{ruby_vendordir}
121925
%ruby_vendorarchdir %{ruby_libarchdir}/%{ruby_vendordir}
121925
121925
# For ruby packages we want to filter out any provides caused by private
121925
# libs in %%{ruby_vendorarchdir}/%%{ruby_sitearchdir}.
121925
#
121925
# Note that this must be invoked in the spec file, preferably as
121925
# "%{?ruby_default_filter}", before any %description block.
121925
%ruby_default_filter %{expand: \
121925
%global __provides_exclude_from %{?__provides_exclude_from:%{__provides_exclude_from}|}^(%{ruby_vendorarchdir}|%{ruby_sitearchdir})/.*\\\\.so$ \
121925
}