cannot build source rpm/ rpm questions
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: rpm-libs-4.4.1-21 redhat-rpm-config-8.0.34-1 rpm-4.4.1-21 rpm-python-4.4.1-21 rpm-build-4.4.1-21 fedora-rpmdevtools-1.1-1.fc4 What's the solution to my proble? |
I believe you're looking for
Code:
rpmbuild --rebuild Code:
rpmbuild -ba |
Re: cannot build source rpm/ rpm questions
Quote:
|
Re: Re: cannot build source rpm/ rpm questions
Quote:
|
All times are GMT -5. The time now is 01:54 AM. |