diff --git a/postgresql.spec b/postgresql.spec index a88e371..cb95153 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -441,8 +441,8 @@ export PYTHON=/usr/bin/python3 %if %selinux --with-selinux \ %endif - --with-system-tzdata=/usr/share/zoneinfo \ - --datadir=/usr/share/pgsql + --with-system-tzdata=%{_datadir}/zoneinfo \ + --datadir=%{_datadir}/pgsql # Fortunately we don't need to build much except plpython itself cd src/backend @@ -1111,6 +1111,7 @@ fi %changelog * Thu Jun 20 2013 Pavel Raiskup - 9.3.4-3 - fix README.rpm-dist for the bug (#969050) +- replace hard-wired path with %%{_datadir} * Thu Jun 13 2013 Pavel Raiskup - 9.2.4-3 - add atomic operations support for aarch64 to preupgrade version also (#970661)