Updated to 3.2.0
This commit is contained in:
parent
3a69439c78
commit
e474f94514
@ -5,7 +5,7 @@ index 8a7a0be..1dba288 100644
|
|||||||
@@ -1,5 +1,6 @@
|
@@ -1,5 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = portend
|
name = portend
|
||||||
+version = 3.1.0
|
+version = 3.2.0
|
||||||
author = Jason R. Coombs
|
author = Jason R. Coombs
|
||||||
author_email = jaraco@jaraco.com
|
author_email = jaraco@jaraco.com
|
||||||
description = TCP port monitoring and discovery
|
description = TCP port monitoring and discovery
|
||||||
|
|||||||
Binary file not shown.
BIN
portend-3.2.0.tar.gz
Normal file
BIN
portend-3.2.0.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-portend
|
Name: python-portend
|
||||||
Version: 3.1.0
|
Version: 3.2.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: TCP port monitoring and discovery
|
Summary: TCP port monitoring and discovery
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.org/project/portend
|
URL: https://pypi.org/project/portend
|
||||||
Source0: https://files.pythonhosted.org/packages/6e/0a/42bcc9c97744958ce72d33f526e972379b9e90adede8a151f338818c41d4/portend-3.1.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/8f/fc/bcfc768996b438d6e4bde7a6c8cfd62089847b0f5381a0e0ec2d8ee6b202/portend-3.2.0.tar.gz
|
||||||
|
|
||||||
Patch0000: Add-version-fix-no-version-in-build-product.patch
|
Patch0000: Add-version-fix-no-version-in-build-product.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -49,8 +49,9 @@ assert_free will raise a ``PortNotFree`` exception.
|
|||||||
Summary: TCP port monitoring and discovery
|
Summary: TCP port monitoring and discovery
|
||||||
Provides: python-portend
|
Provides: python-portend
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-flit
|
||||||
BuildRequires: python3-setuptools_scm
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-pip
|
||||||
%description -n python3-portend
|
%description -n python3-portend
|
||||||
Use portend to monitor TCP ports for bound or unbound states.
|
Use portend to monitor TCP ports for bound or unbound states.
|
||||||
For example, to wait for a port to be occupied, timing out after 3 seconds::
|
For example, to wait for a port to be occupied, timing out after 3 seconds::
|
||||||
@ -107,46 +108,28 @@ a bound listener (i.e. a TCP connection is established to that host/port),
|
|||||||
assert_free will raise a ``PortNotFree`` exception.
|
assert_free will raise a ``PortNotFree`` exception.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n portend-3.1.0 -p1
|
%autosetup -n portend-3.2.0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
|
||||||
pushd %{buildroot}
|
|
||||||
if [ -d usr/lib ]; then
|
|
||||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
fi
|
|
||||||
if [ -d usr/lib64 ]; then
|
|
||||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
fi
|
|
||||||
if [ -d usr/bin ]; then
|
|
||||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
fi
|
|
||||||
if [ -d usr/sbin ]; then
|
|
||||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
fi
|
|
||||||
touch doclist.lst
|
|
||||||
if [ -d usr/share/man ]; then
|
|
||||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
|
||||||
fi
|
|
||||||
popd
|
|
||||||
mv %{buildroot}/filelist.lst .
|
|
||||||
mv %{buildroot}/doclist.lst .
|
|
||||||
|
|
||||||
%files -n python3-portend -f filelist.lst
|
%files -n python3-portend
|
||||||
%dir %{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 11 2023 chenzixuan <chenzixuan@kylinos.cn> - 3.2.0-1
|
||||||
|
- Upgrade to version 3.2.0
|
||||||
|
|
||||||
* Wed Jul 06 2022 xu_ping <xuping33@h-partners.com> - 3.1.0-2
|
* Wed Jul 06 2022 xu_ping <xuping33@h-partners.com> - 3.1.0-2
|
||||||
- Add version fixes no version in build product
|
- Add version fixes no version in build product
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user