4f1d2a0 devel: guard against incompabtible plugin installation

Authored and Committed by praiskup 9 years ago
    devel: guard against incompabtible plugin installation
    
    Each package having some *.so plugin for postgresql-server should
    be rebuilt against each major version bump of PostgreSQL.  Using
    this statements in F21+
    
      BuildRequires: postgresql-devel
      Require: postgresql-server(:MODULE_COMPAT_%{postgresql_major})
    
    then automatically blocks installation of postgresql-server and
    incompatible plugin at the same time and thus indirectly forces
    plugin maintainers to rebuild their packages against newer server.
    
    File macros.postgresql now starts providing correct
    %{postgresql_major} macro.
    
    Resolves: #1008939
    Version: 9.3.4-8
    
        
file modified
+17 -1