From 271a98d015bc701bb316e482e85b6c839848a71c Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 28 Nov 2015 19:20:07 +0100 Subject: [PATCH] automatic change: use py_build/py_install macros --- cassandra-bin.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 -- 2.43.0