From de4750de627cd6393ab9ca1dbebcf56b2dff3fc8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Dec 04 2016 11:13:20 +0000 Subject: Update to 1.2.2 Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index 9ba9864..c82f05c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /pkgconfig-1.1.0.tar.gz +/pkgconfig-1.2.2.tar.gz diff --git a/python-pkgconfig.spec b/python-pkgconfig.spec index 5c1bd6c..30db03c 100644 --- a/python-pkgconfig.spec +++ b/python-pkgconfig.spec @@ -2,13 +2,13 @@ %global _docdir_fmt %{name} Name: python-%{srcname} -Version: 1.1.0 -Release: 7%{?dist} +Version: 1.2.2 +Release: 1%{?dist} Summary: A Python interface to the pkg-config command line tool License: MIT -URL: https://github.com/matze/%{srcname} -Source0: https://github.com/matze/%{srcname}/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz +URL: https://github.com/matze/pkgconfig +Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch @@ -29,7 +29,7 @@ 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} <= 7 +%if 0%{?rhel} && 0%{?rhel} <= 7 BuildRequires: python-setuptools # For tests BuildRequires: python-nose @@ -97,14 +97,19 @@ find -type f -name '*.py' -exec sed -i -e '1{\@^#!/usr/bin/env python@d}' {} ';' %files -n python2-%{srcname} %license LICENSE %doc README.rst -%{python2_sitelib}/%{srcname}* +%{python2_sitelib}/%{srcname}-*.egg-info/ +%{python2_sitelib}/%{srcname}/ %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc README.rst -%{python3_sitelib}/%{srcname}* +%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/%{srcname}/ %changelog +* Sun Dec 04 2016 Igor Gnatenko - 1.2.2-1 +- Update to 1.2.2 + * Wed Oct 12 2016 Orion Poplawski - 1.1.0-7 - Fix build for EPEL diff --git a/sources b/sources index 21dcc69..0f1ddaf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4eaacf9931965852f9a16a3e0cb12407 pkgconfig-1.1.0.tar.gz +7d724d6b5653f9caef2cb785ee16ff85 pkgconfig-1.2.2.tar.gz