Results 1 to 5 of 5

Thread: [openSuSE 11.4] how to create a rpm file ?

  1. #1
    Join Date
    May 2009
    Location
    Liège Walifornia
    Posts
    393

    Default [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 ^^

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,246
    Blog Entries
    15

    Default Re: [openSuSE 11.4] how to create a rpm file ?

    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;
    Code:
    rpmbuild -bb kdeartwork4.spec
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    May 2009
    Location
    Liège Walifornia
    Posts
    393

    Default Re: [openSuSE 11.4] how to create a rpm file ?

    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 !!

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: [openSuSE 11.4] how to create a rpm file ?

    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)

  5. #5
    Join Date
    May 2009
    Location
    Liège Walifornia
    Posts
    393

    Default Re: [openSuSE 11.4] how to create a rpm file ?

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •