Postings by Andrew W

Full text search not matching 2 letter word

Im trying to run a full text query on a two letter keyword 'K7'. I have
set ft_min_word_len=2 and restarted the server and if I view the system
vars in Mysql Workbench it shows it is set correctly.

I have then dropped and re-created the index on the descrip column. It
is an InnoDB table so I cannot do repair table.

Im running the following query which I expect to match the following
record but it doesnt.

Creating Spec file for RPM

Im trying to learn how to create RPMs but am a little confused by the
spec file.

Im trying to package up some Python scripts, rather than binary files,
and I want them to be installed in a subdirectory under /usr/local which
I shall refer to as /usr/local/X

Ive put the scripts in a tarball under /home/me/X/RPM/SOURCES

but Im getting terribly confused over what to put in theĀ  %build
%install and %files sections

If I set $RPM_BUILD_ROOT to /home/me/X/RPM/temp then put


%setup -q

that will unpack the tarball, yes?, but where to, /home/me/X/RPM/temp ?

how would I then tell it to