Blame SOURCES/macros.ruby

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