summaryrefslogtreecommitdiffstats
path: root/rubygem-rugged.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rubygem-rugged.spec')
-rw-r--r--rubygem-rugged.spec9
1 files changed, 9 insertions, 0 deletions
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 <mtasaka@fedoraproject.org> - 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 <rel-eng@lists.fedoraproject.org> - 0.21.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild