Update to 1.5.0

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-03-31 09:18:22 +02:00
parent 97adf60c3d
commit dfd84040c4
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
3 changed files with 16 additions and 18 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/pkgconfig-1.1.0.tar.gz
/pkgconfig-1.2.2.tar.gz
/pkgconfig-1.3.1.tar.gz
/pkgconfig-1.5.0.tar.gz

View File

@ -1,9 +1,9 @@
%global srcname pkgconfig
Name: python-%{srcname}
Version: 1.3.1
Release: 4%{?dist}
Summary: A Python interface to the pkg-config command line tool
Version: 1.5.0
Release: 1%{?dist}
Summary: Python interface to the pkg-config command line tool
License: MIT
URL: https://github.com/matze/pkgconfig
@ -28,15 +28,9 @@ If pkg-config is not on the path, raises EnvironmentError.
Summary: A Python2 interface to the pkg-config ocmmand line tool
%{?python_provide:%python_provide python2-%{srcname}}
BuildRequires: python2-devel
%if 0%{?rhel} && 0%{?rhel} <= 7
BuildRequires: python-setuptools
# For tests
BuildRequires: python-nose
%else
BuildRequires: python2-setuptools
# For tests
BuildRequires: python2-nose
%endif
Requires: %{_bindir}/pkg-config
%description -n python2-%{srcname}
@ -54,16 +48,16 @@ If pkg-config is not on the path, raises EnvironmentError.
Python 2 version.
%package -n python%{python3_pkgversion}-%{srcname}
%package -n python3-%{srcname}
Summary: A Python3 interface to the pkg-config command line tool
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
# For tests
BuildRequires: python%{python3_pkgversion}-nose
BuildRequires: python3-nose
Requires: %{_bindir}/pkg-config
%description -n python%{python3_pkgversion}-%{srcname}
%description -n python3-%{srcname}
pkgconfig is a Python module to interface with the pkg-config command line
tool and supports Python 2.6+.
@ -92,20 +86,23 @@ Python 3 version.
%check
%{__python2} setup.py test
%{__python3} setup.py test
%files -n python2-%{srcname}
%license LICENSE
%doc README.rst
%{python2_sitelib}/%{srcname}-*.egg-info/
%{python2_sitelib}/%{srcname}/
%files -n python%{python3_pkgversion}-%{srcname}
%files -n python3-%{srcname}
%license LICENSE
%doc README.rst
%{python3_sitelib}/%{srcname}-*.egg-info/
%{python3_sitelib}/%{srcname}/
%changelog
* Sun Mar 31 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.0-1
- Update to 1.5.0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (pkgconfig-1.3.1.tar.gz) = 4cc4dee6b9406872fed2195aec44e908a6ac8211e90b02c24f7e15aa8057ca3c75b9e62ff74418dc63255a5bd11f80d873d56a713d9ed31a7c23eb56f98e1928
SHA512 (pkgconfig-1.5.0.tar.gz) = 1c05d6cf3d64b5fb0bb9b6e15fa369b0dc8971af78e62fb8b65db1b4a01b3d962be28ba555f41c0749255aeec28a0d05d7e99a504c916731970f479e1031f1e0