From: Jacek Konieczny Date: Sat, 28 Nov 2015 18:20:07 +0000 (+0100) Subject: automatic change: use py_build/py_install macros X-Git-Tag: auto/th/cassandra-bin-2.1.12-1~1^2~1 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fcassandra-bin.git;a=commitdiff_plain;h=271a98d015bc701bb316e482e85b6c839848a71c automatic change: use py_build/py_install macros --- diff --git a/cassandra-bin.spec b/cassandra-bin.spec index a2ef90a..7606862 100644 --- a/cassandra-bin.spec +++ b/cassandra-bin.spec @@ -54,7 +54,7 @@ oparty na ColumnFamily, bogatszy niż typowe systemy klucza i wartości. %build # current version of cqlsh supports only python 2. cd pylib -%{__python} setup.py build --build-base build-2 %{?with_tests:test} +%py_build %{?with_tests:test} cd .. %install @@ -77,11 +77,7 @@ cp -p conf/{*.properties,cassandra-env.sh,cassandra.yaml,README.txt} $RPM_BUILD_ cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{shname}.conf cd pylib -%{__python} setup.py \ - build --build-base build-2 \ - install --skip-build \ - --optimize=2 \ - --root=$RPM_BUILD_ROOT +%py_install cd .. %clean