summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 02:45:07 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 02:45:07 +0000
commit0ceb2e2916719fae5b3299c4957c632a5fbb4dce (patch)
tree27ac0f2cb96472002805c051955442199ac84b7c
parentf6cec9c4d3033ad1defea4dc828a539d2160a883 (diff)
automatic import of python-django-ocs-observation-portalopeneuler20.03
-rw-r--r--python-django-ocs-observation-portal.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-django-ocs-observation-portal.spec b/python-django-ocs-observation-portal.spec
index ef956df..d4b7470 100644
--- a/python-django-ocs-observation-portal.spec
+++ b/python-django-ocs-observation-portal.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: The Observatory Control System (OCS) Observation Portal django apps
License: GPL-3.0-only
URL: https://observatorycontrolsystem.github.io
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b0/1c/360cb4fe4c088f6301d4e0acad7c110bbf21458715099c6343893aba250b/django_ocs_observation_portal-4.7.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/b0/1c/360cb4fe4c088f6301d4e0acad7c110bbf21458715099c6343893aba250b/django_ocs_observation_portal-4.7.1.tar.gz
BuildArch: noarch
Requires: python3-apscheduler
@@ -599,7 +599,7 @@ The observation portal should now be accessible from <http://127.0.0.1:8000>!
%prep
-%autosetup -n django-ocs-observation-portal-4.7.1
+%autosetup -n django_ocs_observation_portal-4.7.1
%build
%py3_build
@@ -613,20 +613,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 .
@@ -639,5 +639,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 4.7.1-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 4.7.1-1
- Package Spec generated