diff --git a/.gitignore b/.gitignore index 668b2e4..6e2d852 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /appdirs-1.4.0.tar.gz +/appdirs-1.4.3.tar.gz diff --git a/python-appdirs.spec b/python-appdirs.spec index 4c1f3bb..138804f 100644 --- a/python-appdirs.spec +++ b/python-appdirs.spec @@ -5,24 +5,15 @@ %global python3_wheelname %python2_wheelname Name: python-%{modname} -Version: 1.4.0 -Release: 10%{?dist} +Version: 1.4.3 +Release: 1%{?dist} Summary: Python module for determining platform-specific directories License: MIT -URL: http://github.com/ActiveState/appdirs -Source0: https://pypi.python.org/packages/source/a/%{modname}/%{modname}-%{version}.tar.gz +URL: https://github.com/ActiveState/appdirs +Source0: https://files.pythonhosted.org/packages/source/a/%{modname}/%{modname}-%{version}.tar.gz -BuildRequires: python2-devel python-setuptools -BuildRequires: python3-devel python3-setuptools -BuildArch: noarch - -%if 0%{?build_wheel} -BuildRequires: python2-pip -BuildRequires: python-wheel -BuildRequires: python%{python3_pkgversion}-pip -BuildRequires: python%{python3_pkgversion}-wheel -%endif +BuildArch: noarch %description A small Python module for determining appropriate " + " platform-specific @@ -31,6 +22,12 @@ directories, e.g. a "user data dir". %package -n python2-%{modname} Summary: Python 2 module for determining platform-specific directoriess %{?python_provide:%python_provide python2-%{modname}} +BuildRequires: python2-devel +BuildRequires: python2-setuptools +%if 0%{?build_wheel} +BuildRequires: python2-pip +BuildRequires: python2-wheel +%endif %description -n python2-%{modname} A small Python 2 module for determining appropriate " + " platform-specific @@ -39,6 +36,12 @@ directories, e.g. a "user data dir". %package -n python3-%{modname} Summary: Python 3 module for determining platform-specific directoriess %{?python_provide:%python_provide python3-%{modname}} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%if 0%{?build_wheel} +BuildRequires: python3-pip +BuildRequires: python3-wheel +%endif %description -n python3-%{modname} A small Python 3 module for determining appropriate " + " platform-specific @@ -91,6 +94,9 @@ sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/%{modna %{python3_sitelib}/__pycache__/%{modname}.* %changelog +* Sun Jul 23 2017 Igor Gnatenko - 1.4.3-1 +- Update to 1.4.3 + * Mon Feb 13 2017 Charalampos Stratakis - 1.4.0-10 - Rebuild as wheel diff --git a/sources b/sources index 3d2ebfb..94da518 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1d17b4c9694ab84794e228f28dc3275b appdirs-1.4.0.tar.gz +SHA512 (appdirs-1.4.3.tar.gz) = 964db6c9f830c9b23d78f0230c5f574f214f08faf3fd24f10ccc941d23e38de66186461d754f7effb94aa0553c25df4843c9ff5dcd375c992c322550b3d98cce