I found that there are something like user define function in .spec file. For example the MySQL source rpm, there has BuildMySQL() { # The --enable-assembler simply does nothing on systems that does not # support assembler speedups. sh -c "CFLAGS=\"$RPM_OPT_FLAGS\" \ CXXFLAGS=\"$RPM_OPT_FLAGS\" \ CPPFLAGS=\"-DBIG_TABLES\" \ ./configure \ $* \ --enable-assembler \ --enable-local-infile \ --with-mysqld-user=%{mysqld_user} \ --with-unix-socket-path=/var/lib/mysql/mysql.sock \ --prefix=/ \ .......... } am i right ? _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list