packaging(RHEL): use --libdir and --with-modulesdir instead of --with-libdir
authorMichael Adam <obnox@samba.org>
Fri, 29 Aug 2008 14:38:31 +0000 (16:38 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 9 Sep 2008 08:53:26 +0000 (10:53 +0200)
Michael
(This used to be commit dc6625637fb9de7d64d4416a1eb43f214590d393)

packaging/RHEL/samba.spec.tmpl

index 90a9494c5d7e0eb92588ae297f1a12e6d9ebe640..c6417f9be6b72ee1f8c2dee312cab47b63bce75f 100644 (file)
@@ -127,7 +127,8 @@ CFLAGS="$RPM_OPT_FLAGS $EXTRA -D_GNU_SOURCE" ./configure \
        --prefix=%{_prefix} \
        --localstatedir=/var \
         --with-configdir=%{_sysconfdir}/samba \
-        --with-libdir=%{_libdir}/samba \
+        --libdir=%{_libdir} \
+       --with-modulesdir=%{_libdir}/samba \
         --with-lockdir=/var/lib/samba \
         --with-logfilebase=/var/log/samba \
         --with-mandir=%{_mandir} \