|
|
@ -2,15 +2,15 @@
|
|
|
|
%global gem_name abrt
|
|
|
|
%global gem_name abrt
|
|
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 0.3.0
|
|
|
|
Version: 0.4.0
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: ABRT support for Ruby
|
|
|
|
Summary: ABRT support for Ruby
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: http://github.com/voxik/abrt-ruby
|
|
|
|
URL: http://github.com/voxik/abrt-ruby
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
# git clone https://github.com/voxik/abrt-ruby.git && cd abrt-ruby
|
|
|
|
# git clone https://github.com/voxik/abrt-ruby.git && cd abrt-ruby
|
|
|
|
# git checkout v0.3.0 && tar czvf abrt-0.3.0-specs.tar.gz spec/
|
|
|
|
# git archive -v -o abrt-0.4.0-spec.tar.gz v0.4.0 spec/
|
|
|
|
Source1: %{gem_name}-%{version}-specs.tar.gz
|
|
|
|
Source1: %{gem_name}-%{version}-spec.tar.gz
|
|
|
|
Requires: libreport-filesystem
|
|
|
|
Requires: libreport-filesystem
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
@ -31,10 +31,15 @@ BuildArch: noarch
|
|
|
|
Documentation for %{name}.
|
|
|
|
Documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -c -T
|
|
|
|
%setup -q -n %{gem_name}-%{version} -b 1
|
|
|
|
%gem_install -n %{SOURCE0}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
# Create the gem as gem install only works on a gem file
|
|
|
|
|
|
|
|
gem build ../%{gem_name}-%{version}.gemspec
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
|
|
|
|
|
|
|
# by default, so that we can move it into the buildroot in %%install
|
|
|
|
|
|
|
|
%gem_install
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
|
@ -47,10 +52,9 @@ cp -a .%{gem_instdir}/config/ruby_event.conf %{buildroot}%{_sysconfdir}/librepor
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
tar xzf %{SOURCE1}
|
|
|
|
cp -a %{_builddir}/spec spec
|
|
|
|
|
|
|
|
|
|
|
|
rspec spec
|
|
|
|
rspec spec
|
|
|
|
|
|
|
|
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -69,6 +73,13 @@ popd
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Dec 12 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.4.0-1
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 24 2020 Jun Aruga <jaruga@redhat.com> - 0.4.0-1
|
|
|
|
|
|
|
|
- Update to abrt 0.4.0.
|
|
|
|
|
|
|
|
Resolves: rhbz#1842476
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 31 2018 Vít Ondruch <vondruch@redhat.com> - 0.3.0-4
|
|
|
|
* Tue Jul 31 2018 Vít Ondruch <vondruch@redhat.com> - 0.3.0-4
|
|
|
|
- Execute test suite unconditionally.
|
|
|
|
- Execute test suite unconditionally.
|
|
|
|
- Upload correct sources.
|
|
|
|
- Upload correct sources.
|
|
|
|