Projects
home:rottame:rubygems
rubygem-json-2.7
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
rubygem-json.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Oct 30 09:47:35 UTC 2025 - Angelo Grossini <angelo@intercom.it> + +- cleanup installation, fix build errors + +------------------------------------------------------------------- Thu Oct 30 08:38:26 UTC 2025 - Angelo Grossini <angelo@intercom.it> - update to 2.7.6
View file
rubygem-json.spec
Changed
@@ -27,6 +27,23 @@ --doc-files="README.md" \ -f +# --- CLEAN UP BUILD ARTIFACTS AND DUPLICATES (fixes rpmlint errors) --- +# 1) Remove logs that contain $RPM_BUILD_ROOT +find %{buildroot} -type f -name mkmf.log -delete + +# 2) Remove hidden/zero-length timestamp markers +find %{buildroot} -type f -name '.sitearchdir*ext.time' -delete +find %{buildroot} -type f -size 0 -name '*.time' -delete +find %{buildroot} -type f -size 0 -name 'gem.build_complete' -delete + +# 3) Keep only the C-extension .so under the RubyGems "extensions" dir. +# Drop the copies under the gem's ext/ and lib/json/ext/ trees. +find %{buildroot}%{_libdir}/ruby/gems -path '*/gems/json-*/ext/*' -type f -name '*.so' -delete +find %{buildroot}%{_libdir}/ruby/gems -path '*/gems/json-*/lib/json/ext' -type f -name '*.so' -delete + +# 4) Hardlink any remaining dupes to save space +%fdupes -s %{buildroot} + %gem_packages %changelog
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
.