summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 21:17:07 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 21:17:07 +0000
commit821957160f247931b8effb9e3c251b934fe103d1 (patch)
tree5260b6568dc14aa3dc5d82850fe0b262811109a0
parentea879cb859843b86edd3d6b1f4e1a13179f4b696 (diff)
automatic import of python-qpt-generatoropeneuler20.03
-rw-r--r--python-qpt-generator.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-qpt-generator.spec b/python-qpt-generator.spec
index 5acad18..e7dc1d9 100644
--- a/python-qpt-generator.spec
+++ b/python-qpt-generator.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Question Paper Template Generator
License: MIT
URL: https://github.com/Niraj-Kamdar/qpt_generator
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c0/38/1fbb5213305467fdb47108d9401120feb81c0cec6108eaf945e51d8d3a88/qpt_generator-0.1.7.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/c0/38/1fbb5213305467fdb47108d9401120feb81c0cec6108eaf945e51d8d3a88/qpt_generator-0.1.7.tar.gz
%description
@@ -216,7 +216,7 @@ You can randomly select this kind of questions from your question bank database
Generation in Question Paper Generation System](https://ieeexplore.ieee.org/document/6557281?arnumber=6557281&tag=1)
%prep
-%autosetup -n qpt-generator-0.1.7
+%autosetup -n qpt_generator-0.1.7
%build
%py3_build
@@ -230,20 +230,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 .
@@ -256,5 +256,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.7-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.7-1
- Package Spec generated