From 56b84f212be7d9837f63a76fd6c6e8506e5e5ab5021331504c0c38ab2f689c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Mon, 17 Feb 2025 18:42:07 +0100 Subject: [PATCH 1/4] The real license is BSD 2-Clause, not MIT. --- python-M2Crypto.changes | 5 +++++ python-M2Crypto.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-M2Crypto.changes b/python-M2Crypto.changes index a14f672..1acd175 100644 --- a/python-M2Crypto.changes +++ b/python-M2Crypto.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 12 11:01:06 UTC 2025 - Matej Cepl + +- The real license is BSD 2-Clause, not MIT. + ------------------------------------------------------------------- Wed Oct 30 18:42:41 UTC 2024 - Matej Cepl diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec index 86f6fdd..6721f5e 100644 --- a/python-M2Crypto.spec +++ b/python-M2Crypto.spec @@ -22,7 +22,7 @@ Name: python-M2Crypto Version: 0.43.0 Release: 0 Summary: Crypto and SSL toolkit for Python -License: MIT +License: BSD 2-Clause Group: Development/Languages/Python URL: https://sr.ht/~mcepl/m2crypto/ Source0: https://files.pythonhosted.org/packages/source/M/M2crypto/m2crypto-%{version}.tar.gz -- 2.45.2 From 80528487c6a34e654e4ebf0fd663af07b21d087bbc3cd5d3713bb3ca647fc842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Mon, 17 Feb 2025 18:43:11 +0100 Subject: [PATCH 2/4] Update to 0.44.0: - fix(rsa): introduce internal cache for rsa.check_key() - fix[authcookie]: modernize the module - fix(_lib): add missing #include for windows - ci: relax fedora crypto policy to legacy. - enhance setup.py for macos compatibility - prefer packaging.version over distutils.version - fix segfault with openssl 3.4.0 - fix[ec]: raise ioerror instead when load_key_bio() cannot read the file. - doc: update installation instructions for windows. - fix setting x509.verify_* variables - fix building against openssl in non-standard location - test_x509: use only x509_version_1 (0) as version for csr. --- m2crypto-0.43.0.tar.gz | 3 --- m2crypto-0.44.0.tar.gz | 3 +++ python-M2Crypto.changes | 19 +++++++++++++++++++ python-M2Crypto.spec | 2 +- 4 files changed, 23 insertions(+), 4 deletions(-) delete mode 100644 m2crypto-0.43.0.tar.gz create mode 100644 m2crypto-0.44.0.tar.gz diff --git a/m2crypto-0.43.0.tar.gz b/m2crypto-0.43.0.tar.gz deleted file mode 100644 index 1ca49e0..0000000 --- a/m2crypto-0.43.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c2c1c7bb0e8aa768f7ca803da7dbc2666d4003b26bd7adf70233afc59d8cf33 -size 366785 diff --git a/m2crypto-0.44.0.tar.gz b/m2crypto-0.44.0.tar.gz new file mode 100644 index 0000000..a7170a7 --- /dev/null +++ b/m2crypto-0.44.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:384bb4cbd178ee0e74015311b7b1f9f2c377e3686e03fa070b3ec2f494671c0f +size 363805 diff --git a/python-M2Crypto.changes b/python-M2Crypto.changes index 1acd175..fd8616e 100644 --- a/python-M2Crypto.changes +++ b/python-M2Crypto.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Feb 17 17:42:35 UTC 2025 - Matej Cepl + +- Update to 0.44.0: + - fix(rsa): introduce internal cache for rsa.check_key() + (bsc#1236664, srht#mcepl/m2crypto#369) + - fix[authcookie]: modernize the module + - fix(_lib): add missing #include for windows + - ci: relax fedora crypto policy to legacy. + - enhance setup.py for macos compatibility + - prefer packaging.version over distutils.version + - fix segfault with openssl 3.4.0 + - fix[ec]: raise ioerror instead when load_key_bio() cannot read + the file. + - doc: update installation instructions for windows. + - fix setting x509.verify_* variables + - fix building against openssl in non-standard location + - test_x509: use only x509_version_1 (0) as version for csr. + ------------------------------------------------------------------- Wed Feb 12 11:01:06 UTC 2025 - Matej Cepl diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec index 6721f5e..d4868ea 100644 --- a/python-M2Crypto.spec +++ b/python-M2Crypto.spec @@ -19,7 +19,7 @@ %define oldpython python %{?sle15_python_module_pythons} Name: python-M2Crypto -Version: 0.43.0 +Version: 0.44.0 Release: 0 Summary: Crypto and SSL toolkit for Python License: BSD 2-Clause -- 2.45.2 From de8b891696f3ab04e7305191e3cbee6cbab36ec4117f08f0fd66f7b8a9a5cb4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Tue, 18 Feb 2025 08:24:56 +0100 Subject: [PATCH 3/4] Fix spelling of BSD-2-Clause license. --- python-M2Crypto.changes | 5 +++++ python-M2Crypto.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-M2Crypto.changes b/python-M2Crypto.changes index fd8616e..a1a5067 100644 --- a/python-M2Crypto.changes +++ b/python-M2Crypto.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 07:24:17 UTC 2025 - Matej Cepl + +- Fix spelling of BSD-2-Clause license. + ------------------------------------------------------------------- Mon Feb 17 17:42:35 UTC 2025 - Matej Cepl diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec index d4868ea..350647f 100644 --- a/python-M2Crypto.spec +++ b/python-M2Crypto.spec @@ -1,7 +1,7 @@ # # spec file for package python-M2Crypto # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: python-M2Crypto Version: 0.44.0 Release: 0 Summary: Crypto and SSL toolkit for Python -License: BSD 2-Clause +License: BSD-2-Clause Group: Development/Languages/Python URL: https://sr.ht/~mcepl/m2crypto/ Source0: https://files.pythonhosted.org/packages/source/M/M2crypto/m2crypto-%{version}.tar.gz -- 2.45.2 From 1e9ea663b887e692ed320c46c3c2adfc1085ed1a969b42cc66ae7079da625fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Tue, 18 Feb 2025 09:00:54 +0100 Subject: [PATCH 4/4] =?UTF-8?q?Add=20rpmlintrc=20=E2=80=A6=20overflow=20of?= =?UTF-8?q?=20ignorable=20rpmlint=20warnings=20caused=20=20=20me=20not=20t?= =?UTF-8?q?o=20see=20the=20previous=20problem.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python-M2Crypto.changes | 2 ++ python-M2Crypto.rpmlintrc | 1 + python-M2Crypto.spec | 1 + 3 files changed, 4 insertions(+) create mode 100644 python-M2Crypto.rpmlintrc diff --git a/python-M2Crypto.changes b/python-M2Crypto.changes index a1a5067..a80f814 100644 --- a/python-M2Crypto.changes +++ b/python-M2Crypto.changes @@ -2,6 +2,8 @@ Tue Feb 18 07:24:17 UTC 2025 - Matej Cepl - Fix spelling of BSD-2-Clause license. +- Add rpmlintrc … overflow of ignorable rpmlint warnings caused + me not to see the previous problem. ------------------------------------------------------------------- Mon Feb 17 17:42:35 UTC 2025 - Matej Cepl diff --git a/python-M2Crypto.rpmlintrc b/python-M2Crypto.rpmlintrc new file mode 100644 index 0000000..f1b3d5d --- /dev/null +++ b/python-M2Crypto.rpmlintrc @@ -0,0 +1 @@ +addFilter("python-bytecode-inconsistent-mtime") diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec index 350647f..2099d61 100644 --- a/python-M2Crypto.spec +++ b/python-M2Crypto.spec @@ -26,6 +26,7 @@ License: BSD-2-Clause Group: Development/Languages/Python URL: https://sr.ht/~mcepl/m2crypto/ Source0: https://files.pythonhosted.org/packages/source/M/M2crypto/m2crypto-%{version}.tar.gz +Source99: python-M2Crypto.rpmlintrc BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -- 2.45.2