Always use full tar.gz for installed files and
keep using gem file for gem spec (ref: bug 1425220)
This commit is contained in:
parent
9f7d946ea8
commit
5bc032a68b
@ -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 <mtasaka@fedoraproject.org> - 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 <releng@fedoraproject.org> - 3.5.0-2.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user