diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 9534e14e7c0034bb792f6263f6cbda2986acc6fa..0000000000000000000000000000000000000000 --- a/LICENSE +++ /dev/null @@ -1,17 +0,0 @@ -ISC License - -Copyright (c) 2012-2017 Kenneth Reitz -Copyright (c) 2017 the python-requests-gssapi contributors -Copyright (c) 2017 Red Hat, Inc. - -Permission to use, copy, modify and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS-IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/python-requests-gssapi.spec b/python-requests-gssapi.spec index 0045d74cb7c3f8419e61cd6647aa368a5e666f83..cc5a59a26a9723b0a492508d3519c5c137356f92 100644 --- a/python-requests-gssapi.spec +++ b/python-requests-gssapi.spec @@ -2,22 +2,22 @@ %global s_name requests_gssapi Name: python-%{sname} -Version: 1.2.3 +Version: 1.3.0 Release: 1 Summary: A GSSAPI/SPNEGO authentication handler for python-requests License: ISC URL: https://github.com/pythongssapi/%{sname} -Source0: https://github.com/pythongssapi/%{sname}/releases/download/v%{version}/%{sname}-%{version}.tar.gz +Source0: https://github.com/pythongssapi/%{sname}/archive/v%{version}/%{sname}-%{version}.tar.gz BuildArch: noarch -# Patches - BuildRequires: python3-devel BuildRequires: python3-gssapi BuildRequires: python3-mock BuildRequires: python3-requests BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel %global _description\ Requests is an HTTP library, written in Python, for human beings. This\ @@ -38,11 +38,10 @@ Requires: python3-requests %autosetup -n %{sname}-%{version} -p1 %build - -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install %check %{__python3} -m unittest @@ -52,8 +51,17 @@ Requires: python3-requests %license LICENSE %{python3_sitelib}/%{s_name}* - %changelog +* Wed Aug 14 2024 yaoxin - 1.3.0-1 +- Update to 1.3.0: + * Warn rather than raise on opportunistic auth failure + * Explicit Principal code sample is wrong + * Migrate to GHA stale action + * Mention non-existing expect continue support in py-requests requires preemptive auth in many cases + * Drop out of sequence detection + * Use SPNEGO mechanism by default + * Set SanitizedResponse content to bytes instead of string + * Wed Jul 06 2022 yaoxin - 1.2.3-1 - Resolve the installation dependency of python-copr. diff --git a/python-requests-gssapi.yaml b/python-requests-gssapi.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ff80713d9b1223c49849b9bb9b86034ec39a1065 --- /dev/null +++ b/python-requests-gssapi.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: pythongssapi/requests-gssapi +tag_pattern: "^v" +seperator: "." diff --git a/requests-gssapi-1.2.3.tar.gz b/requests-gssapi-1.2.3.tar.gz deleted file mode 100644 index 4fe357f216721d9a4783f3e9c1619625ff30adb6..0000000000000000000000000000000000000000 Binary files a/requests-gssapi-1.2.3.tar.gz and /dev/null differ diff --git a/requests-gssapi-1.3.0.tar.gz b/requests-gssapi-1.3.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2a106e5e4f7a8cd507125d853c6b3f755ea406e1 Binary files /dev/null and b/requests-gssapi-1.3.0.tar.gz differ