First i found 2 tutorials. The first one just says to do "rpm --rebuild pkg.src.rpm" and the second one to do "rpm -Uvh pkg.src.rpm", change some parameters in /usr/src/redhat/..., and do "rpm -ba pkg.spec".
What's the difference? I think in the first one, you get the chance to edit some details. In the second one you just build it- because you haven't found a x86_64.rpm, as in my occasion
However, when i do:
"rpm -ba pkg.spec ", i get "-ba: unknown option" and
"rpm --rebuild", i get "unknown option" as well.
I have also installed the packages:
What's the solution to my proble?