Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] RH 9 and SRPM
Giulio Orsero wrote:
[snip]
> Also, it's always better not to be root when rebuilding rpms, so you'd
> better, as user "stephan"
> $ cd
> $ mkdir -p redhat/{SRPMS,RPMS,SOURCES,SPECS,BUILD}
> $ mkdir -p redhat/RPMS/{i386,i586,i686,noarch,athlon}
> $ echo "%_topdir /home/stephan/redhat" >> .rpmmacros
> $ rpm -i source/hylafax-4.1.5-1rh7.src.rpm
> $ vi redhat/SPECS/hylafax.spec
> go in the changelog section and search for "%install section" string,
> replace it with "install section" (take out the %)
> $ rpmbuild -ba redhat/SPECS/hylafax.spec
This is very good advice in general. It's a good habit to always
build rpms this way. You only need to su (or sudo) for the actual
install part.
Just thought it was worth mentioning...
Steve
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*