[python-d2to1] New upstream source (0.2.11)
Sergio Pascual
sergiopr at fedoraproject.org
Mon Feb 24 16:05:46 UTC 2014
commit a45a78b42ea741a79933977db36b806b4eeaf285
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date: Mon Feb 24 17:06:30 2014 +0100
New upstream source (0.2.11)
- Use python2 macro
.gitignore | 1 +
python-d2to1.spec | 22 +++++++++++++---------
sources | 2 +-
3 files changed, 15 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0800809..ecd40d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/d2to1-0.2.7.tar.gz
/d2to1-0.2.10.tar.gz
+/d2to1-0.2.11.tar.gz
diff --git a/python-d2to1.spec b/python-d2to1.spec
index 701b046..7181a11 100644
--- a/python-d2to1.spec
+++ b/python-d2to1.spec
@@ -7,15 +7,15 @@
%global upname d2to1
Name: python-%{upname}
-Version: 0.2.10
-Release: 2%{?dist}
+Version: 0.2.11
+Release: 1%{?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
-BuildRequires: python-devel python-setuptools
+BuildRequires: python2-devel python-setuptools
Requires: python-setuptools
BuildArch: noarch
@@ -52,7 +52,7 @@ find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python}|'
%build
-%{__python} setup.py build
+%{__python2} setup.py build
%if 0%{?with_python3}
pushd %{py3dir}
@@ -65,24 +65,28 @@ rm -rf %{buildroot}
%if 0%{?with_python3}
pushd %{py3dir}
-%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python3} setup.py install --skip-build --root %{buildroot}
popd
%endif # with_python3
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python2} setup.py install --skip-build --root %{buildroot}
%files
-%doc CHANGES.rst CONTRIBUTORS LICENSE README.rst
-%{python_sitelib}/*
+%doc CHANGES.rst LICENSE README.rst
+%{python2_sitelib}/*
%if 0%{?with_python3}
%files -n python3-d2to1
-%doc CHANGES.rst CONTRIBUTORS LICENSE README.rst
+%doc CHANGES.rst LICENSE README.rst
%{python3_sitelib}/*
%endif # with_python3
%changelog
+* Mon Feb 24 2014 Sergio Pascual <sergiopr at fedoraproject.org> - 0.2.11-1
+- New upstream source (0.2.11)
+- Use python2 macro
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 6409c0b..9a9ee38 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-be97f5330bae3206e1555b58dae23848 d2to1-0.2.10.tar.gz
+81addef3dde584ab89b35ada8177c0d0 d2to1-0.2.11.tar.gz
More information about the scm-commits
mailing list