modify spec
This commit is contained in:
parent
29e27dfa40
commit
e5ad696420
@ -5,31 +5,31 @@
|
|||||||
%global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g')
|
%global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g')
|
||||||
%global need_bootstrap_set 0
|
%global need_bootstrap_set 0
|
||||||
%undefine __brp_mangle_shebangs
|
%undefine __brp_mangle_shebangs
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: %{mainver}
|
Version: %{mainver}
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Common functionality to Rspec series
|
Summary: Common functionality to Rspec series
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/rspec/rspec-support
|
URL: https://github.com/rspec/rspec-support
|
||||||
Source0: https://rubygems.org/gems/%{gem_name}-%{mainver}%{?prever}.gem
|
Source0: https://rubygems.org/gems/%{gem_name}-%{mainver}%{?prever}.gem
|
||||||
Source1: https://github.com/rspec/%{gem_name}/archive/v%{mainver}.tar.gz
|
Source1: https://github.com/rspec/%{gem_name}/archive/v%{mainver}.tar.gz
|
||||||
# tweak regex for search path
|
# tweak regex for search path
|
||||||
Patch100: rubygem-rspec-support-3.2.1-callerfilter-searchpath-regex.patch
|
Patch100: rubygem-rspec-support-3.2.1-callerfilter-searchpath-regex.patch
|
||||||
BuildRequires: rubygems-devel
|
BuildRequires: rubygems-devel
|
||||||
%if 0%{?need_bootstrap_set} < 1
|
%if 0%{?need_bootstrap_set} < 1
|
||||||
BuildRequires: rubygem(rspec) rubygem(thread_order) rubygem(bigdecimal) git
|
BuildRequires: rubygem(rspec) rubygem(thread_order) rubygem(bigdecimal) git
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
`RSpec::Support` provides common functionality to `RSpec::Core`,
|
`RSpec::Support` provides common functionality to `RSpec::Core`,
|
||||||
`RSpec::Expectations` and `RSpec::Mocks`. It is considered
|
`RSpec::Expectations` and `RSpec::Mocks`. It is considered
|
||||||
suitable for internal use only at this time.
|
suitable for internal use only at this time.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description doc
|
%description doc
|
||||||
Documentation for %{name}
|
Documentation for %{name}
|
||||||
%global version_orig %{version}
|
%global version_orig %{version}
|
||||||
%global version %{version_orig}%{?prever}
|
%global version %{version_orig}%{?prever}
|
||||||
@ -67,10 +67,10 @@ ruby -rrubygems -Ilib/ -S rspec spec/ || \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
%license %{gem_instdir}/LICENSE.md
|
%license %{gem_instdir}/LICENSE.md
|
||||||
%doc %{gem_instdir}/Changelog.md
|
%doc %{gem_instdir}/Changelog.md
|
||||||
%doc %{gem_instdir}/README.md
|
%doc %{gem_instdir}/README.md
|
||||||
%{gem_libdir}
|
%{gem_libdir}
|
||||||
%exclude %{gem_cache}
|
%exclude %{gem_cache}
|
||||||
%{gem_spec}
|
%{gem_spec}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user