Created attachment 798760 [details] Add postgresql(:MODULE_COMPAT_*) provides to postgresql-server All packages providing some plugins for PostgreSQL server should be rebuilt (at least) every time major version bump of postgresql is done. For that reason it would be useful to have some mechanism which will guard against incompatible plugin installation. Possible solution is in attachment (inspired by perl MODULE_COMPAT_ feature). Please comment if you see this is really bad idea.
I would say you should make this depend on %majorversion and avoid the problem of having to monkey with the Provides: for every new minor version. The PG project strenously avoids breaking plugins in minor-version updates, so it doesn't make sense to me to create more work for the package maintainer (and risk of bugs of omission) on the off chance that someday upstream will break that.
Created attachment 799955 [details] Add postgresql-server(:MODULE_COMPAT_X.X) to provides > I would say you should make this depend on %majorversion and avoid the > problem of having to monkey with the Provides: for every new minor version. > The PG project strenously avoids breaking plugins in minor-version updates, > so it doesn't make sense to me to create more work for the package > maintainer (and risk of bugs of omission) on the off chance that someday > upstream will break that. Good points. Thanks for looking at it, it is very appreciated. If there was some breakage in future, it would be still solvable. Tom, would you have a minute for looking once again at updated patch? Pavel
Comment on attachment 799955 [details] Add postgresql-server(:MODULE_COMPAT_X.X) to provides This report is here for quite a long time - I'll push that patch during next week (if there are no objections). Note that 9.4 is coming and we will need mass rebuild of all plugins; which is good chance to ask maintainers to add the "artificial" requirement. Pavel
http://pkgs.fedoraproject.org/cgit/postgresql.git/commit/?id=4f1d2a08337f3 Fixed & built in f21+