Projects
Eulaceura:Mainline:GA
rubygem-sigdump
_service:obs_scm:rubygem-sigdump.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-sigdump.spec of Package rubygem-sigdump
%global _empty_manifest_terminate_build 0 %global gem_name sigdump Name: rubygem-sigdump Version: 0.2.5 Release: 1 Summary: Setup signal handler which dumps backtrace of running threads and number of allocated objects per class. Require 'sigdump/setup', send SIGCONT, and see /tmp/sigdump-<pid>.log. License: MIT URL: https://github.com/frsyuki/sigdump Source0: https://rubygems.org/gems/sigdump-%{version}.gem BuildArch: noarch BuildRequires: ruby rsync BuildRequires: ruby-devel BuildRequires: rubygems BuildRequires: rubygems-devel Provides: rubygem-sigdump %description Setup signal handler which dumps backtrace of running threads and number of allocated objects per class. Require 'sigdump/setup', send SIGCONT, and see /tmp/sigdump-<pid>.log. %package help Summary: Development documents and examples for sigdump Provides: rubygem-sigdump-doc BuildArch: noarch %description help Setup signal handler which dumps backtrace of running threads and number of allocated objects per class. Require 'sigdump/setup', send SIGCONT, and see /tmp/sigdump-<pid>.log. %prep %autosetup -n sigdump-%{version} gem spec %{SOURCE0} -l --ruby > sigdump.gemspec %build gem build sigdump.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/ rsync -a --exclude=".*" .%{gem_dir}/* %{buildroot}%{gem_dir}/ if [ -d .%{_bindir} ]; then mkdir -p %{buildroot}%{_bindir} cp -a .%{_bindir}/* %{buildroot}%{_bindir}/ fi if [ -d ext ]; then mkdir -p %{buildroot}%{gem_extdir_mri}/%{gem_name} if [ -d .%{gem_extdir_mri}/%{gem_name} ]; then cp -a .%{gem_extdir_mri}/%{gem_name}/*.so %{buildroot}%{gem_extdir_mri}/%{gem_name} else cp -a .%{gem_extdir_mri}/*.so %{buildroot}%{gem_extdir_mri}/%{gem_name} fi cp -a .%{gem_extdir_mri}/gem.build_complete %{buildroot}%{gem_extdir_mri}/ rm -rf %{buildroot}%{gem_instdir}/ext/ fi rm -rf %{buildroot}%{gem_instdir}/.gitignore pushd %{buildroot} touch filelist.lst if [ -d %{buildroot}%{_bindir} ]; then find .%{_bindir} -type f -printf "/%h/%f\n" >> filelist.lst fi popd mv %{buildroot}/filelist.lst . %files -n rubygem-sigdump -f filelist.lst %dir %{gem_instdir} %{gem_instdir}/* %exclude %{gem_cache} %{gem_spec} %files help %{gem_docdir}/* %changelog * Thu Jul 13 2023 liyanan <thistleslyn@163.com> - 0.2.5-1 - Update to 0.2.5 * Fri Jul 30 2021 Ruby_Bot <Ruby_Bot@openeuler.org> - 0.2.4-1 - Package Spec generated
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2