New upstream release 0.7.15
This commit is contained in:
parent
ee146b2ddc
commit
551bb8e06e
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,3 +3,5 @@ netaddr-0.7.4.tar.gz
|
|||||||
/netaddr-0.7.11.tar.gz
|
/netaddr-0.7.11.tar.gz
|
||||||
/netaddr-0.7.12.tar.gz
|
/netaddr-0.7.12.tar.gz
|
||||||
/netaddr-0.7.14.tar.gz
|
/netaddr-0.7.14.tar.gz
|
||||||
|
/netaddr-0.7.15.tar.gz
|
||||||
|
/netaddr-0.7.15-tests.tar.gz
|
||||||
|
@ -3,13 +3,14 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-netaddr
|
Name: python-netaddr
|
||||||
Version: 0.7.14
|
Version: 0.7.15
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A pure Python network address representation and manipulation library
|
Summary: A pure Python network address representation and manipulation library
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://github.com/drkjam/netaddr
|
URL: http://github.com/drkjam/netaddr
|
||||||
Source0: https://pypi.python.org/packages/source/n/netaddr/netaddr-%{version}.tar.gz
|
Source0: https://pypi.python.org/packages/source/n/netaddr/netaddr-%{version}.tar.gz
|
||||||
|
Source1: netaddr-%{version}-tests.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
@ -81,7 +82,7 @@ API documentation for the latest release is available here :-
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n netaddr-%{version}
|
%setup -q -a 1 -n netaddr-%{version}
|
||||||
|
|
||||||
# Make rpmlint happy, get rid of DOS line endings
|
# Make rpmlint happy, get rid of DOS line endings
|
||||||
%{__sed} -i 's/\r//' netaddr/*.py
|
%{__sed} -i 's/\r//' netaddr/*.py
|
||||||
@ -94,7 +95,7 @@ find netaddr -name "*.py" | \
|
|||||||
xargs %{__perl} -ni -e 'print unless /usr\/bin\/python|env\s+python/'
|
xargs %{__perl} -ni -e 'print unless /usr\/bin\/python|env\s+python/'
|
||||||
|
|
||||||
# Make rpmlint happy, fix permissions on documentation files
|
# Make rpmlint happy, fix permissions on documentation files
|
||||||
chmod 0644 README AUTHORS CHANGELOG COPYRIGHT INSTALL LICENSE PKG-INFO
|
chmod 0644 README.md AUTHORS CHANGELOG COPYRIGHT INSTALL LICENSE PKG-INFO
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
@ -131,26 +132,30 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} netaddr/tests/__init__.py
|
%{__python2} setup.py test
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
LANG=en_US.UTF-8 %{__python3} netaddr/tests/__init__.py
|
LANG=en_US.UTF-8 %{__python3} setup.py test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS CHANGELOG COPYRIGHT INSTALL LICENSE PKG-INFO
|
%doc AUTHORS CHANGELOG COPYRIGHT INSTALL LICENSE PKG-INFO
|
||||||
%doc README docs/html
|
%doc README.md docs/html
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
%{_bindir}/netaddr
|
%{_bindir}/netaddr
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%files -n python3-netaddr
|
%files -n python3-netaddr
|
||||||
%doc AUTHORS CHANGELOG COPYRIGHT INSTALL LICENSE PKG-INFO
|
%doc AUTHORS CHANGELOG COPYRIGHT INSTALL LICENSE PKG-INFO
|
||||||
%doc README docs/python3/html
|
%doc README.md docs/python3/html
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
%{_bindir}/netaddr3
|
%{_bindir}/netaddr3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 29 2015 John Eckersberg <eck@redhat.com> - 0.7.15-1
|
||||||
|
- New upstream release 0.7.15
|
||||||
|
- Add separate source for tests, see https://github.com/drkjam/netaddr/issues/102
|
||||||
|
|
||||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.14-2
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.14-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user