diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b5adf1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ipaddress-1.0.16.tar.gz diff --git a/.python-ipaddress.metadata b/.python-ipaddress.metadata new file mode 100644 index 0000000..51041e3 --- /dev/null +++ b/.python-ipaddress.metadata @@ -0,0 +1 @@ +fbd2ef903c507b70fd8cc07c024ada66aae03695 SOURCES/ipaddress-1.0.16.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/python-ipaddress.spec b/SPECS/python-ipaddress.spec new file mode 100644 index 0000000..56e252d --- /dev/null +++ b/SPECS/python-ipaddress.spec @@ -0,0 +1,63 @@ +%global pyname ipaddress + +Name: python-%{pyname} +Version: 1.0.16 +Release: 2%{?dist} +Summary: Port of the python 3.3+ ipaddress module to 2.6+ + +License: Python +URL: https://pypi.python.org/pypi/%{pyname}/%{version} +Source0: https://pypi.python.org/packages/source/i/%{pyname}/%{pyname}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python2-devel + +%description +ipaddress provides the capabilities to create, manipulate and operate +on IPv4 and IPv6 addresses and networks. + +The functions and classes in this module make it straightforward to +handle various tasks related to IP addresses, including checking +whether or not two hosts are on the same subnet, iterating over all +hosts in a particular subnet, checking whether or not a string +represents a valid IP address or network definition, and so on. + +%prep +%setup -q -n %{pyname}-%{version} + + +%build +%{__python2} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + + +%files +%doc README.md +%{python2_sitelib}/* + + +%changelog +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.16-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jan 08 2016 Matěj Cepl - 1.0.16-1 +- Update to the latest upstream (#1242475) + +* Thu Jun 18 2015 Fedora Release Engineering - 1.0.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 10 2015 Nathaniel McCallum - 1.0.7-3 +- Remove Conflicts: python-ipaddr + +* Mon Jun 8 2015 Nathaniel McCallum - 1.0.7-2 +- Add Conflicts: python-ipaddr + +* Thu May 14 2015 Nathaniel McCallum - 1.0.7-1 +- Update to 1.0.7 + +* Wed Mar 20 2013 Matt Domsch - 1.0.3-1 +- initial release