diff --git a/python-volkszaehler.spec b/python-volkszaehler.spec index 984996c620dec4ee5acbc0e61319697550108911..cdeca7f4e346bbe07acc1d29f9d4df37a6f0e270 100644 --- a/python-volkszaehler.spec +++ b/python-volkszaehler.spec @@ -1,16 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-volkszaehler -Version: 0.3.2 +Version: 0.4.0 Release: 1 Summary: Python Wrapper for interacting with the Volkszahler API. License: MIT URL: https://github.com/home-assistant-ecosystem/python-volkszaehler -Source0: https://files.pythonhosted.org/packages/cc/a4/f8debdc3a141a22ac1a911d563b810cb673bc1ee8beec2d735fb39c789c9/volkszaehler-0.3.2.tar.gz +Source0: https://files.pythonhosted.org/packages/0e/50/70b75ff8175aeec360e666ebd95b6649178875f7f832e1aecfb0c16aa014/volkszaehler-0.4.0.tar.gz BuildArch: noarch -Requires: python3-aiohttp -Requires: python3-async-timeout - %description Python API for interacting with Volkszaehler. At the moment only the consumption of data is supported. Sorry, uploading is not possible. @@ -18,21 +15,19 @@ This module is not official, developed, supported or endorsed by Volkzaehler. %package -n python3-volkszaehler Summary: Python Wrapper for interacting with the Volkszahler API. -Provides: python-volkszaehler +Provides: python-volkszaehler = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools - %description -n python3-volkszaehler -Python API for interacting with Volkszaehler. At the moment only the consumption +Python API for interacting with Volkszaehler. At the moment only the consumption of data is supported. Sorry, uploading is not possible. This module is not official, developed, supported or endorsed by Volkzaehler. %package help Summary: Development documents and examples for volkszaehler Provides: python3-volkszaehler-doc - %description help -Python API for interacting with Volkszaehler. At the moment only the consumption +Python API for interacting with Volkszaehler. At the moment only the consumption of data is supported. Sorry, uploading is not possible. This module is not official, developed, supported or endorsed by Volkzaehler. @@ -49,6 +44,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi 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 @@ -77,6 +75,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue May 16 2023 wangjunqi - 0.4.0-1 +- Update package to version 0.4.0 + * Thu Sep 29 2022 jiangxinyu - 0.3.2-1 - Upgrade to 0.3.2 diff --git a/volkszaehler-0.3.2.tar.gz b/volkszaehler-0.3.2.tar.gz deleted file mode 100644 index 1168b00683bca87359305c4ae982e1e495dca869..0000000000000000000000000000000000000000 Binary files a/volkszaehler-0.3.2.tar.gz and /dev/null differ diff --git a/volkszaehler-0.4.0.tar.gz b/volkszaehler-0.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5a699d6678b8d23f58c1530a24a4dd164e07800a Binary files /dev/null and b/volkszaehler-0.4.0.tar.gz differ