summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-11-22 17:36:05 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-11-22 18:09:48 +0200
commit68230da9cea19ea989c94f4872289e9b5cb2d736 (patch)
tree0675aa87830399c2ae8bea7777eaeff7329dcf11 /scripts
parenteac0666a1f53ac1192f6962c94274c7c845fd236 (diff)
downloadlibrpm-tizen-68230da9cea19ea989c94f4872289e9b5cb2d736.tar.gz
librpm-tizen-68230da9cea19ea989c94f4872289e9b5cb2d736.tar.bz2
librpm-tizen-68230da9cea19ea989c94f4872289e9b5cb2d736.zip
Use %{_rpmconfigdir} throughout configuration macros and such
Diffstat (limited to 'scripts')
-rw-r--r--scripts/macros.perl.in6
-rw-r--r--scripts/macros.php.in6
-rw-r--r--scripts/macros.python.in2
3 files changed, 7 insertions, 7 deletions
diff --git a/scripts/macros.perl.in b/scripts/macros.perl.in
index 226878c66..037041170 100644
--- a/scripts/macros.perl.in
+++ b/scripts/macros.perl.in
@@ -1,9 +1,9 @@
# Perl specific macro definitions.
# To make use of these macros insert the following line into your spec file:
-# %include @RPMCONFIGDIR@/macros.perl
+# %include %{_rpmconfigdir}/macros.perl
-%define __find_requires @RPMCONFIGDIR@/find-perl-requires
-%define __find_provides @RPMCONFIGDIR@/find-perl-provides
+%define __find_requires %{_rpmconfigdir}/find-perl-requires
+%define __find_provides %{_rpmconfigdir}/find-perl-provides
%define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installsitelib)
%define perl_sitearch %(eval "`perl -V:installsitearch`"; echo $installsitearch)
diff --git a/scripts/macros.php.in b/scripts/macros.php.in
index c0da6db10..cf20728b0 100644
--- a/scripts/macros.php.in
+++ b/scripts/macros.php.in
@@ -1,9 +1,9 @@
# Perl specific macro definitions.
# To make use of these macros insert the following line into your spec file:
-# %include @RPMCONFIGDIR@/macros.php
+# %include %{_rpmconfigdir}/macros.php
-%define __find_requires @RPMCONFIGDIR@/find-php-requires
-%define __find_provides @RPMCONFIGDIR@/find-php-provides
+%define __find_requires %{_rpmconfigdir}/find-php-requires
+%define __find_provides %{_rpmconfigdir}/find-php-provides
%define php_pear_dir %{_datadir}/pear
diff --git a/scripts/macros.python.in b/scripts/macros.python.in
index 0a63605f7..c7832a67a 100644
--- a/scripts/macros.python.in
+++ b/scripts/macros.python.in
@@ -1,6 +1,6 @@
# Python specific macro definitions.
# To make use of these macros insert the following line into your spec file:
-# %include @RPMCONFIGDIR@/macros.python
+# %include %{_rpmconfigdir}/macros.python
# python main version
%define py_ver %(echo `python -c "import sys; print sys.version[:3]"`)