Skip to content

Commit

Permalink
MDEV-35108: galera rpm build error in Fedora 41
Browse files Browse the repository at this point in the history
Changed to allow distributions like Fedora 41 to find
the galera-4.spec file - thanks to Daniel Black for proposed
fix.
  • Loading branch information
sysprg committed Oct 9, 2024
1 parent 3f19350 commit 987e5f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions scripts/packages/rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fast_cflags="-O3 -fno-omit-frame-pointer"
uname -m | grep -q i686 && \
cpu_cflags="-mtune=i686" || cpu_cflags="-mtune=core2"
RPM_OPT_FLAGS="$fast_cflags $cpu_cflags"
GALERA_SPEC=$SCRIPT_ROOT/galera.spec
GALERA_SPEC=$SCRIPT_ROOT/galera-4.spec

RELEASE=${RELEASE:-"1"}

Expand Down Expand Up @@ -65,7 +65,7 @@ fi
# no cmake3 installed? Pretend the build dependency is cmake
rpm -q cmake3 || sed -i -e 's/cmake3/cmake/' "$GALERA_SPEC"

$(which rpmbuild) --clean --define "_topdir $RPM_TOP_DIR" \
rpmbuild --clean --define "_topdir $RPM_TOP_DIR" \
--define "optflags $RPM_OPT_FLAGS" \
--define "version $1" \
--define "dist ${DIST_TAG}" \
Expand Down

0 comments on commit 987e5f1

Please sign in to comment.