summaryrefslogtreecommitdiff
path: root/python-libpcap.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 15:41:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 15:41:25 +0000
commit7cc81e7c1f7e5bb01910e6f0042185c983dbcc40 (patch)
tree845f6e7ba8aac03e70be9ac915f0d09e468be4b7 /python-libpcap.spec
parent6ae5ca8d569f7fcfe6f5ab8777e7f1f35bccafaa (diff)
automatic import of python-libpcapopeneuler20.03
Diffstat (limited to 'python-libpcap.spec')
-rw-r--r--python-libpcap.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-libpcap.spec b/python-libpcap.spec
index 7949a22..82b9243 100644
--- a/python-libpcap.spec
+++ b/python-libpcap.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Python binding for the libpcap C library.
License: BSD license ; https://opensource.org/licenses/BSD-3-Clause
URL: https://pypi.org/project/libpcap/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4c/2a/fc8ba89a92026447852c76e26e2f79f01043ca2ad4f49aa092b60c58d503/libpcap-1.11.0b7.zip
+Source0: https://mirrors.aliyun.com/pypi/web/packages/4c/2a/fc8ba89a92026447852c76e26e2f79f01043ca2ad4f49aa092b60c58d503/libpcap-1.11.0b7.zip
BuildArch: noarch
Requires: python3-setuptools
@@ -52,20 +52,20 @@ 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
+ 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
+ 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
+ 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
+ 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
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -78,5 +78,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.11.0b7-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.11.0b7-1
- Package Spec generated