[rubygem-bcrypt-ruby] Prevent dangling symlink in -debuginfo.
Vít Ondruch
vondruch at fedoraproject.org
Wed Nov 27 15:15:36 UTC 2013
commit 4aac32ef17fe4dcca2aaeb8df527e490cc0063ad
Author: Vít Ondruch <vondruch at redhat.com>
Date: Wed Nov 27 16:15:06 2013 +0100
Prevent dangling symlink in -debuginfo.
rubygem-bcrypt-ruby.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-bcrypt-ruby.spec b/rubygem-bcrypt-ruby.spec
index 6289654..59f020e 100644
--- a/rubygem-bcrypt-ruby.spec
+++ b/rubygem-bcrypt-ruby.spec
@@ -5,7 +5,7 @@
Summary: Wrapper around bcrypt() password hashing algorithm
Name: rubygem-%{gem_name}
Version: 3.1.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: Development/Languages
# ext/* - Public Domain
# spec/TestBCrypt.java - ISC
@@ -41,6 +41,9 @@ cp -pa .%{gem_dir}/* \
mkdir -p %{buildroot}%{gem_extdir_mri}/lib
mv %{buildroot}%{gem_libdir}/bcrypt_ext.so %{buildroot}%{gem_extdir_mri}/lib
+# Prevent dangling symlink in -debuginfo (rhbz#878863).
+rm -rf %{buildroot}%{gem_instdir}/ext/
+
%check
pushd .%{gem_instdir}
rspec spec
@@ -53,7 +56,6 @@ popd
%{gem_instdir}/bcrypt-ruby.gemspec
%{gem_libdir}
%{gem_extdir_mri}
-%exclude %doc %{gem_instdir}/ext
%{gem_instdir}/spec
%doc %{gem_docdir}
%{gem_instdir}/Rakefile
@@ -65,6 +67,9 @@ popd
%changelog
+* Wed Nov 27 2013 Vít Ondruch <vondruch at redhat.com> - 3.1.2-2
+- Prevent dangling symlink in -debuginfo.
+
* Mon Nov 11 2013 Josef Stribny <jstribny at redhat.com> - 3.1.2-1
- Update to brypt-ruby 3.1.2
More information about the scm-commits
mailing list