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

Fix RPM package creation on recent distros

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.5.1
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None
    • Release Note:
      * Fix RPM creation on newer distributions
    • Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: