From 5bc032a68bfaca734de1c8b0fb01a22a6a9a21a4 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 21 Feb 2017 16:41:14 +0900 Subject: [PATCH] Always use full tar.gz for installed files and keep using gem file for gem spec (ref: bug 1425220) --- rubygem-rspec-expectations.spec | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index 27f5e6f..68d630c 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.spec @@ -3,7 +3,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 2 +%global fedorarel 3 %global gem_name rspec-expectations @@ -48,14 +48,10 @@ This package contains documentation for %{name}. %prep -gem unpack %{SOURCE0} - -%setup -q -D -T -n %{gem_name}-%{version} -a 1 +%setup -q -T -n %{gem_name}-%{version} -b 1 gem specification %{SOURCE0} -l --ruby > %{gem_name}.gemspec -pushd %{gem_name}-%{version} %patch0 -p1 -popd %build gem build %{gem_name}.gemspec @@ -72,10 +68,7 @@ rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts} %if 0%{?need_bootstrap_set} < 1 %check LANG=en_US.UTF-8 -pushd %{gem_name}-%{version} - ruby -rubygems -Ilib/ -S rspec spec/ -popd %endif %files @@ -94,6 +87,10 @@ popd %{gem_docdir} %changelog +* Tue Feb 21 2017 Mamoru TASAKA - 3.5.0-3 +- Always use full tar.gz for installed files and + keep using gem file for gem spec (ref: bug 1425220) + * Sat Feb 11 2017 Fedora Release Engineering - 3.5.0-2.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild