Accepting request 528994 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/528994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycountry?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2017-09-29 09:56:06 +00:00 committed by Git OBS Bridge
commit f29fa451ab
4 changed files with 22 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0588efa3171e1d5e4cc96fce569ac865964285fdc8dbdc0860844f74598d1f98
size 5024012

3
pycountry-17.5.14.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d31321e59a134aac326ac07d4b2595d63f7e7f755bcb503bdecca2bd1b54ff2f
size 9203433

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 16 01:29:15 UTC 2017 - smurf.anon@gmail.com
- Update to version 17.5.14
- Convert to singlespec
-------------------------------------------------------------------
Wed Oct 5 03:25:59 UTC 2016 - mailaender@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pycountry
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,19 +18,21 @@
%define real_name pycountry
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pycountry
Version: 1.20
Version: 17.5.14
Release: 0
Summary: Databases for ISO standards 639 3166 3166-2 4217 15924
License: LGPL-2.1
Group: Development/Libraries/Python
Url: https://pypi.python.org/pypi/pycountry/
Source: https://pypi.io/packages/source/p/%{real_name}/%{real_name}-%{version}.tar.gz
BuildRequires: python-setuptools
Requires: python
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-lxml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%py_requires
BuildArch: noarch
%python_subpackages
%description
pycountry provides the ISO databases for the standards 639 (Languages),
@ -43,13 +45,14 @@ Translation files for the various strings are included as well.
%setup -q -n %{real_name}-%{version}
%build
export CFLAGS="%{optflags}"
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%python_install
%files -f INSTALLED_FILES
%defattr(-,root,root)
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README
%{python_sitelib}/*
%changelog