Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ae2a4be33a | |||
| a955c68e47 |
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 17 04:37:28 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Use pyproject macros to build and install.
|
||||||
|
- Explicitly list files and directories in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 26 07:55:41 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>
|
Mon Jun 26 07:55:41 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Group: Development/Languages/Python
|
|||||||
Source: https://github.com/geopy/geopy/archive/%{version}.tar.gz#/geopy-%{version}.tar.gz
|
Source: https://github.com/geopy/geopy/archive/%{version}.tar.gz#/geopy-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module async_generator}
|
BuildRequires: %{python_module async_generator}
|
||||||
BuildRequires: %{python_module docutils}
|
BuildRequires: %{python_module docutils}
|
||||||
@@ -74,11 +76,11 @@ rm \
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -88,6 +90,7 @@ export LANG=en_US.UTF-8
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc AUTHORS README.rst docs/changelog_09x.rst docs/changelog_1xx.rst
|
%doc AUTHORS README.rst docs/changelog_09x.rst docs/changelog_1xx.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/geopy
|
||||||
|
%{python_sitelib}/geopy-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user