forked from pool/python-Faker
Accepting request 654047 from devel:languages:python
Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/request/show/654047 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Faker?expand=0&rev=7
This commit is contained in:
commit
8614afa8a3
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 4 12:47:53 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Remove superfluous devel dependency for noarch package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 17 04:08:11 UTC 2018 - arun@gmx.de
|
Wed Jan 17 04:08:11 UTC 2018 - arun@gmx.de
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -25,11 +25,18 @@ Release: 0
|
|||||||
Summary: Faker is a Python package that generates fake data
|
Summary: Faker is a Python package that generates fake data
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/F/Faker/Faker-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
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}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module email_validator >= 1.0.2}
|
BuildRequires: %{python_module email_validator >= 1.0.2}
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
@ -38,11 +45,6 @@ BuildRequires: %{python_module six}
|
|||||||
BuildRequires: %{python_module text-unidecode}
|
BuildRequires: %{python_module text-unidecode}
|
||||||
BuildRequires: python-ipaddress
|
BuildRequires: python-ipaddress
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: fdupes
|
|
||||||
Requires: python-email_validator >= 1.0.2
|
|
||||||
Requires: python-python-dateutil >= 2.4
|
|
||||||
Requires: python-six
|
|
||||||
Requires: python-text-unidecode
|
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Recommends: python-ipaddress
|
Recommends: python-ipaddress
|
||||||
Obsoletes: %{oldpython}-fake-factory < %{version}
|
Obsoletes: %{oldpython}-fake-factory < %{version}
|
||||||
@ -52,10 +54,6 @@ Provides: %{oldpython}-fake-factory = %{version}
|
|||||||
Obsoletes: python3-fake-factory < %{version}
|
Obsoletes: python3-fake-factory < %{version}
|
||||||
Provides: python3-fake-factory = %{version}
|
Provides: python3-fake-factory = %{version}
|
||||||
%endif
|
%endif
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -86,8 +84,8 @@ testing, and data anonymization from production services.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE.txt
|
||||||
%doc CHANGELOG.rst LICENSE.txt README.rst
|
%doc CHANGELOG.rst README.rst
|
||||||
%python_alternative %{_bindir}/faker
|
%python_alternative %{_bindir}/faker
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user