[cyrus-sasl] add system sasl2 library to provide also old SONAME version
plautrba
plautrba at fedoraproject.org
Thu Jan 31 10:21:59 UTC 2013
commit 25cdbae5a062b1477507fa5fa5ee590b3d479466
Author: Petr Lautrbach <plautrba at redhat.com>
Date: Mon Jan 21 12:01:59 2013 +0100
add system sasl2 library to provide also old SONAME version
cyrus-sasl.spec | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec
index 111307b..8630f0c 100644
--- a/cyrus-sasl.spec
+++ b/cyrus-sasl.spec
@@ -323,6 +323,10 @@ install -m755 -d $RPM_BUILD_ROOT/%{_plugindir2}
./libtool --tag=CC --mode=install \
install -m755 lib/sasl2-shared-mechlist $RPM_BUILD_ROOT/%{_sbindir}/
+# temporary provide copy of system libsasl2 and plugins
+install %{_libdir}/libsasl*.so.* $RPM_BUILD_ROOT/%{_libdir}
+install %{_plugindir2}/*anonymous*.so* %{_plugindir2}/*sasldb*.so* $RPM_BUILD_ROOT/%{_plugindir2}
+
# Remove unpackaged files from the buildroot.
rm -f $RPM_BUILD_ROOT%{_libdir}/sasl2/libotp.*
rm -f $RPM_BUILD_ROOT%{_libdir}/sasl2/*.a
More information about the scm-commits
mailing list