[packages/python-persistent] Rel 2. Added header files from includedir to packages.

Elan Ruusamäe glen at pld-linux.org
Tue Nov 14 23:49:41 CET 2017


On 13.11.2017 23:06, matkor wrote:
> +%dir %{_includedir}/python3.6m/persistent/
> +%{_includedir}/python3.6m/persistent/cPersistence.h
> +%{_includedir}/python3.6m/persistent/ring.h

you have hardcoded paths here!

python.spec has:

%define py_incdir   %{_includedir}/python%{py_ver}

that macro even expands outside the spec:


➔ rpm -E %py_incdir
/usr/include/python2.7



-- 
glen



More information about the pld-devel-en mailing list