Blame SOURCES/macros.ruby

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