From 855f54e6d200a0c16bf30f218c0bc1c74b3dacc3 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Fri, 22 May 2020 02:53:10 +0300 Subject: [PATCH] Update to 20.1.0 Disable LTO --- .gitignore | 1 + python-argon2-cffi.spec | 22 ++++++++++++---------- sources | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 5858357..fb58724 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/python-argon2-cffi.spec b/python-argon2-cffi.spec index ef0e0e0..867e0d5 100644 --- a/python-argon2-cffi.spec +++ b/python-argon2-cffi.spec @@ -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 - 20.1.0-1 +- Update to 20.1.0 +- Disable LTO + * Thu Jan 30 2020 Fedora Release Engineering - 19.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index e38a87d..26d533d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (argon2-cffi-19.2.0.tar.gz) = 05e2eea18bb2fc2ab0c7174081634d6c2a227f14f64a2686b369e1bf2c69721149282c2572f1e4044c3f3a3e93003db8aed174aa64d377a145d6a81cc1f52fd2 +SHA512 (argon2-cffi-20.1.0.tar.gz) = d1d798e3e51ed67c4f523a66081fea99479ee986b5cfc36b250954e757b9846625681445447f9347519d9988f8a2ace2e3c8ce5817c5c6b4767819cf56ee0af2