Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, Does anyone know how to modify the .spec file for a particular package. I am trying to modify the Summary information for a particular package and there does not ...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    1

    How to Modify rpm spec file for a particular package

    Hi,

    Does anyone know how to modify the .spec file for a particular package. I am trying to modify the Summary information for a particular package and there does not appear to be any option with rpm to do this.

    There is plenty of info on creating the spec file etc but i need to modify an existing spec file with new Summary Info. I cant seem to locate the spec file to modify it.

    For example, how would i change the summary information that would appear for the package "less". At the moment it prints out as follows and i would like to change the summary content:

    >rpm -qi less
    Name : less
    .....
    Summary : A text file browser similar to more, but better.

    Nearly all the info available is regarding creating new spec files and cant find much on modifying ones that are already there ( eg Incl how to find them ). Any ideas would be appreciated.

  2. #2
    Just Joined!
    Join Date
    Oct 2008
    Posts
    30
    Quote Originally Posted by colm10 View Post
    Hi,

    Does anyone know how to modify the .spec file for a particular package. I am trying to modify the Summary information for a particular package and there does not appear to be any option with rpm to do this.

    There is plenty of info on creating the spec file etc but i need to modify an existing spec file with new Summary Info. I cant seem to locate the spec file to modify it.

    For example, how would i change the summary information that would appear for the package "less". At the moment it prints out as follows and i would like to change the summary content:

    >rpm -qi less
    Name : less
    .....
    Summary : A text file browser similar to more, but better.

    Nearly all the info available is regarding creating new spec files and cant find much on modifying ones that are already there ( eg Incl how to find them ). Any ideas would be appreciated.
    hi colm, im too trying the same, first im trying to create a spec file for "Hello World" program. I hv not yet succeded. im getting problem with Buildroot option. do u hv any idea about spec files for the simple hello world program

Posting Permissions

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