summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 09:37:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 09:37:28 +0000
commitef0223e4adcc15eac03467f9ddf5527c3daf63c5 (patch)
tree0e753dbfa436290ba09792404c47379eebbd8daf
parent85e9e371137485ab017a092ee75e8c2a203fe8e3 (diff)
automatic import of python-ixnetwork-open-traffic-generatoropeneuler20.03
-rw-r--r--python-ixnetwork-open-traffic-generator.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-ixnetwork-open-traffic-generator.spec b/python-ixnetwork-open-traffic-generator.spec
index 0bace09..9d42003 100644
--- a/python-ixnetwork-open-traffic-generator.spec
+++ b/python-ixnetwork-open-traffic-generator.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: The IxNetwork Open Traffic Generator Python Package
License: MIT
URL: https://github.com/open-traffic-generator
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3a/c1/5439d272fcb841544c24e4a83e223dcb4e4aa9939654402e22a94f545ee3/ixnetwork_open_traffic_generator-0.0.85.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/3a/c1/5439d272fcb841544c24e4a83e223dcb4e4aa9939654402e22a94f545ee3/ixnetwork_open_traffic_generator-0.0.85.tar.gz
BuildArch: noarch
Requires: python3-pyaml
@@ -230,7 +230,7 @@ while sum([p['frames_tx'] for p in api.get_port_results(request)]) != 10000:
%prep
-%autosetup -n ixnetwork-open-traffic-generator-0.0.85
+%autosetup -n ixnetwork_open_traffic_generator-0.0.85
%build
%py3_build
@@ -244,20 +244,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 .
@@ -270,5 +270,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.85-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.85-1
- Package Spec generated