[fedora-india] How to write spec file with upgrade option?

Shakthi Kannan shakthimaan at gmail.com
Mon Jan 17 10:20:18 UTC 2011


Hi,

--- On Mon, Jan 17, 2011 at 3:42 PM, Lakshmipathi.G
<lakshmipathi.g at gmail.com> wrote:
| May be I should be more clearer.I
| have written an rpm spec file and built binary rpm using "rpmbuild" and
| installing this rpm (-i) works well.
\--

Instead, please use:

 $ yum install package.rpm --nogpgcheck

---
| Now I want to provide rpm -U option - so that user can upgrade to next
\--

You will update the .spec file release version, create the new .rpm,
and then the user can install the new updated rpm using the above.
But, please get your package approved to the Fedora repo, so others
can benefit from the same.

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com


More information about the india mailing list