summaryrefslogtreecommitdiff
path: root/python-makenew-pypackage.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 10:19:01 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 10:19:01 +0000
commit3ad29ff9915e200492f07ef13e8d6743af539518 (patch)
tree4cefd225e9ad323fce016da19d4c770d04c39ff1 /python-makenew-pypackage.spec
parent9267cabe8b6b1c271db29b2460afa44286f6efb8 (diff)
automatic import of python-makenew-pypackageopeneuler20.03
Diffstat (limited to 'python-makenew-pypackage.spec')
-rw-r--r--python-makenew-pypackage.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-makenew-pypackage.spec b/python-makenew-pypackage.spec
index 810dbd0..73c948b 100644
--- a/python-makenew-pypackage.spec
+++ b/python-makenew-pypackage.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Package skeleton for a Python module.
License: MIT
URL: https://github.com/makenew/pypackage
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7a/42/d252373f6af41193ff72d13d7f7930fc7e6645b7f891b9c6bb6ae88c4735/makenew_pypackage-4.1.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/7a/42/d252373f6af41193ff72d13d7f7930fc7e6645b7f891b9c6bb6ae88c4735/makenew_pypackage-4.1.1.tar.gz
BuildArch: noarch
@@ -31,7 +31,7 @@ Provides: python3-makenew-pypackage-doc
Package skeleton for a Python module.
%prep
-%autosetup -n makenew-pypackage-4.1.1
+%autosetup -n makenew_pypackage-4.1.1
%build
%py3_build
@@ -45,20 +45,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 .
@@ -71,5 +71,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 4.1.1-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 4.1.1-1
- Package Spec generated