diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 2ccbe68..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Sergey Petrov - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/apns2-0.7.1.tar.gz b/apns2-0.7.1.tar.gz deleted file mode 100644 index 912ca93..0000000 --- a/apns2-0.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8c24207aa96dff4687f8d7c9149fc42086f3506b0a76da1f5bf48d74e5569567 -size 11052 diff --git a/apns2-0.7.2.tar.gz b/apns2-0.7.2.tar.gz new file mode 100644 index 0000000..445c9c2 --- /dev/null +++ b/apns2-0.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f2dae8c608961d1768f734acb1d0809a60ac71a0cdcca60f46529b73f20fb34 +size 12644 diff --git a/eckey.pem b/eckey.pem deleted file mode 100644 index 5cd5524..0000000 --- a/eckey.pem +++ /dev/null @@ -1,8 +0,0 @@ ------BEGIN EC PARAMETERS----- -BggqhkjOPQMBBw== ------END EC PARAMETERS----- ------BEGIN EC PRIVATE KEY----- -MHcCAQEEIM0scFXkVBBc7d8DSL9rfFB1PvET/dWQa9eWfxpgaqaBoAoGCCqGSM49 -AwEHoUQDQgAEnVxQ41VKMN6uSsSYCCdOUhCms+HT2VpUhFGML5SzYGoodKtRD/6J -YI9Rxq1lPGHMwECSaPtPf9kVDCUM6UHvhA== ------END EC PRIVATE KEY----- diff --git a/python-apns2.changes b/python-apns2.changes index 1c7c1d2..fb986db 100644 --- a/python-apns2.changes +++ b/python-apns2.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Feb 26 14:26:56 UTC 2021 - Matej Cepl + +- Update to 0.7.2: + - Updated sandbox URL (#93) + - Do not ignore custom JWT lifetime when using TokenCredentials + (#108) + - Fix determination of push type for empty notifications with + badge 0 (#109) + - LICENSE and test/eckey.pem included in source tarball (#110 + #111) + - Changing DEFAULT_TOKEN_LIFETIME from 3600 to 2700 (#113) + - Added upper constraint for PyJWT (<2.0.0) +- Removed additional sources as they were included in the + upstream tarball. + ------------------------------------------------------------------- Tue Jun 30 09:26:41 UTC 2020 - Matej Cepl diff --git a/python-apns2.spec b/python-apns2.spec index 4ed4a14..44c4ce4 100644 --- a/python-apns2.spec +++ b/python-apns2.spec @@ -1,7 +1,7 @@ # # spec file for package python-apns2 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,19 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-apns2 -Version: 0.7.1 +Version: 0.7.2 Release: 0 Summary: Python library for the HTTP/2 Apple Push Notification Service License: MIT Group: Development/Languages/Python URL: https://github.com/Pr0Ger/PyAPNs2 Source0: https://files.pythonhosted.org/packages/source/a/apns2/apns2-%{version}.tar.gz -# LICENSE gh#Pr0Ger/PyAPNs2#110 mcepl@suse.com -# Missing LICENSE file -Source1: https://raw.githubusercontent.com/Pr0Ger/PyAPNs2/master/LICENSE -# eckey.pem gh#Pr0Ger/PyAPNs2#111 mcepl@suse.com -# Unpackaged file breaks test_token_expiration test -Source2: https://raw.githubusercontent.com/Pr0Ger/PyAPNs2/master/test/eckey.pem BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,9 +47,7 @@ A python library for interacting with the Apple Push Notification Service via HTTP/2 protocol. %prep -%setup -q -n apns2-%{version} -cp %{SOURCE1} . -cp %{SOURCE2} test/ +%autosetup -p1 -n apns2-%{version} %build %python_build