43 строки
1.2 KiB
Plaintext
43 строки
1.2 KiB
Plaintext
%global debug_package %{nil}
|
|
%global gem_name sigdump
|
|
Summary: SIGQUIT of Java VM for Ruby
|
|
Name: rubygem-%{gem_name}
|
|
Version: 0.2.4
|
|
Release: 2%{?dist}
|
|
License: MIT
|
|
Vendor: Microsoft Corporation
|
|
Distribution: Mariner
|
|
Group: Development/Languages
|
|
URL: https://github.com/fluent/sigdump
|
|
Source0: https://github.com/fluent/sigdump/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
|
|
Patch0: fix-file_list.patch
|
|
BuildRequires: git
|
|
BuildRequires: ruby
|
|
Provides: rubygem(%{gem_name}) = %{version}-%{release}
|
|
|
|
%description
|
|
Use signal to show stacktrace of a Ruby
|
|
process without restarting it.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{gem_name}-%{version}
|
|
|
|
%build
|
|
gem build %{gem_name}
|
|
|
|
%install
|
|
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%license %{gemdir}/gems/%{gem_name}-%{version}/LICENSE
|
|
%{gemdir}
|
|
|
|
%changelog
|
|
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 0.2.4-2
|
|
- Build from .tar.gz source.
|
|
|
|
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 0.2.4-1
|
|
- License verified
|
|
- Original version for CBL-Mariner
|