You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2014/08/09 00:10:11 UTC

[jira] [Updated] (ZOOKEEPER-2007) Update RPM package to be relocatable and contrib packaging bugfix

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated ZOOKEEPER-2007:
---------------------------------

    Attachment: ZOOKEEPER-2007-trunk.patch
                ZOOKEEPER-2007-branch-3.5.patch
                ZOOKEEPER-2007-branch-3.4.patch

This can be tested by:

ant -Dpackage.prefix=/opt/apache/zookeeper \
      -Dpackage.log.dir=/var/apache/zookeeper/log \
      -Dpackage.pid.dir=/var/apache/zookeeper/pid \
      -Dpackage.var.dir=/var/apache/zookeeper/data \
      -Dpackage.conf.dir=/opt/apache/zookeeper/conf \
clean rpm



> Update RPM package to be relocatable and contrib packaging bugfix
> -----------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2007
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2007
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.4.6, 3.5.0
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: ZOOKEEPER-2007-branch-3.4.patch, ZOOKEEPER-2007-branch-3.5.patch, ZOOKEEPER-2007-trunk.patch
>
>
> RPM package init.d startup script is not relocatable, and there is some bugs in contrib directory build structure where property is not passed from main project to contrib, hence some of the contrib projects generate ${dist.dir} directory instead of building in the top level build directory.  The usage of BUILD directory is not exactly correct from ZOOKEEPER-1210.  RPM build procedure should use BUILDROOT as install destination to properly support RPM 4.6+ while package is building.



--
This message was sent by Atlassian JIRA
(v6.2#6252)