Hi, I'm currently trying to package a python-lib which includes some c-code and face some issues for running the automatic tests. For normal packages, the test can be run quite simply. E.g. tests are in tests/, you add .. to the python path and then run nose or unittests. An ugly too, but it works. For compiled files I can't do this trick, because I need to get the compiled resources in site-packages. In chroot I can run this: PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python3-pyasn-1.5.0b7-0.x86_64/usr/lib64/python3.5/site-packages/ python3 -c "import pyasn.pyasn_radix" But I can't use this in the spec-file. I only get /home/abuild/rpmbuild/BUILDROOT/python3-pyasn-1.5.0b7-0.x86_64/ as %{buildroot}, but %{python_sitearch} seems to be empty. Do you have any hints how to accomplish this? The package in question: https://build.opensuse.org/package/show/home:sebix/python3-pyasn -- python programming - mail server - photo - video - https://sebix.at cryptographic key at https://sebix.at/DC9B463B.asc and on public keyservers