From 6d1b36a83c21bc8e18d8e8a16b0a42e48add5153 Mon Sep 17 00:00:00 2001 From: Irina Boverman Date: Tue, 28 Jul 2020 15:57:45 -0400 Subject: [PATCH] Revert "Added rubygem-qpid_proton package" This reverts commit 2d2eb9c57094f729be71303cd7891d526d890483. --- qpid-proton.spec | 45 +-------------------------------------------- 1 file changed, 1 insertion(+), 44 deletions(-) diff --git a/qpid-proton.spec b/qpid-proton.spec index 9e35edf..36c3cd5 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -1,5 +1,4 @@ %global proton_datadir %{_datadir}/proton -%global gem_name qpid_proton %global __provides_exclude_from ^%{proton_datadir}/examples/.*$ %global __requires_exclude_from ^%{proton_datadir}/examples/.*$ @@ -13,7 +12,7 @@ Name: qpid-proton Version: 0.31.0 -Release: 5%{?dist} +Release: 4%{?dist} Summary: A high performance, lightweight messaging library License: ASL 2.0 URL: http://qpid.apache.org/proton/ @@ -40,9 +39,6 @@ BuildRequires: python3-sphinx BuildRequires: glibc-headers BuildRequires: cyrus-sasl-devel BuildRequires: jsoncpp-devel -BuildRequires: python3-setuptools -BuildRequires: ruby-devel -BuildRequires: rubygems-devel %description Proton is a high performance, lightweight messaging library. It can be used in @@ -214,30 +210,6 @@ BuildArch: noarch %files tests %doc %{proton_datadir}/tests - -%package -n rubygem-%{gem_name} -Group: System Environment/Libraries -Summary: Ruby language bindings for the Qpid Proton messaging framework -Obsoletes: rubygem-%{gem_name}-doc - -%description -n rubygem-%{gem_name} -Proton is a high performance, lightweight messaging library. It can be used in -the widest range of messaging applications including brokers, client libraries, -routers, bridges, proxies, and more. Proton is based on the AMQP 1.0 messaging -standard. - -%files -n rubygem-%{gem_name} -%dir %{gem_instdir} -%{gem_libdir} -%{gem_extdir_mri} -%exclude %{gem_cache} -%{gem_spec} -%doc %{gem_instdir}/LICENSE.txt -%doc %{gem_instdir}/licenses.xml -%doc %{gem_instdir}/examples -%doc %{gem_instdir}/tests - - %prep %setup -q -n %{name}-%{version} %patch0 -p1 @@ -280,18 +252,6 @@ install -pm 644 %{SOURCE1} %{buildroot}%{proton_licensedir} install -pm 644 %{buildroot}%{proton_datadir}/LICENSE.txt %{buildroot}%{proton_licensedir} rm -f %{buildroot}%{proton_datadir}/LICENSE.txt -cd ../ruby/gem/ -mkdir -p %{buildroot}%{gem_instdir} -install -dm 755 %{buildroot}%{gem_dir}/specifications -mkdir -p %{buildroot}%{gem_extdir_mri} -cp -a ../cproton.so %{buildroot}%{gem_extdir_mri}/ -touch %{buildroot}%{gem_extdir_mri}/gem.build_complete -chmod 644 %{buildroot}%{gem_extdir_mri}/gem.build_complete -cp -a examples tests lib %{buildroot}%{gem_instdir}/ -install -pm 644 LICENSE.txt %{buildroot}%{gem_instdir}/ -install -pm 644 %{SOURCE1} %{buildroot}%{gem_instdir}/ -install -pm 644 %{gem_name}.gemspec %{buildroot}%{gem_spec} - # clean up files that are not shipped rm -rf %{buildroot}%{_exec_prefix}/bindings rm -rf %{buildroot}%{_libdir}/java @@ -351,9 +311,6 @@ rm -f %{buildroot}%{proton_datadir}/CMakeLists.txt %check %changelog -* Tue Jul 28 2020 Irina Boverman - 0.30.0-5 -- Added rubygem-qpid_proton subpackage - * Mon Jun 1 2020 Irina Boverman - 0.30.0-4 - Corrected cmake for c/cpp examples - Resolved PROTON-2228