GET 24/7 LIVE HELP NOW

Announcement

Announcement Module
Collapse
No announcement yet.

Missing Macro in Percona-XtraDB-Cluster-5.5.23-23.5.333.rhel5.src.rpm

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Missing Macro in Percona-XtraDB-Cluster-5.5.23-23.5.333.rhel5.src.rpm

    Building the Percona-XtraDB-Cluster-5.5.23-23.5.333.rhel5.src.rpm on "CentOS 5.4" works for me, but results in improperly named RPMs.


    rpmbuild --rebuild Percona-XtraDB-Cluster-5.5.23-23.5.333.rhel5.src.rpm ...snip...Wrote: /usr/src/redhat/RPMS/i386/Percona-XtraDB-Cluster-server-5.5.23-%{wsrep_version}.1.rhel5.i386.rpmWrote: /usr/src/redhat/RPMS/i386/Percona-XtraDB-Cluster-client-5.5.23-%{wsrep_version}.1.rhel5.i386.rpmWrote: /usr/src/redhat/RPMS/i386/Percona-XtraDB-Cluster-test-5.5.23-%{wsrep_version}.1.rhel5.i386.rpmWrote: /usr/src/redhat/RPMS/i386/Percona-XtraDB-Cluster-devel-5.5.23-%{wsrep_version}.1.rhel5.i386.rpmWrote: /usr/src/redhat/RPMS/i386/Percona-XtraDB-Cluster-shared-5.5.23-%{wsrep_version}.1.rhel5.i386.rpmWrote: /usr/src/redhat/RPMS/i386/Percona-XtraDB-Cluster-debuginfo-5.5.23-%{wsrep_version}.1.rhel5.i386.rpm


    Looking at the .spec file we see it's not defined.


    grep wsrep_version percona-xtradb-cluster.spec %define percona_server_version %{wsrep_version}%define release %{release_tag}%{wsrep_version}.%{revision}.%{distr ibution}



    Thanks for putting effort into making these RPM releases! We really appreciate it.


    Erik Osterman

  • #2
    Thank you for this notification.

    Comment


    • #3
      Hello Erik,

      Please take a look at our build/build-rpm.sh scripts, it shows how we set it just-in-time for compilation. Furthermore, I'd advise to use these convenience scripts since they work on CXXFLAGS and cleanup, etc..

      Thanks!


      Ignacio.

      Comment

      Working...
      X