[ruby] Bump release and add changelog entries.
Vít Ondruch
vondruch at fedoraproject.org
Tue Apr 30 12:53:39 UTC 2013
commit ec047534c71f3e5b8f7f12def78ff169d6a8c394
Author: Vít Ondruch <vondruch at redhat.com>
Date: Tue Apr 30 14:43:26 2013 +0200
Bump release and add changelog entries.
macros.rubygems | 9 +++++++++
ruby.spec | 7 ++++++-
2 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/macros.rubygems b/macros.rubygems
index b82a9fb..1043c02 100644
--- a/macros.rubygems
+++ b/macros.rubygems
@@ -26,3 +26,12 @@ gem install \\\
--document=ri,rdoc \\\
%{-n*}%{!?-n:%{gem_name}-%{version}.gem} \
%{nil}
+
+# For rubygems packages we want to filter out any provides caused by private
+# libs in %%{gem_archdir}.
+#
+# Note that this must be invoked in the spec file, preferably as
+# "%{?rubygems_default_filter}", before any %description block.
+%rubygems_default_filter %{expand: \
+%global __provides_exclude_from %{?__provides_exclude_from:%{__provides_exclude_from}|}^%{gem_extdir_mri}/.*\\\\.so$ \
+}
diff --git a/ruby.spec b/ruby.spec
index 5d8bd7c..d3b0917 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -26,7 +26,7 @@
%endif
-%global release 6
+%global release 7
%{!?release_string:%global release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}}
%global rubygems_version 2.0.0
@@ -849,6 +849,11 @@ make check TESTS="-v $DISABLE_TESTS"
%{ruby_libdir}/tkextlib
%changelog
+* Fri Apr 19 2013 Vít Ondruch <vondruch at redhat.com> - 2.0.0.0-7
+- Macro definition moved into macros.ruby and macros.rubygems files.
+- Added filtering macros.
+- Filter automatically generated provides of private libraries (rhbz#947408).
+
* Fri Mar 22 2013 Vít Ondruch <vondruch at redhat.com> - 2.0.0.0-6
- Fix RbConfig::CONFIG['exec_prefix'] returns empty string (rhbz#924851).
More information about the scm-commits
mailing list