summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 05:53:58 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 05:53:58 +0000
commit4aae322baf0e545d7ff267a655d80bf6cbef19f0 (patch)
treecb1c27bdb89d7f1cea97dbc028a2db7d1ac620f5
parent3a556078363067d15fd67cd0263166fec6eb74ef (diff)
automatic import of python-scikit-hep-testdataopeneuler20.03
-rw-r--r--python-scikit-hep-testdata.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-scikit-hep-testdata.spec b/python-scikit-hep-testdata.spec
index ee3d4b9..d2716cc 100644
--- a/python-scikit-hep-testdata.spec
+++ b/python-scikit-hep-testdata.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Example HEP files for testing and demonstrating
License: BSD-3-Clause
URL: https://github.com/scikit-hep/scikit-hep-testdata
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/38/bf/635e06b9579df8b94ac79ac45fd6f9e7fecfedcd385605ea7e5915090d1b/scikit_hep_testdata-0.4.31.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/38/bf/635e06b9579df8b94ac79ac45fd6f9e7fecfedcd385605ea7e5915090d1b/scikit_hep_testdata-0.4.31.tar.gz
BuildArch: noarch
Requires: python3-pyyaml
@@ -465,7 +465,7 @@ pytest
%prep
-%autosetup -n scikit-hep-testdata-0.4.31
+%autosetup -n scikit_hep_testdata-0.4.31
%build
%py3_build
@@ -479,20 +479,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 .
@@ -505,5 +505,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.31-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.31-1
- Package Spec generated