RFC: default python installlation directories
Elan Ruusamäe
glen at pld-linux.org
Fri Nov 27 10:28:21 CET 2015
On 25.11.2015 22:19, Jacek Konieczny wrote:
> If there are no objections, I may try a mass-update of python-* specs
> tomorrow.
afaik not all packages supported --build-base thing. i don't know why.
so i'm not objecting, just warning.
you can find such packages with something like this:
➔ grep -r 'set --' ~/all-specs
/home/users/glen/all-specs/python-httplib2.spec:set -- *
not all matches really need it, some of them are just bad copy paste:
python-pyquery.spec:
%prep
%setup -q -n %{module}-%{version}
# setup copy of source in py3 dir
set -- *
install -d py3
cp -a "$@" py3
%build
%if %{with python2}
%{__python} setup.py build --build-base build-2 %{?with_tests:test}
%endif
%if %{with python3}
%{__python3} setup.py build --build-base build-3 %{?with_tests:test}
%endif
--
glen
More information about the pld-devel-en
mailing list