Closed pvoborni closed 1 year ago
I've updated it yet-again as dev.{PACKIT_PROJECT_BRANCH}
was still lower than e.g. someting which started with 1
.
$ rpmdev-vercmp 1.12.3-dev.pr231 1.12.3-1.20230126174817469017.pr231.4.g887f46d
1.12.3-dev.pr231 < 1.12.3-1.20230126174817469017.pr231.4.g887f46d
$ rpmdev-vercmp 1.12.3-99.dev.pr231 1.12.3-1.20230126174817469017.pr231.4.g887f46d
1.12.3-99.dev.pr231 > 1.12.3-1.20230126174817469017.pr231.4.g887f46d
In general, I think that we have 2 ways to solve the issue
The smoke test is uninstalling all packages and then trying to install them again to check if dependencies work correctly.
The issue is that version of package created by packit on pull request could be lower from dnf PoV than the one available e.g. in EPEL thus the EPEL version is used istead of the one which we are testing.
Thus c8s test is failing as it is picking up a package which has incorrect dependencies.
This PR is recording the initially installed package version to use it again on reinstallation and thus avoid the issue.
Signed-off-by: Petr Vobornik pvoborni@redhat.com