diff --git a/.gitignore b/.gitignore index 5af869b..ca56e5c 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/python-pkgconfig.spec b/python-pkgconfig.spec index 68c5b0d..e15f031 100644 --- a/python-pkgconfig.spec +++ b/python-pkgconfig.spec @@ -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 - 1.5.0-1 +- Update to 1.5.0 + * Sat Feb 02 2019 Fedora Release Engineering - 1.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index ef42f0a..e618053 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pkgconfig-1.3.1.tar.gz) = 4cc4dee6b9406872fed2195aec44e908a6ac8211e90b02c24f7e15aa8057ca3c75b9e62ff74418dc63255a5bd11f80d873d56a713d9ed31a7c23eb56f98e1928 +SHA512 (pkgconfig-1.5.0.tar.gz) = 1c05d6cf3d64b5fb0bb9b6e15fa369b0dc8971af78e62fb8b65db1b4a01b3d962be28ba555f41c0749255aeec28a0d05d7e99a504c916731970f479e1031f1e0