diff --git a/BabelfishDump.spec b/BabelfishDump.spec index 78702761822..7e92596bb49 100644 --- a/BabelfishDump.spec +++ b/BabelfishDump.spec @@ -73,9 +73,11 @@ This package provides utilities to dump a Babelfish database. %prep %setup -q -n %{name} -# Update binary versions +# Change binary names +sed -i "s/pg_dump/bbf_dump/g" src/bin/pg_dump/pg_dumpall.c sed -i "s/pg_dump (PostgreSQL)/bbf_dump (pg_dump compatible with Babelfish for PostgreSQL)/g" src/bin/pg_dump/pg_dump.c -sed -i "s/pg_dumpall (PostgreSQL)/bbf_dumpall (pg_dumpall compatible with Babelfish for PostgreSQL)/g" src/bin/pg_dump/pg_dumpall.c +sed -i "s/bbf_dump (PostgreSQL)/bbf_dump (pg_dump compatible with Babelfish for PostgreSQL)/g" src/bin/pg_dump/pg_dumpall.c +sed -i "s/bbf_dumpall (PostgreSQL)/bbf_dumpall (pg_dumpall compatible with Babelfish for PostgreSQL)/g" src/bin/pg_dump/pg_dumpall.c %build # Building BabelfishDump