[bdii/el5] Don't use _libdir macro for noarch package
Mattias Ellert
ellert at fedoraproject.org
Thu Mar 14 12:56:02 UTC 2013
commit ad121da0c7b77ff6128f13480ec3f8db75d07165
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date: Thu Mar 14 13:55:37 2013 +0100
Don't use _libdir macro for noarch package
bdii.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/bdii.spec b/bdii.spec
index 44e34d6..c603bdc 100644
--- a/bdii.spec
+++ b/bdii.spec
@@ -1,6 +1,6 @@
Name: bdii
Version: 5.2.17
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The Berkeley Database Information Index (BDII)
Group: System Environment/Daemons
@@ -59,7 +59,8 @@ chmod 644 %{buildroot}%{_sysconfdir}/sysconfig/%{name}
# slapd in RHEL 5 had the relay backend compiled in and doesn't need to load it
# slapd in RHEL 5 doesn't look in /usr/lib(64)?/openldap for modules by default
sed -e '/moduleload back_relay/d' \
- -e '/moduleload rwm/imodulepath %{_libdir}/openldap' \
+ -e '/moduleload rwm/imodulepath /usr/lib/openldap' \
+ -e '/moduleload rwm/imodulepath /usr/lib64/openldap' \
-i %{buildroot}%{_sysconfdir}/%{name}/*-slapd.conf
%endif
@@ -132,6 +133,9 @@ fi
%doc copyright
%changelog
+* Thu Mar 14 2013 Mattias Ellert <mattias.ellert at fysast.uu.se> - 5.2.17-2
+- Don't use _libdir macro for noarch package
+
* Thu Mar 14 2013 Mattias Ellert <mattias.ellert at fysast.uu.se> - 5.2.17-1
- New upstream version 5.2.17
More information about the scm-commits
mailing list