[python-IPy] update to IPy 0.81, add python3 (BZ#1021038)
Matt Domsch
mdomsch at fedoraproject.org
Fri Oct 18 20:33:39 UTC 2013
commit 770ce9c43321814f6ff34fbb09b280254287fc7d
Author: Matt Domsch <matt at domsch.com>
Date: Fri Oct 18 15:33:39 2013 -0500
update to IPy 0.81, add python3 (BZ#1021038)
.gitignore | 1 +
python-IPy.spec | 19 ++++++++++++++-----
sources | 2 +-
3 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6b3e54c..537ee09 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
IPy-0.70.tar.gz
/IPy-0.75.tar.gz
+/IPy-0.81.tar.gz
diff --git a/python-IPy.spec b/python-IPy.spec
index e06c233..c50cb05 100644
--- a/python-IPy.spec
+++ b/python-IPy.spec
@@ -2,17 +2,18 @@
# per fedora python packaging guidelines
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python3_sitelib: %define python_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: Python module for handling IPv4 and IPv6 Addresses and Networks
Name: python-%{oname}
-Version: 0.75
-Release: 6%{?dist}
+Version: 0.81
+Release: 8%{?dist}
URL: https://github.com/haypo/python-ipy
Source0: http://pypi.python.org/packages/source/I/IPy/IPy-%{version}.tar.gz
License: BSD
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: python-devel
+BuildRequires: python-devel python3-devel
BuildArch: noarch
%description
@@ -26,6 +27,7 @@ and IPv6 Addresses and Networks.
%build
CFLAGS="%{optflags}" %{_bindir}/python setup.py build
+CFLAGS="%{optflags}" %{_bindir}/python3 setup.py build
%check
make test
@@ -33,7 +35,7 @@ make test
%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot}
-
+%{__python3} setup.py install --skip-build --root %{buildroot}
%clean
%{__rm} -rf %{buildroot}
@@ -42,9 +44,16 @@ make test
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog PKG-INFO README
%{python_sitelib}/%{oname}*
-
+%{python3_sitelib}/%{oname}*
+%{python3_sitelib}/__pycache__/%{oname}*
%changelog
+* Fri Oct 18 2013 Matt Domsch <mdomsch at fedoraproject.org> - 0.81-7
+- upgrade to v0.81
+
+* Fri Oct 18 2013 Dan Walsh <dwalsh at fedoraproject.org> - 0.75-7
+- Add support for python3
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.75-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 9e421b1..3356558 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d56716a3d8c77fe8539b6e90c88010bd IPy-0.75.tar.gz
+7a305c0b60950a9a90c89e9a6f9e06f4 IPy-0.81.tar.gz
More information about the scm-commits
mailing list