Compare commits
No commits in common. "c8-stream-2.7" and "stream-ruby-2.6-rhel-8.10.0" have entirely different histories.
c8-stream-
...
stream-rub
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,2 +1,12 @@
|
|||||||
SOURCES/abrt-0.4.0-spec.tar.gz
|
/abrt-0.0.3-specs.tar.gz
|
||||||
SOURCES/abrt-0.4.0.gem
|
/abrt-0.0.3.gem
|
||||||
|
/abrt-0.0.5-specs.tar.gz
|
||||||
|
/abrt-0.0.5.gem
|
||||||
|
/abrt-0.0.6-specs.tar.gz
|
||||||
|
/abrt-0.0.6.gem
|
||||||
|
/abrt-0.1.1-specs.tar.gz
|
||||||
|
/abrt-0.1.1.gem
|
||||||
|
/abrt-0.2.0-specs.tar.gz
|
||||||
|
/abrt-0.2.0.gem
|
||||||
|
/abrt-0.3.0-specs.tar.gz
|
||||||
|
/abrt-0.3.0.gem
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
e94f8ab5941d749a835fec124cd68f16a95b36e1 SOURCES/abrt-0.4.0-spec.tar.gz
|
a3fe945a328145200515886522a67c92450be175 abrt-0.3.0-specs.tar.gz
|
||||||
50d960570ea0fba80f63821e3c6e91ee1a2ec647 SOURCES/abrt-0.4.0.gem
|
e62dc222a5d0a28356633f6eae43d013f6e66750 abrt-0.3.0.gem
|
||||||
|
@ -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.
|
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SHA512 (abrt-0.3.0-specs.tar.gz) = 100b2a8812320e3b34d5226e556a0c4f42c7fc16b84e58d1ec8eb9bd2688ce37a1a257843af71affd14efac327c745111e66351da7c9a0d9b1ca3c8a8e4e4ab8
|
||||||
|
SHA512 (abrt-0.3.0.gem) = 41b1738e121c7e39e126d3f1180a68d92fb2cebd1e1a6a55b716c151798f932f87b038ad27354880e45f3f4bb4fa528cc2568f43b21cd7c4f4a5a4ffc22c8486
|
Loading…
Reference in New Issue
Block a user