X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=cassandra-bin.spec;h=7606862c9cc3079e9d8938b4ec286881908e2d93;hb=271a98d015bc701bb316e482e85b6c839848a71c;hp=db8ac48cd9d6eeab4086eb473dc7310e57921b8b;hpb=fdc8d9a4471903e15969615c3c81d8b041fe7681;p=packages%2Fcassandra-bin.git diff --git a/cassandra-bin.spec b/cassandra-bin.spec index db8ac48..7606862 100644 --- a/cassandra-bin.spec +++ b/cassandra-bin.spec @@ -10,12 +10,12 @@ 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 @@ -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