From 4123f2e569b2d72229a8befac94315a6f94e285d Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: May 02 2021 06:34:17 +0000 Subject: Package some test utility files for other package on test suite --- diff --git a/rubygem-glib2.spec b/rubygem-glib2.spec index c8afd5e..865e97d 100644 --- a/rubygem-glib2.spec +++ b/rubygem-glib2.spec @@ -9,7 +9,7 @@ Summary: Ruby binding of GLib-2.x Name: rubygem-%{gem_name} Version: 3.4.4 -Release: 1%{?dist} +Release: 2%{?dist} # from README License: LGPLv2 URL: http://ruby-gnome2.sourceforge.jp/ @@ -157,14 +157,22 @@ install -cpm 644 ./%{_libdir}/pkgconfig/*.pc \ # Cleanups +rm -f %{buildroot}%{gem_cache} pushd %{buildroot} rm -rf .%{gem_instdir}/ext/ pushd .%{gem_instdir}/ + rm -f \ + Rakefile \ extconf.rb \ *gemspec \ version.rb \ + test/test-*.rb \ %{nil} +# Move the directory +chmod 0644 test/*rb +mv test/ lib/glib2/ + popd popd @@ -188,7 +196,6 @@ popd %dir %{gem_instdir}/lib/ %doc %{gem_instdir}/[A-Z]* -%exclude %{gem_instdir}/Rakefile %{gem_instdir}/lib/glib2.rb %{gem_instdir}/lib/glib-mkenums.rb @@ -199,8 +206,6 @@ popd %{gem_instdir}/lib/glib2/version.rb %{gem_extdir_mri}/ - -%exclude %{gem_cache} %{gem_spec} %files devel @@ -214,6 +219,9 @@ popd %dir %{gem_instdir}/lib/gnome2/rake/ %{gem_instdir}/lib/gnome2/rake/*.rb +# Needs these for test suite for other package +%{gem_instdir}/lib/glib2/test/ + %{header_dir}/rbgcompat.h %{header_dir}/rbglib.h %{header_dir}/rbglibdeprecated.h @@ -227,12 +235,13 @@ popd %files doc %{gem_docdir}/ -%exclude %{gem_instdir}/Rakefile %{gem_instdir}/sample/ -%{gem_instdir}/test/ %changelog +* Sun May 2 2021 Mamoru TASAKA - 3.4.4-2 +- Package some test utility files for other package on test suite + * Sun May 2 2021 Mamoru TASAKA - 3.4.4-1 - 3.4.4