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:
commit
f29fa451ab
@ -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
3
pycountry-17.5.14.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d31321e59a134aac326ac07d4b2595d63f7e7f755bcb503bdecca2bd1b54ff2f
|
||||||
|
size 9203433
|
@ -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
|
Wed Oct 5 03:25:59 UTC 2016 - mailaender@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pycountry
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,19 +18,21 @@
|
|||||||
|
|
||||||
%define real_name pycountry
|
%define real_name pycountry
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pycountry
|
Name: python-pycountry
|
||||||
Version: 1.20
|
Version: 17.5.14
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Databases for ISO standards 639 3166 3166-2 4217 15924
|
Summary: Databases for ISO standards 639 3166 3166-2 4217 15924
|
||||||
License: LGPL-2.1
|
License: LGPL-2.1
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Url: https://pypi.python.org/pypi/pycountry/
|
Url: https://pypi.python.org/pypi/pycountry/
|
||||||
Source: https://pypi.io/packages/source/p/%{real_name}/%{real_name}-%{version}.tar.gz
|
Source: https://pypi.io/packages/source/p/%{real_name}/%{real_name}-%{version}.tar.gz
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
Requires: python
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-lxml
|
Requires: python-lxml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%py_requires
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
pycountry provides the ISO databases for the standards 639 (Languages),
|
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}
|
%setup -q -n %{real_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
%python_build
|
||||||
python setup.py build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
%python_install
|
||||||
|
|
||||||
%files -f INSTALLED_FILES
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE.txt README
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user