From: Brad P. <bp...@li...> - 2010-01-22 18:42:38
|
Nathan Fontenot wrote: > Brad Peters wrote: >> Spec file was quite out of date. I added some prep/build/install logic, >> and corrected for man page name changes. > > Brad, > > How are you building rpms with the spec file? The current spec file > is set up > to build binary rpms. It appears that your patch wants to build an > rpm with a > tarball of the source and have the code built on the target machine. > > Perhaps this is the way we should go moving forward. Previous > powerpc-utils packages > were built as binary rpms since the rpm was not shipped with the > distros and the > target machine to install these on (i.e. servers) was not expected to > have a > compiler installed. Since powrepc-utils is now shipped with most > distros it may > be time to convert the spec file to not build a binary rpm. > > I'm not sure about the man page changes, I have had no problem with > the man pages > when building a binary rpm. Perhaps this change is part of the switch > to not > building this as a binary package. > > -Nathan > Hi Nathan, These spec file changes allow you to run rpmbuild to build the rpm from source. All you need to do now is provide the tarball with a powerpc-utils-[version].tar.gz name, copy it into /usr/src/packages/SOURCES (or whereever $_topdir is pointing), copy the spec in /usr/src/packages/SPECS, and run: > rpmbuild --ba --target=ppc /usr/src/packages/SPECS/powerpc-utils.spec I guess either way will work, but it seems like a good idea to have rpmbuild do as much of the work as possible. Best, Brad >> >> Signed-off by: Yours truly, Aka Brad Peters >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> >> Throughout its 18-year history, RSA Conference consistently attracts the >> world's best and brightest in the field, creating opportunities for >> Conference >> attendees to learn about information security's most important issues >> through >> interactions with peers, luminaries and emerging and established >> companies. >> http://p.sf.net/sfu/rsaconf-dev2dev >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Powerpc-utils-devel mailing list >> Pow...@li... >> https://lists.sourceforge.net/lists/listinfo/powerpc-utils-devel -- Best regards, Brad Peters IBM Linux on System-P Platform Serviceability Team Lead 15350 SW Koll Parkway 503-578-3493 TL: 775-3493 bp...@li... bp...@us... AIM: bradpeters1000 |