https://bugzilla.redhat.com/show_bug.cgi?id=1281532
--- Comment #3 from Pavel Raiskup praiskup@redhat.com --- Thanks for working on this!
We plan to build
- '%global pginstdir %{_libdir}/pgsql' -- this does not seem to be used
- Requires: postgresql-server(:MODULE_COMPAT_%{postgresql_major}) This won't work unless you install postgresql-devel: $ rpm -qpR ./results/pagila-0.10.1-1.fc24.noarch.rpm postgresql-server(:MODULE_COMPAT_%{postgresql_major}) But should be (only when really needed): $ rpm -qpR ./results/pagila-0.10.1-1.fc24.noarch.rpm postgresql-server(:MODULE_COMPAT_9.4) Please, remove. We don't need postgresql-server to install this package, neither postgresql.
- general EPEL5 leftovers we do not need %buildroot/Buildroot usage (rm -rf)
- %defattr is not needed even on EPEL5, the %attr is also neither needed
- would it be possible to try the sql scripts in %check phase? Start local postgresql server and load those into the new database? (optional)
------- I'll check '$ fedora-review -b 1281532 -m fedora-rawhide-x86_64 -d EPEL6' and post the results once this is fixed.