Blame SOURCES/macros.ruby

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