summaryrefslogtreecommitdiff
path: root/python-tuat-feed.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 17:36:02 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 17:36:02 +0000
commitd1a568d15e60a25ce9c8b8b5bf31029debe719e0 (patch)
tree2b973d99dec1cee371461174055f8794533186f7 /python-tuat-feed.spec
parent2190f442bb57c0c9dc613f5e0716df8db02443b1 (diff)
automatic import of python-tuat-feedopeneuler20.03
Diffstat (limited to 'python-tuat-feed.spec')
-rw-r--r--python-tuat-feed.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-tuat-feed.spec b/python-tuat-feed.spec
index fe68e66..48f6a00 100644
--- a/python-tuat-feed.spec
+++ b/python-tuat-feed.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Unofficial library for fetching the feed for TUAT
License: MIT
URL: https://github.com/pineapplehunter/tuat-feed
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c4/be/754a2df795538c0f784d89e66a1ecfe8563ffa3f06ba9059541888549aaa/tuat_feed-0.2.4.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/c4/be/754a2df795538c0f784d89e66a1ecfe8563ffa3f06ba9059541888549aaa/tuat_feed-0.2.4.tar.gz
BuildArch: noarch
Requires: python3-requests
@@ -104,7 +104,7 @@ Post(...)
%prep
-%autosetup -n tuat-feed-0.2.4
+%autosetup -n tuat_feed-0.2.4
%build
%py3_build
@@ -118,20 +118,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 .
@@ -144,5 +144,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.4-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.4-1
- Package Spec generated