Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2275

Fix RPM package creation on recent distros

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.5.1
    • None
    • build
    • None
    • * Fix RPM creation on newer distributions
    • Patch

    Description

      Three issues with RPM package building,

      The install stage was removing BUILDROOT content:

      [rpm] + rm -rf /tmp/zkpython_build_rpm/BUILD

      Since BUILD and BUILDROOT are actually the same folder, everything is
      removed before being used.

      The original fix for this problem was submitted by Cédric Lejeune

      http://mail-archives.apache.org/mod_mbox/zookeeper-user/201212.mbox/%3C50D2D481.8010507@pt-consulting.eu%3E

      The other two issues that need to be fixed are an invalid argument given to popd and a reference to old redhat RPM packaging scripts.

      Attachments

        1. pkg_fixes.patch
          8 kB
          Hannu Valtonen

        Issue Links

          Activity

            People

              Ormod Hannu Valtonen
              Ormod Hannu Valtonen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: