diff --git a/ecryptfs-utils-openssl11.patch b/ecryptfs-utils-openssl11.patch index cf0b46b..bb490a4 100644 --- a/ecryptfs-utils-openssl11.patch +++ b/ecryptfs-utils-openssl11.patch @@ -1,6 +1,6 @@ === modified file 'src/key_mod/ecryptfs_key_mod_openssl.c' ---- src/key_mod/ecryptfs_key_mod_openssl.c 2013-10-25 19:45:09 +0000 -+++ src/key_mod/ecryptfs_key_mod_openssl.c 2017-06-02 18:27:28 +0000 +--- a/src/key_mod/ecryptfs_key_mod_openssl.c 2013-10-25 19:45:09 +0000 ++++ a/src/key_mod/ecryptfs_key_mod_openssl.c 2017-06-02 18:27:28 +0000 @@ -41,6 +41,7 @@ #include #include @@ -81,8 +81,8 @@ ENGINE_load_builtin_engines(); === modified file 'src/key_mod/ecryptfs_key_mod_pkcs11_helper.c' ---- src/key_mod/ecryptfs_key_mod_pkcs11_helper.c 2013-10-25 19:45:09 +0000 -+++ src/key_mod/ecryptfs_key_mod_pkcs11_helper.c 2017-06-02 18:27:28 +0000 +--- a/src/key_mod/ecryptfs_key_mod_pkcs11_helper.c 2013-10-25 19:45:09 +0000 ++++ a/src/key_mod/ecryptfs_key_mod_pkcs11_helper.c 2017-06-02 18:27:28 +0000 @@ -41,6 +41,7 @@ #include #include diff --git a/ecryptfs-utils.changes b/ecryptfs-utils.changes index 68f4f81..5b0eb3d 100644 --- a/ecryptfs-utils.changes +++ b/ecryptfs-utils.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 22 11:29:42 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN +- Rebase ecryptfs-utils-openssl11.patch: make it apply with patch + -p1 like all the others. + ------------------------------------------------------------------- Tue Dec 27 10:35:17 UTC 2022 - Ludwig Nussel diff --git a/ecryptfs-utils.spec b/ecryptfs-utils.spec index 3d8906a..885fd47 100644 --- a/ecryptfs-utils.spec +++ b/ecryptfs-utils.spec @@ -1,7 +1,7 @@ # # spec file for package ecryptfs-utils # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -81,11 +81,7 @@ Requires: %{lname} = %{version} A stacked cryptographic filesystem for Linux. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p0 -%patch3 -p1 +%autosetup -p1 %build export RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing"