Compare commits

...

No commits in common. "c8-stream-2.7" and "c8-beta-stream-2.5" have entirely different histories.

3 changed files with 12 additions and 20 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/abrt-0.4.0-spec.tar.gz SOURCES/abrt-0.3.0-specs.tar.gz
SOURCES/abrt-0.4.0.gem SOURCES/abrt-0.3.0.gem

View File

@ -1,2 +1,2 @@
e94f8ab5941d749a835fec124cd68f16a95b36e1 SOURCES/abrt-0.4.0-spec.tar.gz a3fe945a328145200515886522a67c92450be175 SOURCES/abrt-0.3.0-specs.tar.gz
50d960570ea0fba80f63821e3c6e91ee1a2ec647 SOURCES/abrt-0.4.0.gem e62dc222a5d0a28356633f6eae43d013f6e66750 SOURCES/abrt-0.3.0.gem

View File

@ -2,15 +2,15 @@
%global gem_name abrt %global gem_name abrt
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 0.4.0 Version: 0.3.0
Release: 1%{?dist} Release: 4%{?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 archive -v -o abrt-0.4.0-spec.tar.gz v0.4.0 spec/ # git checkout v0.3.0 && tar czvf abrt-0.3.0-specs.tar.gz spec/
Source1: %{gem_name}-%{version}-spec.tar.gz Source1: %{gem_name}-%{version}-specs.tar.gz
Requires: libreport-filesystem Requires: libreport-filesystem
BuildRequires: ruby(release) BuildRequires: ruby(release)
BuildRequires: rubygems-devel BuildRequires: rubygems-devel
@ -31,15 +31,10 @@ BuildArch: noarch
Documentation for %{name}. Documentation for %{name}.
%prep %prep
%setup -q -n %{gem_name}-%{version} -b 1 %setup -q -c -T
%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}
@ -52,9 +47,10 @@ cp -a .%{gem_instdir}/config/ruby_event.conf %{buildroot}%{_sysconfdir}/librepor
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
cp -a %{_builddir}/spec spec tar xzf %{SOURCE1}
rspec spec rspec spec
popd popd
%files %files
@ -73,10 +69,6 @@ popd
%{gem_instdir}/Rakefile %{gem_instdir}/Rakefile
%changelog %changelog
* 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.