加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-Faker.spec 2.95 KB
一键复制 编辑 原始数据 按行查看 历史
Jason_828e 提交于 2023-07-03 16:04 . Updated to latest version 18.11.2
%global _empty_manifest_terminate_build 0
Name: python-faker
Version: 18.11.2
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/c3/97/d7f0b25e181738b24e25092acc160bf30c682da6ab961e28f839a5f862b2/Faker-18.11.2.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
* 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 助手
尝试更多
代码解读
代码找茬
代码优化