diff --git a/keyring-23.13.1.tar.gz b/keyring-23.13.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..06648448a1d2891c69bbaa58fe7ed41534f16bd2 Binary files /dev/null and b/keyring-23.13.1.tar.gz differ diff --git a/keyring-23.5.0.tar.gz b/keyring-23.5.0.tar.gz deleted file mode 100644 index c594df38b79cfcc401c84c1c0b35ec506e43bc7a..0000000000000000000000000000000000000000 Binary files a/keyring-23.5.0.tar.gz and /dev/null differ diff --git a/python-keyring.spec b/python-keyring.spec index 6d1e9c20bfdb62045e3786963eb100e75a9fa690..10af5a3d17c1126ea803c3df3b8a0bfd70732a85 100644 --- a/python-keyring.spec +++ b/python-keyring.spec @@ -1,6 +1,6 @@ %global _empty_manifest_terminate_build 0 Name: python-keyring -Version: 23.5.0 +Version: 23.13.1 Release: 1 Summary: Store and access your passwords safely. License: MIT License @@ -32,6 +32,7 @@ Provides: python-keyring BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip +BuildRequires: python3-pytest python3-wheel python3-importlib-metadata %description -n python3-keyring On Linux, the KWallet backend relies on dbus-python_, which does not always @@ -47,13 +48,13 @@ install correctly when using pip (compilation is needed). For best results, install dbus-python as a system package. %prep -%autosetup -n keyring-%{version} +%autosetup -n keyring-%{version} -p1 %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -80,14 +81,21 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . +%check +export PYTHONPATH=%{buildroot}%{python3_sitelib} +pytest %files -n python3-keyring -f filelist.lst %dir %{python3_sitelib}/* +%{python3_sitelib}/* %files help -f doclist.lst -%{_pkgdocdir} +%{_docdir}/* %changelog +* Wed Jun 14 2023 yaoxin - 23.13.1-1 +- Update to 23.13.1 + * Thu Jul 28 2022 renliang16 - 23.5.0-1 - Upgrade package python3-keyring to version 23.5.0