freetype2 -> rebuild rpm after spec file change?
Hi all. On a new box I decided I want to turn on the bytecode interpreter for FT2 to enable Apple's TrueType hinting.... I see I want it. (Plus I have a Mac now) My question is not about the method of grabbing source from Freetype and make/ make install from scratch, rather rebuilding the existing rpm in Suse 9. It entails editing a spec file, and rebuilding it. Sounds simple enough. I'm doing the following: a) Install source rpm for FreeType2 from the Suse 9 CD. b) Drop to the source rpm's spec file directory c) Edit 1 line in freetype2.spec: "%patch100.." ie: not a remark line ..Now what? The URL below seems Suse 7 specific and process ie using -ba params for the rpm won't work * How do I rebuild the rpm...? .....I see the benefit of having this rpm fixed. My info is from here: http://portal.suse.com/sdb/en/2001/11/mfabian_bytecodeinterpreter.html jk -- Suse Linux 9.0 | 2.4.21-166-smp4G | KDE 3.1.4 | XFree86 v4.3.0.1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Am Samstag, 28. Februar 2004 11:38 schrieb Jaan Kold:
On a new box I decided I want to turn on the bytecode interpreter for FT2 to enable Apple's TrueType hinting.... I see I want it. (Plus I have a Mac now)
My question is not about the method of grabbing source from Freetype and make/ make install from scratch, rather rebuilding the existing rpm in Suse 9. It entails editing a spec file, and rebuilding it. Sounds simple enough.
I'm doing the following:
a) Install source rpm for FreeType2 from the Suse 9 CD. b) Drop to the source rpm's spec file directory c) Edit 1 line in freetype2.spec: "%patch100.." ie: not a remark line ..Now what? The URL below seems Suse 7 specific and process ie using -ba params for the rpm won't work * How do I rebuild the rpm...? .....I see the benefit of having this rpm fixed.
I don't know anything about the rest of your "problem", but with the transition from RPM 3.x to RPM 4.x the command to rebuild a rpm package is now "rpmbuild". See "man rpmbuild". Greetings from Bremen hartmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAQHX4ZopYnYJxam4RAroyAJwNRNMD39gEff5qjsrRlVNjG46y8QCcCvOW hHITapA/d995WoNeGFWoMgM= =qCIr -----END PGP SIGNATURE-----
On Saturday 28 February 2004 12:05, Hartmut Meyer wrote:
Hi,
* How do I rebuild the rpm...?
I don't know anything about the rest of your "problem", but with the transition from RPM 3.x to RPM 4.x the command to rebuild a rpm package is now "rpmbuild". See "man rpmbuild". Greetings from Bremen hartmut
Hartmut, thanks, it was exactly what I needed. I got my rpm. Worked like a champ. jk -- Suse Linux 9.0 | 2.4.21-166-smp4G | KDE 3.1.4 | XFree86 v4.3.0.1
participants (2)
-
Hartmut Meyer
-
Jaan Kold