forked from pool/python-Faker
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Faker?expand=0&rev=14
This commit is contained in:
parent
66e0f44eb9
commit
449a81878b
@ -25,10 +25,18 @@ Release: 0
|
||||
Summary: Faker is a Python package that generates fake data
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/joke2k/faker
|
||||
URL: https://github.com/joke2k/faker
|
||||
Source: https://files.pythonhosted.org/packages/source/F/Faker/Faker-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-email_validator >= 1.0.2
|
||||
Requires: python-python-dateutil >= 2.4
|
||||
Requires: python-six
|
||||
Requires: python-text-unidecode
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module email_validator >= 1.0.2}
|
||||
BuildRequires: %{python_module mock}
|
||||
@ -37,11 +45,6 @@ BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module text-unidecode}
|
||||
BuildRequires: python-ipaddress
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
Requires: python-email_validator >= 1.0.2
|
||||
Requires: python-python-dateutil >= 2.4
|
||||
Requires: python-six
|
||||
Requires: python-text-unidecode
|
||||
%ifpython2
|
||||
Recommends: python-ipaddress
|
||||
Obsoletes: %{oldpython}-fake-factory < %{version}
|
||||
@ -51,10 +54,6 @@ Provides: %{oldpython}-fake-factory = %{version}
|
||||
Obsoletes: python3-fake-factory < %{version}
|
||||
Provides: python3-fake-factory = %{version}
|
||||
%endif
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -85,8 +84,8 @@ testing, and data anonymization from production services.
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG.rst LICENSE.txt README.rst
|
||||
%license LICENSE.txt
|
||||
%doc CHANGELOG.rst README.rst
|
||||
%python_alternative %{_bindir}/faker
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user