From ee6389189246a521f4aec72591bf5b117a2360c4 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 26 Dec 2014 13:01:39 +0900 Subject: Install gem.build_complete on F-21 and move extension file to the correct location (bug 1176450) --- rubygem-rugged.spec | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'rubygem-rugged.spec') diff --git a/rubygem-rugged.spec b/rubygem-rugged.spec index dc95a34..a17dfc8 100644 --- a/rubygem-rugged.spec +++ b/rubygem-rugged.spec @@ -66,8 +66,13 @@ cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/ # move C extensions to the extdir. +%if 0%{?fedora} >= 21 +mkdir -p %{buildroot}%{gem_extdir_mri}/ +cp -a .%{gem_extdir_mri}/{gem.build_complete,%{gem_name}/} %{buildroot}%{gem_extdir_mri}/ +%else mkdir -p %{buildroot}%{gem_extdir_mri}/ext/%{gem_name}/ mv %{buildroot}%{gem_instdir}/ext/%{gem_name}/rugged.so %{buildroot}%{gem_extdir_mri}/ext/%{gem_name}/ +%endif # We don't need those files anymore. rm -rf %{buildroot}%{gem_instdir}/ext/ @@ -94,6 +99,10 @@ popd %doc %{gem_docdir} %changelog +* Fri Dec 26 2014 Mamoru TASAKA - 0.21.0-2 +- Install gem.build_complete on F-21 and move extension file to the + correct location (bug 1176450) + * Mon Aug 18 2014 Fedora Release Engineering - 0.21.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild -- cgit