summaryrefslogtreecommitdiff
path: root/scripts/macros.perl
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-03-06 22:50:04 +0000
committerjbj <devnull@localhost>2003-03-06 22:50:04 +0000
commit51e7f7a5e9f5e5c762e049a97309e32928dd5bcc (patch)
tree37e4d7c11c27ddc328d97ba8aba526b184692ee8 /scripts/macros.perl
parent29cffe52fca8d5480c333c557996d2bc0196a801 (diff)
downloadlibrpm-tizen-51e7f7a5e9f5e5c762e049a97309e32928dd5bcc.tar.gz
librpm-tizen-51e7f7a5e9f5e5c762e049a97309e32928dd5bcc.tar.bz2
librpm-tizen-51e7f7a5e9f5e5c762e049a97309e32928dd5bcc.zip
- fix: memory leak (85522).
CVS patchset: 6656 CVS date: 2003/03/06 22:50:04
Diffstat (limited to 'scripts/macros.perl')
-rw-r--r--scripts/macros.perl12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/macros.perl b/scripts/macros.perl
new file mode 100644
index 000000000..b147fbc87
--- /dev/null
+++ b/scripts/macros.perl
@@ -0,0 +1,12 @@
+# Perl specific macro definitions.
+# To make use of these macros insert the following line into your spec file:
+# %include /usr/lib/rpm/macros.perl
+
+%define __find_requires /usr/lib/rpm/find-perl-requires
+%define __find_provides /usr/lib/rpm/find-perl-provides
+
+%define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installsitelib)
+%define perl_sitearch %(eval "`perl -V:installsitearch`"; echo $installsitearch)
+%define perl_archlib %(eval "`perl -V:installarchlib`"; echo $installarchlib)
+%define perl_privlib %(eval "`perl -V:installprivlib`"; echo $installprivlib)
+