public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcs] eln: swap rubygem ethon for curb
@ 2026-11-20 18:17
0 siblings, 0 replies; only message in thread
From: @ 2026-11-20 18:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pcs
Branch : eln
Commit : 4845179f29ab6b5cd715380d72bb9ec2204a95d4
Author : Michal Pospíšil <mpospisi@redhat.com>
Date : 2026-11-18T16:20:10-05:00
Stats : +6/-19 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pcs/c/4845179f29ab6b5cd715380d72bb9ec2204a95d4?branch=eln
Log:
swap rubygem ethon for curb
Unbundling ethon because we switched to rubygem curb. Dropping ethon
also means dropping rubygem ffi and its dependency on libffi-devel.
---
diff --git a/pcs.spec b/pcs.spec
index 3bf5427..4398c28 100644
--- a/pcs.spec
+++ b/pcs.spec
@@ -63,8 +63,7 @@ ExclusiveArch: x86_64 s390x ppc64le aarch64 riscv64
%global version_rubygem_backports 3.25.3
%global version_rubygem_base64 0.3.0
%global version_rubygem_childprocess 5.1.0
-%global version_rubygem_ethon 0.18.0
-%global version_rubygem_ffi 1.17.2
+%global version_rubygem_curb 1.4.1
%global version_rubygem_mustermann 3.1.1
%global version_rubygem_nio4r 2.7.5
%global version_rubygem_puma 8.0.1
@@ -107,8 +106,7 @@ Source23: https://pypi.python.org/packages/source/p/pycurl/%{pycurl_src_name}.ta
Source61: https://rubygems.org/downloads/backports-%{version_rubygem_backports}.gem
Source62: https://rubygems.org/downloads/base64-%{version_rubygem_base64}.gem
Source63: https://rubygems.org/downloads/childprocess-%{version_rubygem_childprocess}.gem
-Source64: https://rubygems.org/downloads/ethon-%{version_rubygem_ethon}.gem
-Source65: https://rubygems.org/downloads/ffi-%{version_rubygem_ffi}.gem
+Source64: https://rubygems.org/downloads/curb-%{version_rubygem_curb}.gem
Source66: https://rubygems.org/downloads/mustermann-%{version_rubygem_mustermann}.gem
Source67: https://rubygems.org/downloads/nio4r-%{version_rubygem_nio4r}.gem
Source68: https://rubygems.org/downloads/puma-%{version_rubygem_puma}.gem
@@ -163,9 +161,7 @@ BuildRequires: (python3-wheel if python3-setuptools < 71)
# gcc for compiling custom rubygems and python extensions
BuildRequires: gcc
BuildRequires: gcc-c++
-# for rubygem ffi
-BuildRequires: libffi-devel
-# dependencies for pycurl
+# dependencies for pycurl and curb
BuildRequires: libcurl-devel
BuildRequires: openssl-devel
# ruby and gems for pcsd
@@ -248,8 +244,7 @@ Provides: bundled(python3-pycurl) = %{pycurl_version}
Provides: bundled(rubygem-backports) = %{version_rubygem_backports}
Provides: bundled(rubygem-base64) = %{version_rubygem_base64}
Provides: bundled(rubygem-childprocess) = %{version_rubygem_childprocess}
-Provides: bundled(rubygem-ethon) = %{version_rubygem_ethon}
-Provides: bundled(rubygem-ffi) = %{version_rubygem_ffi}
+Provides: bundled(rubygem-curb) = %{version_rubygem_curb}
Provides: bundled(rubygem-mustermann) = %{version_rubygem_mustermann}
Provides: bundled(rubygem-nio4r) = %{version_rubygem_nio4r}
Provides: bundled(rubygem-puma) = %{version_rubygem_puma}
@@ -369,7 +364,6 @@ cp -f %SOURCE61 %{rubygem_cache_dir}
cp -f %SOURCE62 %{rubygem_cache_dir}
cp -f %SOURCE63 %{rubygem_cache_dir}
cp -f %SOURCE64 %{rubygem_cache_dir}
-cp -f %SOURCE65 %{rubygem_cache_dir}
cp -f %SOURCE66 %{rubygem_cache_dir}
cp -f %SOURCE67 %{rubygem_cache_dir}
cp -f %SOURCE68 %{rubygem_cache_dir}
@@ -441,10 +435,7 @@ mv %{rubygem_bundle_dir}/gems/backports-%{version_rubygem_backports}/LICENSE.txt
mv %{rubygem_bundle_dir}/gems/base64-%{version_rubygem_base64}/BSDL base64_BSDL
mv %{rubygem_bundle_dir}/gems/base64-%{version_rubygem_base64}/COPYING base64_COPYING
mv %{rubygem_bundle_dir}/gems/childprocess-%{version_rubygem_childprocess}/LICENSE childprocess_LICENSE
-mv %{rubygem_bundle_dir}/gems/ethon-%{version_rubygem_ethon}/LICENSE ethon_LICENSE
-mv %{rubygem_bundle_dir}/gems/ffi-%{version_rubygem_ffi}/COPYING ffi_COPYING
-mv %{rubygem_bundle_dir}/gems/ffi-%{version_rubygem_ffi}/LICENSE ffi_LICENSE
-mv %{rubygem_bundle_dir}/gems/ffi-%{version_rubygem_ffi}/LICENSE.SPECS ffi_LICENSE.SPECS
+mv %{rubygem_bundle_dir}/gems/curb-%{version_rubygem_curb}/LICENSE curb_LICENSE
mv %{rubygem_bundle_dir}/gems/mustermann-%{version_rubygem_mustermann}/LICENSE mustermann_LICENSE
mv %{rubygem_bundle_dir}/gems/nio4r-%{version_rubygem_nio4r}/license.md nio4r_license.md
mv %{rubygem_bundle_dir}/gems/nio4r-%{version_rubygem_nio4r}/ext/libev/LICENSE nio4r_libev_LICENSE
@@ -481,7 +472,6 @@ rm -rf %{buildroot}/usr/lib/debug
rm -rf %{buildroot}%{_prefix}/src/debug
# We can remove files required for gem compilation
-rm -rf %{buildroot}%{_libdir}/%{rubygem_bundle_dir}/gems/ffi-%{version_rubygem_ffi}/ext
rm -rf %{buildroot}%{_libdir}/%{rubygem_bundle_dir}/gems/nio4r-%{version_rubygem_nio4r}/ext
rm -rf %{buildroot}%{_libdir}/%{rubygem_bundle_dir}/gems/puma-%{version_rubygem_puma}/ext
@@ -586,10 +576,7 @@ run_all_tests
%license base64_BSDL
%license base64_COPYING
%license childprocess_LICENSE
-%license ethon_LICENSE
-%license ffi_COPYING
-%license ffi_LICENSE
-%license ffi_LICENSE.SPECS
+%license curb_LICENSE
%license mustermann_LICENSE
%license nio4r_license.md
%license nio4r_libev_LICENSE
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-20 18:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 18:17 [rpms/pcs] eln: swap rubygem ethon for curb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox