diff --git a/geomet-0.2.1.post1.tar.gz b/geomet-0.2.1.post1.tar.gz deleted file mode 100644 index ccca4bc..0000000 Binary files a/geomet-0.2.1.post1.tar.gz and /dev/null differ diff --git a/geomet-0.3.0.tar.gz b/geomet-0.3.0.tar.gz new file mode 100644 index 0000000..ab9104a Binary files /dev/null and b/geomet-0.3.0.tar.gz differ diff --git a/python-geomet.spec b/python-geomet.spec index 52e6f3c..4a95f4b 100644 --- a/python-geomet.spec +++ b/python-geomet.spec @@ -1,46 +1,44 @@ %global _empty_manifest_terminate_build 0 -Name: python-geomet -Version: 0.2.1.post1 -Release: 2 -Summary: GeoJSON <-> WKT/WKB conversion utilities -License: Apache-2.0 -URL: https://github.com/geomet/geomet -Source0: https://files.pythonhosted.org/packages/cf/21/58251b3de99e0b5ba649ff511f7f9e8399c3059dd52a643774106e929afa/geomet-0.2.1.post1.tar.gz -BuildArch: noarch +Name: python-geomet +Version: 0.3.0 +Release: 1 +Summary: GeoJSON <-> WKT/WKB conversion utilities +License: Apache-2.0 +URL: https://github.com/geomet/geomet +Source0: https://files.pythonhosted.org/packages/be/9c/dc5a874b12bbab2981edf92d7d03b9d37de6261655b57590a166c890b148/geomet-0.3.0.tar.gz +BuildArch: noarch + +Requires: python3-click +Requires: python3-six + %description Convert GeoJSON to WKT/WKB (Well-Known Text/Binary), and vice versa. %package -n python3-geomet -Summary: GeoJSON <-> WKT/WKB conversion utilities -Provides: python-geomet -# Base build requires -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pbr -BuildRequires: python3-pip -BuildRequires: python3-wheel -# General requires -BuildRequires: python3-click -BuildRequires: python3-six -# General requires -Requires: python3-click -Requires: python3-six +Summary: GeoJSON <-> WKT/WKB conversion utilities +Provides: python-geomet +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-click +BuildRequires: python3-six %description -n python3-geomet Convert GeoJSON to WKT/WKB (Well-Known Text/Binary), and vice versa. %package help -Summary: GeoJSON <-> WKT/WKB conversion utilities -Provides: python3-geomet-doc +Summary: Development documents and examples for geomet +Provides: python3-geomet-doc %description help Convert GeoJSON to WKT/WKB (Well-Known Text/Binary), and vice versa. %prep -%autosetup -n geomet-0.2.1.post1 -p1 +%autosetup -n geomet-%{version} %build %py3_build - %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} @@ -50,20 +48,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + 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 + 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 + 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 + 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 + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -75,11 +73,13 @@ mv %{buildroot}/doclist.lst . %files -n python3-geomet -f filelist.lst %dir %{python3_sitelib}/* - %files help -f doclist.lst %{_docdir}/* %changelog +* Mon Oct 10 2022 guozhengxin - 0.3.0-1 +- Upgrade package to version 0.3.0 + * Fri Jul 30 2021 chenyanpanHW - 0.2.1.post1-2 - DESC: delete -S git from %autosetup