From 9a03f61609a0da52a3292d03203ad1befdb1ef6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Wed, 6 Jan 2021 14:23:29 +0100 Subject: [PATCH] Add `%{gem_plugin}` convenience macro. This allows easy plugin stub ownership for RubyGems plugin packages. --- macros.rubygems | 1 + 1 file changed, 1 insertion(+) diff --git a/macros.rubygems b/macros.rubygems index b55a402..3f72b14 100644 --- a/macros.rubygems +++ b/macros.rubygems @@ -9,6 +9,7 @@ %gem_cache %{gem_dir}/cache/%{gem_name}-%{version}%{?prerelease}.gem %gem_spec %{gem_dir}/specifications/%{gem_name}-%{version}%{?prerelease}.gemspec %gem_docdir %{gem_dir}/doc/%{gem_name}-%{version}%{?prerelease} +%gem_plugin %{gem_dir}/plugins/%{gem_name}_plugin.rb # %gem_install - Install gem into appropriate directory.