加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-Faker.spec 3.71 KB
一键复制 编辑 原始数据 按行查看 历史
nan 提交于 2024-10-24 10:44 . Update package to version 30.8.0-1
%global _empty_manifest_terminate_build 0
Name: python-faker
Version: 30.8.0
Release: 1
Summary: Faker is a Python package that generates fake data for you.
License: MIT
URL: https://github.com/joke2k/faker
Source0: https://files.pythonhosted.org/packages/86/45/528a560000078f33166300acc8b60e17129ce540962b573e8a28aa8bf4d9/faker-30.8.0.tar.gz
BuildArch: noarch
%description
Faker is a Python package that generates fake data for you.
%package -n python3-faker
Summary: Faker is a Python package that generates fake data for you.
Provides: python-faker = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-dateutil
Requires: python3-typing-extensions
%description -n python3-faker
Faker is a Python package that generates fake data for you.
%package help
Summary: Development documents and examples for Faker
Provides: python3-faker-doc
%description help
Faker is a Python package that generates fake data for you.
%prep
%autosetup -n faker-%{version}
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
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
fi
if [ -d usr/bin ]; then
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
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-faker -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Thu Oct 24 2024 Hann <hannannan@kylinos.cn> - 30.8.0-1
- Update package to version 30.8.0
- Update city names for uk_UA
- Fix issue where Faker does not properly convert min/max float values to Decimal
* Wed May 29 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 25.3.0-1
- Update package to version 25.3.0
- Fix wrong pricetag format in ru_RU locale
* Fri Feb 23 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 23.2.1-1
- Update package to version 23.2.1
- Add support for multiple file systems path rules
* Fri Nov 03 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 19.13.0-1
- Update package to verison 19.13.0
* Thu Sep 14 2023 chenyan <chenyan01@kylinos.cn> - 19.6.1-1
- Update package to verison 19.6.1
* Tue Aug 1 2023 sunhui <sunhui@kylinos.cn> - 19.2.0-1
- Update package to version 19.2.0
* Mon Jul 03 2023 chenzixuan <chenzixuan@kylinos.cn> - 18.11.2-1
- Update package to version 18.11.2
* Mon Jun 19 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 18.10.1-1
- Update package to version 18.10.1
* Mon Feb 27 2023 wubijie <wubijie@kylinos.cn> - 17.3.0-1
- Update package to version 17.3.0
* Fri Jan 06 2023 wangjunqi <wangjunqi@kylinos.cn> - 15.3.4-1
- Update package to version 15.3.4
* Thu Nov 10 2022 wangjunqi <wangjunqi@kylinos.cn> - 15.3.1-1
- Update package to version 15.3.1
* Fri Sep 30 2022 guozhengxin <guozhengxin@kylinos.cn> - 15.0.0-1
- Upgrade package to version 15.0.0
* Mon Jun 13 2022 chendexi <chendexi@kylinos.cn> - 5.6.1-2
- Remove the release suffix
* Mon Jun 28 2021 liliang <liliang@kylinos.cn> - 5.6.1-1
- Init project
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化