stan wrote:
On Wed, 17 Oct 2018 15:58:49 +0200
"Patrick Dupre" <pdupre(a)gmx.com> wrote:
> but I also would like to modify the version number
> For example by adding a -1 or a "a"
>
> how can I do it?
Doug's response is pertinent. But I'm going to read your mind and
assume that you are trying to build a local package from the source
rpm. Then you will have a directory ~/rpmbuild/SPECS. In that
directory there will be a spec file for your package. Edit that file
and change the version to whatever you want.
It's worth noting that changing the release tag to -1 or "a"
are both problematic. You can't use a dash in the release
tag and using alphabet characters makes it much trickier to
ensure that a package is newer than previous versions.
So to properly answer Patrick's question, much more context
and details are going to be needed.
--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The future isn't what it used to be.
-- Arthur C. Clarke