Hi! On 2/28/19 2:20 PM, aplanas@suse.de wrote:
You create the directory in the section %prep, but later is removed by the system:
/usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-azure- nspkg-3.0.2-7.1.x86_64
I tried creating the directory in different sections of the spec file and if I remember correctly, marking the directory with %dir in the %files section would prevent removal.
I do not have experiences with namespaces packages in python, but I wonder why you create the directory manually and is not created by setuptools?
I was expecting that, too. But setuptools doesn't do that. According to the description from the PIP package [1], the python3 version of the package is empty [1].
I for some reason you need to create this directory, try in the %install section.
I did move the mkdir around in various places of the spec file, but I couldn't get it to work. Adrian -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org