From c8f23c87f02fec5e4938c983a394f1dbdd1cdd50 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Apr 17 2020 19:11:05 +0000 Subject: Initial import --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6d45143 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/siphash-0.0.1.tar.gz diff --git a/python-siphash.spec b/python-siphash.spec new file mode 100644 index 0000000..90be21c --- /dev/null +++ b/python-siphash.spec @@ -0,0 +1,54 @@ +%global pypi_name siphash + +Name: python-%{pypi_name} +Version: 0.0.1 +Release: 1%{?dist} +Summary: SipHash in Python + +License: MIT +URL: http://github.com/majek/pysiphash +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%description +A Python implementation of SipHash-2-4, a fast short-input PRF with a 128-bit +key and 64-bit output. + + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +A Python implementation of SipHash-2-4, a fast short-input PRF with a 128-bit +key and 64-bit output. + + +%prep +%autosetup -n %{pypi_name}-%{version} + +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + + +%build +%py3_build + + +%install +%py3_install + + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md Changelog +%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/%{pypi_name}-%{version}-py*.egg-info + + +%changelog +* Sat Apr 04 2020 Artem Polishchuk - 0.0.1-1 +- Initial package \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..ad23478 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (siphash-0.0.1.tar.gz) = 74ec5f92b48ff98e58263205ba93acdf5a0d037ab96ff6b4b34f40dd1d6c09b4a263e9a387ffd8077f6666e2fa0c233274ab58fa77668223f49f6c4897dcbaaa