Switch for PyPI

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-03-31 09:36:30 +02:00
parent dfd84040c4
commit d5c1375888
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
2 changed files with 6 additions and 7 deletions

View File

@ -7,7 +7,7 @@ Summary: Python interface to the pkg-config command line tool
License: MIT
URL: https://github.com/matze/pkgconfig
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
Source: %{pypi_source}
BuildArch: noarch
@ -25,12 +25,12 @@ It can be used to
If pkg-config is not on the path, raises EnvironmentError.
%package -n python2-%{srcname}
Summary: A Python2 interface to the pkg-config ocmmand line tool
Summary: Python2 interface to the pkg-config ocmmand line tool
%{?python_provide:%python_provide python2-%{srcname}}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
# For tests
BuildRequires: python2-nose
BuildRequires: python2-pytest
Requires: %{_bindir}/pkg-config
%description -n python2-%{srcname}
@ -49,12 +49,11 @@ If pkg-config is not on the path, raises EnvironmentError.
Python 2 version.
%package -n python3-%{srcname}
Summary: A Python3 interface to the pkg-config command line tool
Summary: Python3 interface to the pkg-config command line tool
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
# For tests
BuildRequires: python3-nose
BuildRequires: python3-pytest
Requires: %{_bindir}/pkg-config
%description -n python3-%{srcname}

View File

@ -1 +1 @@
SHA512 (pkgconfig-1.5.0.tar.gz) = 1c05d6cf3d64b5fb0bb9b6e15fa369b0dc8971af78e62fb8b65db1b4a01b3d962be28ba555f41c0749255aeec28a0d05d7e99a504c916731970f479e1031f1e0
SHA512 (pkgconfig-1.5.0.tar.gz) = 01b4a46f953e92bd5ee9798d1a6c328f9d79d5b8df422e82a73edaa5e9b77d3c7fd4133dc26e10e7bcd20aafcd48df31ff7aef63cb6cd80b00ccd106b1158d29