diff --git a/.gitignore b/.gitignore index ecd40d3..34b3889 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /d2to1-0.2.7.tar.gz /d2to1-0.2.10.tar.gz /d2to1-0.2.11.tar.gz +/d2to1-0.2.12.post1.tar.gz diff --git a/python-d2to1.spec b/python-d2to1.spec index 762106e..cc5a2fb 100644 --- a/python-d2to1.spec +++ b/python-d2to1.spec @@ -4,20 +4,23 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} %endif -%global upname d2to1 +%global srcname d2to1 -Name: python-%{upname} -Version: 0.2.11 -Release: 6%{?dist} +Name: python-%{srcname} +Version: 0.2.12 +Release: 1.post1%{?dist} Summary: Allows using distutils2-like setup.cfg files with setup.py License: BSD Group: Development/Languages URL: http://pypi.python.org/pypi/d2to1 -Source0: http://pypi.python.org/packages/source/d/d2to1/%{upname}-%{version}.tar.gz +#Source0: http://pypi.python.org/packages/source/d/d2to1/%{srcname}-%{version}.tar.gz +Source0: https://pypi.python.org/packages/source/d/d2to1/d2to1-0.2.12.post1.tar.gz BuildRequires: python2-devel python-setuptools Requires: python-setuptools +Provides: python2-d2to1 + BuildArch: noarch %description @@ -40,8 +43,8 @@ and a very minimal setup.py which will slurp its arguments from the setup.cfg. %endif # with_python3 %prep -%setup -q -n %{upname}-%{version} -rm -rf %{upname}.egg-info +#%setup -q -n %{srcname}-%{version} +%setup -q -n %{srcname}-%{version}.post1 %if 0%{?with_python3} rm -rf %{py3dir} @@ -61,7 +64,6 @@ popd %endif # with_python3 %install -rm -rf %{buildroot} %if 0%{?with_python3} pushd %{py3dir} @@ -72,17 +74,22 @@ popd %{__python2} setup.py install --skip-build --root %{buildroot} %files -%doc CHANGES.rst LICENSE README.rst +%doc CHANGES.rst README.rst +%license LICENSE %{python2_sitelib}/* %if 0%{?with_python3} %files -n python3-d2to1 -%doc CHANGES.rst LICENSE README.rst +%doc CHANGES.rst README.rst +%license LICENSE %{python3_sitelib}/* %endif # with_python3 %changelog +* Tue Mar 29 2016 Sergio Pascual - 0.2.12-1.post1 +- New upstream source (0.2.12) + * Thu Feb 04 2016 Fedora Release Engineering - 0.2.11-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 9a9ee38..b7043e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -81addef3dde584ab89b35ada8177c0d0 d2to1-0.2.11.tar.gz +1ba7e64ead23cbf104993122f0871030 d2to1-0.2.12.post1.tar.gz