From ee7aeee5b795405105c50a5186de3cdfe5ab8cd0 Mon Sep 17 00:00:00 2001 From: Irina Boverman Date: Feb 03 2020 20:25:59 +0000 Subject: 0.16-25 --- diff --git a/saslwrapper.spec b/saslwrapper.spec index 30a12d8..4565f0c 100644 --- a/saslwrapper.spec +++ b/saslwrapper.spec @@ -13,6 +13,7 @@ BuildRequires: doxygen BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: ruby-devel +BuildRequires: python2-devel BuildRequires: cyrus-sasl-devel BuildRequires: swig @@ -27,6 +28,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The header files for developing with saslwrapper. +%package -n python2-saslwrapper +%{?python_provide:%python_provide python2-saslwrapper} +Summary: Python bindings for saslwrapper +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description -n python2-saslwrapper +Python bindings for the saslwrapper library. + %package -n ruby-saslwrapper Summary: Ruby bindings for saslwrapper Requires: %{name}%{?_isa} = %{version}-%{release} @@ -42,7 +51,7 @@ Ruby bindings for the saslwrapper library. sed -i -r 's/Config::CONFIG/Rb\0/g' configure.ac %build -./bootstrap --without_python +./bootstrap export RUBY_LIB_ARCH="%{ruby_vendorarchdir}" %configure make %{?_smp_mflags} @@ -64,12 +73,17 @@ make check %{_libdir}/libsaslwrapper.so %{_includedir}/saslwrapper.h +%files -n python2-saslwrapper +%{python2_sitearch}/saslwrapper.py* +%{python2_sitearch}/_saslwrapper.so + %files -n ruby-saslwrapper %{ruby_vendorarchdir}/saslwrapper.so %changelog * Thu Jan 30 2020 Fedora Release Engineering - 0.16-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild +- Reversed "Removed Python 2 bindings" * Thu Oct 17 2019 Lumír Balhar - 0.16-24 - Removed Python 2 bindings