-
Notifications
You must be signed in to change notification settings - Fork 4
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
puppet.rb - trying to add Replaces:, Conflicts:, and Provides: to spe… #5
base: main
Are you sure you want to change the base?
Conversation
From @evgeni
|
Fair. But not knowing vanagon well enough, and knowing that the same vanagon config is being used to build a variety of versions of openvox-agent, how do you get it to obsolete <= the current version being built? |
Documentation on the topic: https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages |
Agree that you should use versioned obsoletes, but if you're using |
I think you can pass the version as a second argument |
Trying to get the replaces/conflicts/provides to include the version and release number. Hopefully.
I am dubious that I have the syntax right, but: pkg.replaces 'puppet-agent', '<' + pkg.version + '-' pkg.release |
We could probably go back in time to see what we did when |
I think that's the right syntax @tskirvin . But our version/release isn't going to match puppet-agent's. In fact, I wonder if we just leave it as the last official OSP puppet-agent release number. I wonder if Puppet Core ™️ packages will still be called "puppet-agent". I'm not really familiar with best practices here. Do we need all 3 of these? |
I think that Replaces and Conflicts are required to get the point across; and Provides may be optional at best. But really I want to get something in place and an rpm built so I can try to iterate through my upgrade process to make sure rpms upgrade properly in place. I was inclined to not include version numbers here for exactly the reason that @nmburgan states - we don't know for sure what the versions upstream will be long-term. And as for @binford2k's comment re: doing what puppet-agent vs puppet did, that was a really long time ago and definitely didn't involve vanagon. Otherwise there might well still be artifacts out there in the spec file about that. |
Yeah. I think in this case, we don't want any puppet package to coexist with openvox packages for now, so I think we can probably leave it unversioned. |
I will try building this next week and make sure it works like we think. Also want to figure out how to do this with ezbake. |
Do you want me to bother changing the commit again, or do you want to hack on it for a while and figure out what the actual final state is going to be? |
…c file