Группа :: Development/Python3
Пакет: python3-module-clickhouse-cityhash
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname clickhouse-cityhash
Name: python3-module-%oname
Version: 1.0.2.3
Release: alt1
License: %mit
Group: Development/Python3
Summary: Python bindings for CityHash
Url: https://github.com/xzkostyan/python-cityhash
Source: %name-%version.tar
BuildRequires(pre): rpm-build-licenses
BuildRequires(pre): rpm-build-python3
BuildRequires: gcc-c++
%description
A fork of Python wrapper around CityHash with downgraded version of algorithm.
This fork used as 3-rd party library for hashing data in ClickHouse protocol.
Unfortunately ClickHouse server comes with built-in old version of this algorithm.
%package tests
Group: Development/Python3
Summary: Python bindings for CityHash
%add_python3_req_skip cityhash
Requires: python3-module-%oname = %EVR
%description tests
A fork of Python wrapper around CityHash with downgraded version of algorithm.
This fork used as 3-rd party library for hashing data in ClickHouse protocol.
Unfortunately ClickHouse server comes with built-in old version of this algorithm.
Package contains tests for %name.
%prep
%setup
%build
%python3_build
%install
%python3_install
install -d %buildroot%python3_sitelibdir/clickhouse_cityhash/tests
cp -fR tests/ %buildroot%python3_sitelibdir/clickhouse_cityhash/
%files
%doc LICENSE README.*
%python3_sitelibdir/*
%exclude %python3_sitelibdir/clickhouse_cityhash/tests/
%files tests
%python3_sitelibdir/clickhouse_cityhash/tests/
%changelog
…
Полный changelog можно просмотреть здесь
%define oname clickhouse-cityhash
Name: python3-module-%oname
Version: 1.0.2.3
Release: alt1
License: %mit
Group: Development/Python3
Summary: Python bindings for CityHash
Url: https://github.com/xzkostyan/python-cityhash
Source: %name-%version.tar
BuildRequires(pre): rpm-build-licenses
BuildRequires(pre): rpm-build-python3
BuildRequires: gcc-c++
%description
A fork of Python wrapper around CityHash with downgraded version of algorithm.
This fork used as 3-rd party library for hashing data in ClickHouse protocol.
Unfortunately ClickHouse server comes with built-in old version of this algorithm.
%package tests
Group: Development/Python3
Summary: Python bindings for CityHash
%add_python3_req_skip cityhash
Requires: python3-module-%oname = %EVR
%description tests
A fork of Python wrapper around CityHash with downgraded version of algorithm.
This fork used as 3-rd party library for hashing data in ClickHouse protocol.
Unfortunately ClickHouse server comes with built-in old version of this algorithm.
Package contains tests for %name.
%prep
%setup
%build
%python3_build
%install
%python3_install
install -d %buildroot%python3_sitelibdir/clickhouse_cityhash/tests
cp -fR tests/ %buildroot%python3_sitelibdir/clickhouse_cityhash/
%files
%doc LICENSE README.*
%python3_sitelibdir/*
%exclude %python3_sitelibdir/clickhouse_cityhash/tests/
%files tests
%python3_sitelibdir/clickhouse_cityhash/tests/
%changelog
…
Полный changelog можно просмотреть здесь