From a2c360d776030b8633e73cd024368f9944a4d282 Mon Sep 17 00:00:00 2001 From: Ze Zhang Date: Tue, 3 Sep 2024 11:07:25 +0800 Subject: [PATCH 1/2] Rebrand --- python-scitokens.spec | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/python-scitokens.spec b/python-scitokens.spec index 854640d..1634d87 100644 --- a/python-scitokens.spec +++ b/python-scitokens.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 1.8.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: SciToken reference implementation library License: Apache-2.0 @@ -13,17 +13,10 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools -%if 0%{?rhel} == 7 -BuildRequires: python%{python3_pkgversion}-cryptography -BuildRequires: python%{python3_pkgversion}-pytest -BuildRequires: python%{python3_pkgversion}-jwt >= 1.6.1 -BuildRequires: python%{python3_pkgversion}-requests -%else BuildRequires: python3-cryptography BuildRequires: python3-pytest BuildRequires: python3-jwt >= 1.6.1 BuildRequires: python3-requests -%endif %description SciToken reference implementation library @@ -45,12 +38,7 @@ rm -rf %{pypi_name}.egg-info %py3_install %check -%if 0%{?rhel} == 7 -export PYTHONPATH="%{buildroot}%{python3_sitelib}" -(cd tests/ && %{__python3} -m pytest --verbose -ra . --no-network) -%else %pytest --verbose -ra tests/ --no-network -%endif %files -n python3-%{pypi_name} %license LICENSE @@ -62,5 +50,9 @@ export PYTHONPATH="%{buildroot}%{python3_sitelib}" %{_bindir}/scitokens-verify-token %changelog +* Tue Sep 3 2024 Ze Zhang - 1.8.1-2 +- [Type] other +- [DESC] Rebrand + * Fri Apr 12 2024 OpenCloudOS Release Engineering - 1.8.1-1 - initial build -- Gitee From fd8257039b46a773d1959dfaa0d6599938edaec9 Mon Sep 17 00:00:00 2001 From: Ze Zhang Date: Wed, 4 Sep 2024 17:56:42 +0800 Subject: [PATCH 2/2] Remove not used macors --- python-scitokens.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-scitokens.spec b/python-scitokens.spec index 1634d87..9209d7d 100644 --- a/python-scitokens.spec +++ b/python-scitokens.spec @@ -52,7 +52,7 @@ rm -rf %{pypi_name}.egg-info %changelog * Tue Sep 3 2024 Ze Zhang - 1.8.1-2 - [Type] other -- [DESC] Rebrand +- [DESC] Remove not used macors * Fri Apr 12 2024 OpenCloudOS Release Engineering - 1.8.1-1 - initial build -- Gitee