summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/macros.perl12
-rw-r--r--scripts/macros.php9
-rw-r--r--scripts/macros.python18
3 files changed, 0 insertions, 39 deletions
diff --git a/scripts/macros.perl b/scripts/macros.perl
deleted file mode 100644
index b147fbc87..000000000
--- a/scripts/macros.perl
+++ /dev/null
@@ -1,12 +0,0 @@
-# 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)
-
diff --git a/scripts/macros.php b/scripts/macros.php
deleted file mode 100644
index 9781775a9..000000000
--- a/scripts/macros.php
+++ /dev/null
@@ -1,9 +0,0 @@
-# Perl specific macro definitions.
-# To make use of these macros insert the following line into your spec file:
-# %include /usr/lib/rpm/macros.php
-
-%define __find_requires /usr/lib/rpm/find-php-requires
-%define __find_provides /usr/lib/rpm/find-php-provides
-
-%define php_pear_dir %{_datadir}/pear
-
diff --git a/scripts/macros.python b/scripts/macros.python
deleted file mode 100644
index 8975fef4b..000000000
--- a/scripts/macros.python
+++ /dev/null
@@ -1,18 +0,0 @@
-# Python specific macro definitions.
-# To make use of these macros insert the following line into your spec file:
-# %include /usr/lib/rpm/macros.python
-
-# python main version
-%define py_ver %(echo `python -c "import sys; print sys.version[:3]"`)
-
-# directories
-%define py_prefix %(echo `python -c "import sys; print sys.prefix"`)
-%define py_libdir %{py_prefix}/lib/python%{py_ver}
-%define py_incdir /usr/include/python%{py_ver}
-%define py_sitedir %{py_libdir}/site-packages
-%define py_dyndir %{py_libdir}/lib-dynload
-
-# pure python modules compilation
-%define py_comp python -c "import compileall; import sys; compileall.compile_dir(sys.argv[1], ddir=sys.argv[1][len('$RPM_BUILD_ROOT'):])"
-
-%define py_ocomp python -O -c "import compileall; import sys; compileall.compile_dir(sys.argv[1], ddir=sys.argv[1][len('$RPM_BUILD_ROOT'):])"