Blame SOURCES/macros.ruby

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