summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-canuvit.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index bab2933..eb9939a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/canuvit-0.4.8.tar.gz
+/canuvit-0.4.9.tar.gz
diff --git a/python-canuvit.spec b/python-canuvit.spec
index cf7ad06..106b8fe 100644
--- a/python-canuvit.spec
+++ b/python-canuvit.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-canuvit
-Version: 0.4.8
+Version: 0.4.9
Release: 1
Summary: UVIT safety checks
License: Apache Software License
URL: https://github.com/prajwel/canuvit
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c3/e6/395b92fd4c8b45728c13c875a1fefb62bf7542ce4febf4733f4eae4b8718/canuvit-0.4.8.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/9c/b4/635b861242cc9072cd60e5834145c724a95c259f7b25d4b6a8e7d10ceedd/canuvit-0.4.9.tar.gz
BuildArch: noarch
Requires: python3-requests
@@ -35,7 +35,7 @@ Provides: python3-canuvit-doc
%prep
-%autosetup -n canuvit-0.4.8
+%autosetup -n canuvit-0.4.9
%build
%py3_build
@@ -49,20 +49,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 .
@@ -75,5 +75,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.8-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.9-1
- Package Spec generated
diff --git a/sources b/sources
index 11ee81a..f37c4da 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d7d93fe564d9975d7daf44ab426350a1 canuvit-0.4.8.tar.gz
+d19dcaf25b22836481578384b9832292 canuvit-0.4.9.tar.gz