summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 20:04:04 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 20:04:04 +0000
commit8cc14ae49acac5997960ffd46755a410bcc105dd (patch)
treef69ce0b0e8b8b728451bf8a0a00f72ad701fef14
parent90f599cef75eb2dcd3030703feaaddf1ce715480 (diff)
automatic import of python-rtml-coreopeneuler20.03
-rw-r--r--python-rtml-core.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-rtml-core.spec b/python-rtml-core.spec
index b4bcbd2..b1ff234 100644
--- a/python-rtml-core.spec
+++ b/python-rtml-core.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: For generating Resource Tag objects
License: MIT
URL: https://github.com/DeadMeme5441/RTMLCore
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f0/fd/5d9f79a29957fccec4e9d890737c6c68f9c4e36359757b30cca45790f596/rtml_core-0.2.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/f0/fd/5d9f79a29957fccec4e9d890737c6c68f9c4e36359757b30cca45790f596/rtml_core-0.2.2.tar.gz
BuildArch: noarch
@@ -28,7 +28,7 @@ Provides: python3-rtml-core-doc
%prep
-%autosetup -n rtml-core-0.2.2
+%autosetup -n rtml_core-0.2.2
%build
%py3_build
@@ -42,20 +42,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 .
@@ -68,5 +68,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.2-1
- Package Spec generated