From 3e0668fa7e710a40a29cfb30a85654a1d10d81b5 Mon Sep 17 00:00:00 2001 From: Irina Boverman Date: Mon, 20 Jan 2020 13:43:27 -0500 Subject: [PATCH] 0.30.0-1 --- qpid-proton.spec | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/qpid-proton.spec b/qpid-proton.spec index 864fc25..5cbf97c 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -34,13 +34,9 @@ BuildRequires: pkgconfig BuildRequires: doxygen BuildRequires: libuuid-devel BuildRequires: openssl-devel -%if 0%{?fedora} || 0%{?rhel} > 7 BuildRequires: python3-devel BuildRequires: python3-sphinx -%endif -%if 0%{?fedora} BuildRequires: glibc-headers -%endif BuildRequires: cyrus-sasl-devel BuildRequires: jsoncpp-devel @@ -175,7 +171,6 @@ Obsoletes: qpid-proton-cpp-devel-docs %doc %{proton_datadir}/examples/cpp/tutorial.dox -%if 0%{?fedora} || 0%{?rhel} > 7 %package -n python3-qpid-proton Summary: Python language bindings for the Qpid Proton messaging framework %{?python_provide:%python_provide python3-qpid-proton} @@ -188,7 +183,7 @@ Requires: python3 %files -n python3-qpid-proton %{python3_sitearch}/* -%endif + %package -n python-qpid-proton-docs Summary: Documentation for the Python language bindings for Qpid Proton @@ -252,14 +247,10 @@ mv %{buildroot}%{proton_datadir}/examples/python/proton_server.py.original %{bui chmod +x %{buildroot}%{python3_sitearch}/_cproton.so -%if 0%{?rhel} && 0%{?rhel} <= 6 -install -pm 644 %{SOURCE1} %{buildroot}%{proton_datadir}/ -%else install -dm 755 %{buildroot}%{proton_licensedir} 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 -%endif # clean up files that are not shipped rm -rf %{buildroot}%{_exec_prefix}/bindings @@ -267,15 +258,6 @@ rm -rf %{buildroot}%{_libdir}/java rm -rf %{buildroot}%{_libdir}/libproton-jni.so rm -rf %{buildroot}%{_datarootdir}/java rm -rf %{buildroot}%{_libdir}/proton.cmake -%if 0%{?rhel} -rm -rf %{buildroot}%{_libdir}/perl5 -rm -rf %{buildroot}%{_libdir}/php -rm -rf %{buildroot}%{_libdir}/ruby -rm -rf %{buildroot}%{_datarootdir}/php -rm -rf %{buildroot}%{_datarootdir}/perl5 -rm -rf %{buildroot}%{_datarootdir}/ruby -rm -rf %{buildroot}%{_sysconfdir}/php.d -%endif rm -fr %{buildroot}%{proton_datadir}/examples/CMakeFiles rm -f %{buildroot}%{proton_datadir}/examples/Makefile rm -f %{buildroot}%{proton_datadir}/examples/*.cmake