From a57d617cefb2fd386aff727294ce946cdf70d571 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 20 Jun 2013 09:46:48 +0200 Subject: [PATCH] spec: replace hard-coded path with macro Version: 9.2.4-3 --- postgresql.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)