!8 Upgrade package to version 0.3.0

From: @Gzx1999 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-10-10 11:15:50 +00:00 committed by Gitee
commit 4d2935d5b3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 32 additions and 32 deletions

Binary file not shown.

BIN
geomet-0.3.0.tar.gz Normal file

Binary file not shown.

View File

@ -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 <guozhengxin@kylinos.cn> - 0.3.0-1
- Upgrade package to version 0.3.0
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.2.1.post1-2
- DESC: delete -S git from %autosetup