summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 22:12:26 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 22:12:26 +0000
commitabf70b0e0e107745d2bf8c2a691abe4fb420bf4c (patch)
tree7aaba7d19266645341a0b4aba89849fbc1e220a1
parent43132825a226763d25c11524b419b88f77cccd26 (diff)
automatic import of python-faker-vehicleopeneuler20.03
-rw-r--r--python-faker-vehicle.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-faker-vehicle.spec b/python-faker-vehicle.spec
index cf84732..209ee38 100644
--- a/python-faker-vehicle.spec
+++ b/python-faker-vehicle.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Vehicle related Provider for the Faker Python package.
License: Apache License, Version 2.0
URL: https://github.com/kennethwsmith/faker_vehicle
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a3/f9/3432a540a3b6599b7365190df1030aaf93cb7c0113d2528b55511c6a48de/faker_vehicle-0.2.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/a3/f9/3432a540a3b6599b7365190df1030aaf93cb7c0113d2528b55511c6a48de/faker_vehicle-0.2.0.tar.gz
BuildArch: noarch
Requires: python3-faker
@@ -77,7 +77,7 @@ It provides vehicle and machinery related fake data for testing purposes:
* Machine Object (you can format)
%prep
-%autosetup -n faker-vehicle-0.2.0
+%autosetup -n faker_vehicle-0.2.0
%build
%py3_build
@@ -91,20 +91,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 .
@@ -117,5 +117,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0-1
- Package Spec generated