[openSuSE 11.4] how to create a rpm file ?

Greetings !!

I just finished the kdeartwork4.spec file and I’m trying to create the rpm file in order to upgrade the screensaver effects I just added to the package.
Problem is: I tried many advices given but each time the options adviced were not applicable (unknown option).

The first advice was to use rpm -bb kdeartwork4.spec
The other advice was rpm -ba kdeartwork4.spec

I jumped on man rpm but everything there wasn’t very helpfull for me as I don’t want to install/verify/select or verify…

Is there something I missed somewhere ?
It’s the first time I try to change something in this way so I’m a little confused ^^

Thank you in advance ^^

Hi
Normally you create changes to the source via patches, then add those patches to the spec file and rebuild. You need to ensure all the files are down in /usr/src/packages/SOURCES directory and then use the command;


rpmbuild -bb kdeartwork4.spec

It is maybe because I’m a little tired… I didn’t have the reflex to use rpmbuild instead of rpm… I feel more confused now :{

Thank you !!

On 2011-11-05 03:24, soundlord wrote:
>
> It is maybe because I’m a little tired… I didn’t have the reflex to
> use rpmbuild instead of rpm… I feel more confused now :{

Lots of older documentation refers to rpm, when instead you need rpmbuild.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Thanks for your help, it is working better now with the new features I added.
rpmbuild worked perfect…