Update to 20.1.0

Disable LTO
This commit is contained in:
Artem Polishchuk 2020-05-22 02:53:10 +03:00
parent 314e4b9b93
commit 855f54e6d2
3 changed files with 14 additions and 11 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/argon2_cffi-19.1.0.tar.gz
/argon2-cffi-19.2.0.tar.gz
/argon2-cffi-20.1.0.tar.gz

View File

@ -1,18 +1,14 @@
%global pypi_name argon2-cffi
# LTO
%global optflags %{optflags} -flto
%global build_ldflags %{build_ldflags} -flto
Name: python-%{pypi_name}
Version: 19.2.0
Release: 2%{?dist}
Version: 20.1.0
Release: 1%{?dist}
Summary: The secure Argon2 password hashing algorithm
License: MIT
URL: https://argon2-cffi.readthedocs.io/
Source0: %{pypi_source}
BuildRequires: gcc
BuildRequires: python3-devel >= 3.5
BuildRequires: python3dist(cffi)
@ -31,7 +27,7 @@ CFFI-based Argon2 Bindings for Python.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
Requires: python3dist(cffi) >= 1.0.0
Requires: python3dist(hypothesis)
Requires: python3dist(pytest)
@ -52,6 +48,7 @@ Documentation for argon2-cffi.
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
# using system libargon
rm -r extras/libargon2/LICENSE \
extras/libargon2/README.md \
@ -61,8 +58,9 @@ rm -r extras/libargon2/LICENSE \
%build
export ARGON2_CFFI_USE_SYSTEM=1
%py3_build
# generate html docs
# generate html docs
PYTHONPATH=${PWD} sphinx-build-3 docs html
# remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}
@ -77,7 +75,7 @@ export k='not test_argument_ranges'
%files -n python3-%{pypi_name}
%license LICENSE
%license LICENSE
%doc README.rst
%{python3_sitearch}/argon2/
%{python3_sitearch}/argon2_cffi-%{version}-py%{python3_version}.egg-info/
@ -88,6 +86,10 @@ export k='not test_argument_ranges'
%changelog
* Thu May 21 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 20.1.0-1
- Update to 20.1.0
- Disable LTO
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (argon2-cffi-19.2.0.tar.gz) = 05e2eea18bb2fc2ab0c7174081634d6c2a227f14f64a2686b369e1bf2c69721149282c2572f1e4044c3f3a3e93003db8aed174aa64d377a145d6a81cc1f52fd2
SHA512 (argon2-cffi-20.1.0.tar.gz) = d1d798e3e51ed67c4f523a66081fea99479ee986b5cfc36b250954e757b9846625681445447f9347519d9988f8a2ace2e3c8ce5817c5c6b4767819cf56ee0af2