debian-koji/www
Michal Privoznik 0ef3c75185 Simplify obtaining of PKGDIR
So far, in all Makefiles we have a complicated way to construct
PKGDIR path which is used to install python modules into.
Firstly, python version is obtained, and then system prefix and
these are then used to construct the PKGDIR path. Well, we can do
better. We can use 'site.getsitepackages()[0]' to obtain exactly
the path we are after.

This also fixes the problem on distributions which have split
/usr/lib and /usr/lib64 directories, because with the way we are
constructing the PKGDIR path we assume that the directories are
the same (or one is a symlink to another). Well, that is not
always the case.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2020-09-22 13:45:48 +02:00
..
conf stricter config file permissions 2020-09-07 09:37:11 +02:00
docs/negotiate rm old references to Mozilla 2019-03-22 13:05:00 -04:00
kojiweb web: wrong variable name 2020-09-22 09:54:28 +02:00
lib Simplify obtaining of PKGDIR 2020-09-22 13:45:48 +02:00
static www: repoinfo page 2020-05-25 10:39:34 +02:00
Makefile Move web content from /var/www to /usr/share 2007-02-20 09:51:08 -05:00