commit e4f8c955e5aabb7a7114436ab39d4f5962ee2c80
Author: Jacek Konieczny <[email protected]>
Date:   Thu Nov 14 20:06:35 2013 +0100

    --enable-user=jabber
    
    Used to run ejabberd. Workaround for 'make install' needed, as it is not
    only stored in the scripts, but also used during install time.

 ejabberd.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/ejabberd.spec b/ejabberd.spec
index 78c5d87..5c17c0f 100644
--- a/ejabberd.spec
+++ b/ejabberd.spec
@@ -115,6 +115,7 @@ Server-side logging module.
 %configure \
        %{?with_pam --enable-pam} \
        --with-openssl=%{_prefix} \
+       --enable-user=jabber \
        --enable-full-xml \
        --enable-nif \
        --enable-odbc \
@@ -156,6 +157,9 @@ rm -rf $RPM_BUILD_ROOT
 install -d 
$RPM_BUILD_ROOT{/var/lib/%{realname},/etc/{sysconfig,rc.d/init.d},%{_sbindir}}
 
 %{__make} install -j1 \
+       CHOWN_COMMAND=true \
+       O_USER="" \
+       G_USER="" \
        DESTDIR=$RPM_BUILD_ROOT
 
 sed -e's,@libdir@,%{_libdir},g' -e 
's,@EJABBERD_DOC_PATH@,%{_docdir}/%{name}-%{version}/doc,g' %{SOURCE1} > 
$RPM_BUILD_ROOT/etc/rc.d/init.d/%{realname}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ejabberd.git/commitdiff/9a6073b0a82f0356c3c97a4ecaf387361b0a22b8

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to