summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rubygem-bindex.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/rubygem-bindex.spec b/rubygem-bindex.spec
index 5b4eca2..8be9f8e 100644
--- a/rubygem-bindex.spec
+++ b/rubygem-bindex.spec
@@ -3,7 +3,7 @@
Name: rubygem-%{gem_name}
Version: 0.5.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Bindings for your Ruby exceptions
License: MIT
URL: https://github.com/gsamokovarov/bindex
@@ -49,7 +49,8 @@ cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
mkdir -p %{buildroot}%{gem_extdir_mri}/%{gem_name}
-cp -a .%{gem_extdir_mri}/{gem.build_complete,%{gem_name}/*.so} %{buildroot}%{gem_extdir_mri}/
+cp -a .%{gem_extdir_mri}/gem.build_complete %{buildroot}%{gem_extdir_mri}/
+cp -a .%{gem_extdir_mri}/%{gem_name}/*.so %{buildroot}%{gem_extdir_mri}/%{gem_name}
# Prevent dangling symlink in -debuginfo (rhbz#878863).
rm -rf %{buildroot}%{gem_instdir}/ext/
@@ -80,5 +81,8 @@ popd
%{gem_instdir}/test
%changelog
+* Fri Apr 07 2017 Vít Ondruch <vondruch@redhat.com> - 0.5.0-2
+- Install binary extension into proper location.
+
* Thu Apr 06 2017 Vít Ondruch <vondruch@redhat.com> - 0.5.0-1
- Initial package