Accepting request 713241 from devel:languages:python

Drop unused environment.pickle to make package build reproducible (forwarded request 713240 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/713241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geolib?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2019-07-04 13:43:46 +00:00 committed by Git OBS Bridge
commit 1bfd55f6a0
2 changed files with 20 additions and 6 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Jul 3 12:52:49 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
- Drop unused environment.pickle to make package build reproducible
-------------------------------------------------------------------
Sun Jun 30 18:53:14 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Remove elaborate markup which RPM anyway does not recognize.
- Grammar fixes to the description.
-------------------------------------------------------------------
Mon Jun 24 11:28:51 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@ -12,22 +12,23 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-geolib
Version: 1.0.7
Release: 0
License: MIT
Summary: A library for geohash encoding, decoding and associated functions
Url: https://geolib.readthedocs.io/en/latest/
License: MIT
Group: Development/Languages/Python
URL: https://geolib.readthedocs.io/en/latest/
# does not include license, docs, tests: https://github.com/joyanujoy/geolib/issues/1
#Source: https://files.pythonhosted.org/packages/source/g/geolib/geolib-%{version}.tar.gz
Source: https://github.com/joyanujoy/geolib/archive/%{version}.tar.gz#/geolib-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module future}
BuildRequires: %{python_module pytest}
@ -42,7 +43,9 @@ BuildArch: noarch
%python_subpackages
%description
A python library for geohash encoding, decoding and finding neighbour cells. This is a python port of [Chris Veness' javascript implementation](https://www.movable-type.co.uk/scripts/geohash.html).
A Python library for geohash encoding, decoding and finding neighbour cells.
This is a Python port of Chris Veness's Javascript implementation,
https://www.movable-type.co.uk/scripts/geohash.html .
%prep
%setup -q -n geolib-%{version}
@ -63,7 +66,7 @@ popd
%pytest
%files %{python_files}
%doc README.md docs/_build/
%doc README.md docs/_build/html/
%license LICENSE
%{python_sitelib}/*