67 lines
1.5 KiB
RPMSpec
67 lines
1.5 KiB
RPMSpec
Name: python-ipaddress
|
|
Version: 1.0.23
|
|
Release: 2
|
|
Summary: IPv4/IPv6 manipulation library
|
|
License: Python
|
|
URL: https://github.com/phihag/ipaddress
|
|
Source0: https://pypi.io/packages/source/i/ipaddress/ipaddress-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel python3-setuptools
|
|
|
|
%description
|
|
Python 3.3+'s ipaddress for Python 2.6, 2.7, 3.2.
|
|
|
|
%package -n python3-ipaddress
|
|
Summary: Python3 package for python-ipaddress
|
|
|
|
%description -n python3-ipaddress
|
|
Python3 package for python-ipaddress
|
|
|
|
%prep
|
|
%autosetup -n ipaddress-%{version} -p1
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%files -n python3-ipaddress
|
|
%defattr(-,root,root)
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{python3_sitelib}/*
|
|
|
|
%changelog
|
|
* Thu Oct 29 2020 wangye <wangye70@huawei.com> - 1.0.23-2
|
|
- remove python2-ipaddress subpackage
|
|
|
|
* Mon Jul 20 2020 wangye <wangye70@huawei.com> - 1.0.23-1
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:version update 1.0.23
|
|
|
|
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0.18-9
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:delete the python provides in python2
|
|
|
|
* Thu Oct 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.18-8
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC: add license files to rpm package
|
|
|
|
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.18-7
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:bugfix about the provides for python2-ipaddress
|
|
|
|
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.18-6
|
|
- Package init
|