Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPM SPEC version does not reflect the current release #89

Open
rinigus opened this issue May 13, 2021 · 7 comments
Open

RPM SPEC version does not reflect the current release #89

rinigus opened this issue May 13, 2021 · 7 comments

Comments

@rinigus
Copy link
Contributor

rinigus commented May 13, 2021

For better support of tbuilder, please adjust RPM SPEC version with every release.

@Thaodan
Copy link

Thaodan commented May 13, 2021 via email

@rinigus
Copy link
Contributor Author

rinigus commented May 13, 2021

Indeed, for many packages git tags can be used. However, in some cases that I have had with tbuilder, git tags and calc of version from them failed with some specific modifications of the submodules.

Irrespective to the use of tags, it is expected that version string is adjusted in SPEC as well as a part of the release. This repository is one of the few in Sony Tama port that does not follow this expected convention. Please fix it.

@Thaodan
Copy link

Thaodan commented May 14, 2021

, in some cases that I have had with tbuilder, git tags and calc of version from them failed with some specific modifications of the >submodules.

Which failures please describe?

In any case the version is to be set to the git tag. There will be no modifications to fix some specific tooling.

@rinigus
Copy link
Contributor Author

rinigus commented May 14, 2021

Which failures please describe?

I don't remember. Next time I get something like I had, I will let you know.

In any case the version is to be set to the git tag. There will be no modifications to fix some specific tooling.

That's what I am asking for. To keep RPM SPEC and git tags in sync, as a part of the release. As expected when you provide RPM SPEC as a part of the repository. Edit And indeed, it is not for avoiding bugs somewhere else

@Thaodan
Copy link

Thaodan commented May 14, 2021 via email

@rinigus
Copy link
Contributor Author

rinigus commented May 14, 2021

Let me be specific:

I am asking to sync line https://github.com/mer-hybris/qt5-qpa-hwcomposer-plugin/blob/master/rpm/qt5-qpa-hwcomposer-plugin.spec#L3 to be the same as the corresponding release.

Right now, this line should be

Version:    5.6.2.18

Instead, it sets version to 5.6.2.1 and, below, release to 1.

@martyone
Copy link

martyone commented Oct 3, 2022

Indeed, for many packages git tags can be used. However, in some cases that I have had with tbuilder, git tags and calc of version from them failed with some specific modifications of the submodules.

I guess it would help you if there was an option to ignore possible local changes and only consider the latest git tag. Could you please file a bug on forum.sailfishos.org for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants