HylaFAX The world's most advanced open source fax server |
Am 2003.04.30 18:03 schrieb(en) Giulio Orsero: > On Wed, 30 Apr 2003 17:22:30 +0200, Stephan André Schmidt� Schmidt > <stephanandre.schmidt@uni-bielefeld.de> wrote: > > >[root@valhalla root]# rpmbuild --rebuild > /home/stephan/source/hylafax-4.1 > >.5-1rh7.src.rpm Installiere > /home/stephan/source/hylafax-4.1.5-1rh7.src.rpm > >Fehler: Package already exists: %package debuginfo > >returns the mentioned output. Has anyone been able to rebuild the SRPM > on > > # rpm -i /home/stephan/source/hylafax-4.1.5-1rh7.src.rpm > # vi /usr/src/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 /usr/src/redhat/SPECS/hylafax.spec > > this is due to a change in the recent rpm version which overloaded the > %install section with new stuff (building of debug package), and now rpm > is > confused when it sees another "%install". > > 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 > > -- > giulioo@pobox.com > sales@hylafax.org.* > Hello, thanks you for your quick and very helpful hints. Bye, Stephan ____________________ 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.*