diff --git a/_service b/_service index 2661b78..86f45a1 100644 --- a/_service +++ b/_service @@ -1,16 +1,12 @@ - + https://github.com/pyca/bcrypt/ @PARENT_TAG@~@TAG_OFFSET@ git - 4.0.1 + 4.1.3 - + bcrypt/src/_bcrypt gz - true - - - bcrypt/src/_bcrypt diff --git a/bcrypt-4.0.1.tar.gz b/bcrypt-4.0.1.tar.gz deleted file mode 100644 index 5ff4144..0000000 --- a/bcrypt-4.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd -size 25498 diff --git a/bcrypt-4.1.3.tar.gz b/bcrypt-4.1.3.tar.gz new file mode 100644 index 0000000..370a71e --- /dev/null +++ b/bcrypt-4.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ee15dd749f5952fe3f0430d0ff6b74082e159c50332a1413d51b5689cf06623 +size 26456 diff --git a/cargo_config b/cargo_config deleted file mode 100644 index 6fb4ff4..0000000 --- a/cargo_config +++ /dev/null @@ -1,5 +0,0 @@ -[source.crates-io] -replace-with = "vendored-sources" - -[source.vendored-sources] -directory = "vendor" \ No newline at end of file diff --git a/python-bcrypt.changes b/python-bcrypt.changes index 8c3c388..80d7510 100644 --- a/python-bcrypt.changes +++ b/python-bcrypt.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue May 7 16:22:09 UTC 2024 - Dirk Müller + +- update to 4.1.3: + * Bump Rust dependency versions + * Fixed the type signature on the ``kdf`` method. + * Fixed packaging bug on Windows. + * Fixed incompatibility with passlib package detection assumptions. + * Dropped support for Python 3.6. + * Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting the + ``BCRYPT_ALLOW_RUST_163`` environment variable) + ------------------------------------------------------------------- Fri Apr 21 12:22:33 UTC 2023 - Dirk Müller diff --git a/python-bcrypt.spec b/python-bcrypt.spec index 1730638..e6c6436 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -1,7 +1,7 @@ # # spec file for package python-bcrypt # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2016, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -17,9 +17,10 @@ # +%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' %{?sle15_python_module_pythons} Name: python-bcrypt -Version: 4.0.1 +Version: 4.1.3 Release: 0 Summary: BSD type 2a and 2b password hashing License: Apache-2.0 @@ -27,7 +28,6 @@ Group: Development/Languages/Python URL: https://github.com/pyca/bcrypt/ Source0: https://files.pythonhosted.org/packages/source/b/bcrypt/bcrypt-%{version}.tar.gz Source1: vendor.tar.gz -Source2: cargo_config BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest >= 3.2.1} BuildRequires: %{python_module setuptools-rust} @@ -49,11 +49,10 @@ using the BSD-originating hashing methods known as "2a" and "2b". %prep %autosetup -p1 -a1 -n bcrypt-%{version} -mkdir .cargo -cp %{SOURCE2} .cargo/config -mv Cargo.lock src/_bcrypt +rm -v src/_bcrypt/Cargo.lock %build +export RUSTFLAGS=%{rustflags} export CFLAGS="%{optflags} -fno-strict-aliasing" %pyproject_wheel diff --git a/vendor.tar.gz b/vendor.tar.gz index 1c6ee85..71eed57 100644 --- a/vendor.tar.gz +++ b/vendor.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3730a7bcb9ed69ab494c1caddacd54e85b0d9576988e393eb4abcc187f8f7315 -size 9367315 +oid sha256:c5ac446438216f833f22a335e503f4b0c1e5e9ff557a4fc042f3d158cdb72783 +size 8570562