Re: rebuild package and increment version
stan wrote: > On Wed, 17 Oct 2018 15:58:49 +0200 > "Patrick Dupre" 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 signature.asc Description: PGP signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: rebuild package and increment version
On Wed, 17 Oct 2018 15:58:49 +0200 "Patrick Dupre" 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. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: rebuild package and increment version
On Wed, 2018-10-17 at 15:58 +0200, Patrick Dupre wrote: > Hello, > > I followed the instructions in > https://fedoraproject.org/wiki/DNF_system_upgrade > > but I also would like to modify the version number > For example by adding a -1 or a "a" > > how can I do it? The link you provide is for doing a system upgrade to F29 for example, that does not seem to fit the question or the subject line. -- Doug H. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
rebuild package and increment version
Hello, I followed the instructions in https://fedoraproject.org/wiki/DNF_system_upgrade but I also would like to modify the version number For example by adding a -1 or a "a" how can I do it? Thank. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France === ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org