diff --git a/python-tinydb.spec b/python-tinydb.spec index f35d63e00f7c31f8864baf94cd67046b5dc08c44..6d2bd306c5d8db1082a05f1c31075967b7666afc 100644 --- a/python-tinydb.spec +++ b/python-tinydb.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-tinydb -Version: 4.7.1 +Version: 4.8.0 Release: 1 Summary: TinyDB is a tiny, document oriented database optimized for your happiness License: MIT URL: https://github.com/msiemens/tinydb -Source0: https://files.pythonhosted.org/packages/32/ed/78f24df0fec08f0fb92fc4b4758adcab780660caa8c3f94c2e175eb7e2ba/tinydb-4.7.1.tar.gz +Source0: https://files.pythonhosted.org/packages/30/0b/9e75a8d3333a6a3d9b36de04bf87a37a8d7f100035ea23c9c37bf0a112ab/tinydb-4.8.0.tar.gz BuildArch: noarch %description @@ -15,7 +15,7 @@ TinyDB is a lightweight document oriented database optimized for your happiness Summary: TinyDB is a tiny, document oriented database optimized for your happiness Provides: python-tinydb = %{version}-%{release} BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: python3-setuptools python3-pip python3-wheel python3-flit Requires: python3-typing-extensions %description -n python3-tinydb TinyDB is a lightweight document oriented database optimized for your happiness @@ -30,10 +30,10 @@ TinyDB is a lightweight document oriented database optimized for your happiness %autosetup -n tinydb-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install tinydb==%{version} 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 @@ -42,34 +42,17 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi -pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst -fi -touch doclist.lst -if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst -fi -popd -mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . -%files -n python3-tinydb -f filelist.lst +%files -n python3-tinydb %dir %{python3_sitelib}/* -%files help -f doclist.lst +%files help %{_docdir}/* %changelog +* Tue Dec 12 2023 konglidong - 4.8.0-1 +- update version to 4.8.0 + * Fri Feb 24 2023 wangjunqi - 4.7.1-1 - Update package to version 4.7.1 diff --git a/tinydb-4.7.1.tar.gz b/tinydb-4.7.1.tar.gz deleted file mode 100644 index 37097a5521474498c585bf8f49013cc131fa911d..0000000000000000000000000000000000000000 Binary files a/tinydb-4.7.1.tar.gz and /dev/null differ diff --git a/tinydb-4.8.0.tar.gz b/tinydb-4.8.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..cbeeb87888f3e6a820af10e3c38c0234a5df45e2 Binary files /dev/null and b/tinydb-4.8.0.tar.gz differ