Summary: Cassandra database binary package
Summary(pl.UTF-8): Binarna redystrybucja bazy danych Cassandra
Name: cassandra-bin
-Version: 2.0.16
+Version: 2.0.17
Release: 1
License: ASF
Group: Applications/Databases
Source0: ftp://ftp.task.gda.pl/pub/www/apache/dist/cassandra/%{version}/apache-cassandra-%{version}-bin.tar.gz
-# Source0-md5: 17f4dac611c1eae631a27b1105164920
+# Source0-md5: 5c3a1dd76f5261900e3f165f3e964815
Source1: cassandra.in.sh
Source2: %{shname}.init
Source3: %{name}.tmpfiles
%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
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